Hi :) I think on Windows you can "pipe" commands although it's a bit different from gnu&linux or bsd. I htink there is a way of piping output into a text-file but i don't know how. This might work tho
soffice.exe -? | more The | is not an L or i, on a UK keyboard it's between the left shift and the Z. On american keyboards and laptops its around the Enter key but i keep forgetting where. I think Windows command-line now allows you to repeat old commands by pressing the keyboard's up-arrow. I think the kind linux person's version of that quick-help thing is probably the same as the Windows version. Regards from Tom :) ________________________________ From: NoOp <[email protected]> To: [email protected] Sent: Fri, 24 June, 2011 22:31:20 Subject: [libreoffice-users] Re: Command line (convert) parameter(s) On 06/22/2011 02:33 AM, Stephan Zietsman wrote: ... > > On a second point, "soffice.exe -?" is a little tricky. Instead of > listing the available command parameters to the console, it opens up a > "Help Message..." window (this is in Windows7 x64). Not all of the > text fits into this window, and I can't scroll or resize the window. > So in all fairness, it is possible that the "-convert-to" parameter is > mentioned there, I just can't see it in the window. Does anyone know > how I can get the help info to display properly? Not sure about Windows, but here is the output of the '--help' command in linux. I suspect that the same commands are also available in Windows. /opt/libreoffice3.4/program/soffice --help LibreOffice 3.4 340m1(Build:101) Usage: soffice [options] [documents...] Options: --minimized keep startup bitmap minimized. --invisible no startup screen, no default document and no UI. --norestore suppress restart/restore after fatal errors. --quickstart starts the quickstart service --nologo don't show startup screen. --nolockcheck don't check for remote instances using the installation --nodefault don't start with an empty document --headless like invisible but no userinteraction at all. --help/-h/-? show this message and exit. --version display the version information. --writer create new text document. --calc create new spreadsheet document. --draw create new drawing. --impress create new presentation. --base create new database. --math create new formula. --global create new global document. --web create new HTML document. -o open documents regardless whether they are templates or not. -n always open documents as new files (use as template). --display <display> Specify X-Display to use in Unix/X11 versions. -p <documents...> print the specified documents on the default printer. --pt <printer> <documents...> print the specified documents on the specified printer. --view <documents...> open the specified documents in viewer-(readonly-)mode. --show <presentation> open the specified presentation and start it immediately --accept=<accept-string> Specify an UNO connect-string to create an UNO acceptor through which other programs can connect to access the API --unaccept=<accept-string> Close an acceptor that was created with -accept=<accept-string> Use -unnaccept=all to close all open acceptors --infilter=<filter> Force an input filter type if possible Eg. -infilter="Calc Office Open XML" --convert-to output_file_extension[:output_filter_name] [-outdir ouput_dir] files Batch convert files. If -outdir is not specified then current working dir is used as output_dir. Eg. -convert-to pdf *.doc -convert-to pdf:writer_pdf_Export -outdir /home/user *.doc --print-to-file [-printer-name printer_name] [-outdir ouput_dir] files Batch print files to file. If -outdir is not specified then current working dir is used as output_dir. Eg. -print-to-file *.doc -print-to-file -printer-name nasty_lowres_printer -outdir /home/user *.doc Remaining arguments will be treated as filenames or URLs of documents to open. -- Unsubscribe instructions: E-mail to [email protected] In case of problems unsubscribing, write to [email protected] 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 -- Unsubscribe instructions: E-mail to [email protected] In case of problems unsubscribing, write to [email protected] 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
