PHP Class Horde_Mime_Viewer_Msword, horde

Copyright 1999-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Anil Madhavapeddy ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_capability array This driver's display capabilities.

Public Methods

Method Description
__construct ( Horde_Mime_Part $part, array $conf = [] ) Constructor.

Protected Methods

Method Description
_convert ( string $type, string $mime ) : array Return the converted msword document.
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Mime_Part $part, array $conf = [] )
$part Horde_Mime_Part
$conf array Configuration for this driver: - location: (string) Location of the abiword binary.

_convert() protected method

Return the converted msword document.
protected _convert ( string $type, string $mime ) : array
$type string The document type (abiword 'to' argument).
$mime string The MIME type of the output.
return array See render().

_render() protected method

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
return array See parent::render().

Property Details

$_capability protected property

This driver's display capabilities.
protected array $_capability
return array