On 09/07/2012 05:51 AM, Mourad Hedfi wrote:
Hello everybody,
I've developped a Php application and I'm using the Writer of LibreOffice
3.5 to convert rtf document to pdf. The command is "libreoffice3.5
--headless -convert-to pdf
/var/www/Caneva/public/files/client/377/factures/1-789452012-0001.rtf
-outdir /var/www/Caneva/public/files/client/377/factures 2>&1"
The command works fine in the terminal, but when a call it from Php, it
throughts the following error : "terminate called after throwing an
instance of 'com::sun::star::uno::RuntimeException".
I'm on Linux Cent OS 6.0. Doe's anyone have an idea about this problem and
can help me to resolve it.
Many thank in advance.
Best regards.
Hi,
Please post the php code. Since it works fine in terminal, I would
expect there to be bug in the PHP code.
--
Jay Lozier
jslozier@gmail.com
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.