I don't have your answer. Could you point me to an explanation of how
what you're doing so far works? It looks very useful.
TIA
Joe
Antonio Gutiļæ½rrez Mayoral wrote:
Hi all.
I have a question about convert documents using OOo macros.
At the moment, I have a web app that converts from an OpenOffice.org
writer document to different document formats, like PDF, PS, HTML, DOC,
etc. I am using a shell script that calls different macros on command
line. These macros, convert the document passed as parameter to their
corresponding formats. The problem resides in the necessity to have a
fake X server to be able to execute the macros on command line:
/usr/bin/xvfb-run -n0 /usr/bin/ooffice -headless -invisible
'macro:///ConversionLibrary.Conversions.ConvertToPDF(%s)'
where %s represents the file to be converted, and 'xvfb-run' the script
that create a new display for execute the requested command. I would
like to know if there is a way to make these conversions without use the
X server (with OOo components, uno, etc.)
Thanks in advance.
Un saludo,
Antonio.
--
"Who are we? We find that we live on an insignificant planet of a humdrum star lost
in a galaxy tucked away in some forgotten corner of a universe in which there are far
more galaxies than people." --Carl Sagan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]