On Nov 28, 2016, at 11:24 AM, Cley Faye <cleyfaye@gmail.com> wrote:
2016-11-28 16:55 GMT+01:00 Paquin, Brian <brian.paquin@yale.edu>:
The initial conversion is about 5-10 seconds.
If we process a second document (all RTFs about the same), it is less than
a second.
If we then wait a couple minutes and process a third document, it goes
back to the 5-10 seconds...
To me, it sounds like libreoffice just shut down when it have nothing to
do, and so needs to start up again.
Depending on the way you do this, you could fiddle with the --accept option
to keep LibreOffice listening, or pre-start it with --invisible, keeping it
open.
The --invisible flag did not work.
It opens LibreOffice (can be seen in the Dock (Mac)).
But when I use the soffice command, it does not perform the conversion.
(We get the same behavior if we open LibreOffice from the gui and then run the command)
I was able to use some examples I found to get --accept running, but I don’t know what to do next...
/Applications/LibreOffice.app/Contents/MacOS/soffice
"--accept=socket,host=127.0.0.1,port=2003,tcpNoDelay=1;urp;" --headless --nodefault
--nofirststartwizard --nolockcheck --nologo --norestore
I see LibreOffice in the Dock, and I can telnet to localhost 2003...
/Applications/LibreOffice.app/Contents/MacOS/soffice --convert-to pdf
/Users/itsme/Desktop/testOpNote1.rtf produces a brief 2nd LibreOffice in the Dock, but no PDF is
created...
What command should I use once LibreOffice is running to get the convert-to flag to function (it
only seems to work if LibreOffice is NOT running)?
Thank you,
Brian
--
To unsubscribe e-mail to: users+unsubscribe@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.