\app\common\controllerPDFConverter

Summary

Methods
Properties
Constants
__construct()
execute()
getPages()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setProperty()
convertProcess()
$com
N/A

Properties

$com

$com : 

Type

Methods

__construct()

__construct() 

need to install openoffice and run in the background soffice -headless-accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

execute()

execute(  $source,   $export) 

Execute PDF file(absolute path) conversion

Parameters

$source

[source file]

$export

[export file]

getPages()

getPages(  $pdf_path) : integer

Get the PDF pages

Parameters

$pdf_path

[absolute path]

Returns

integer

setProperty()

setProperty(  $name,   $value) 

Parameters

$name
$value

convertProcess()

convertProcess(  $source,   $export) 

Parameters

$source
$export