PHP Class Pimcore\Document\Adapter\Ghostscript

Inheritance: extends Pimcore\Document\Adapter
Mostrar archivo Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Property Type Description
$path string

Public Methods

Method Description
getGhostscriptCli ( ) : mixed
getPageCount ( ) : string
getPdf ( null $path = null ) : null | string
getPdftotextCli ( ) : mixed
getText ( null $page = null, null $path = null ) : boolean | string
isAvailable ( ) : boolean
isFileTypeSupported ( string $fileType ) : boolean
load ( $path )
saveImage ( $path, integer $page = 1, $resolution = 200 )

Method Details

getGhostscriptCli() public static method

public static getGhostscriptCli ( ) : mixed
return mixed

getPageCount() public method

public getPageCount ( ) : string
return string

getPdf() public method

public getPdf ( null $path = null ) : null | string
$path null
return null | string

getPdftotextCli() public static method

public static getPdftotextCli ( ) : mixed
return mixed

getText() public method

public getText ( null $page = null, null $path = null ) : boolean | string
$page null
$path null
return boolean | string

isAvailable() public method

public isAvailable ( ) : boolean
return boolean

isFileTypeSupported() public method

public isFileTypeSupported ( string $fileType ) : boolean
$fileType string
return boolean

load() public method

public load ( $path )
$path

saveImage() public method

public saveImage ( $path, integer $page = 1, $resolution = 200 )
$path
$page integer

Property Details

$path protected_oe property

protected string $path
return string