Forum


Replies: 2   Views: 3133
Conversion
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 11-04-2013 - 12:13

Hello,

Just follow these steps:

1. Start openoffice:

$ soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

2. Create an object that instantiate CreateDocx and invoke transformDocx method.

For example:

[quote]----------------------------------------------------
$docx = new CreateDocx();
$docx->transformDocx('doc_from', 'doc_to');
----------------------------------------------------[/quote]

Regards.