Ah Got it!
CD /D S:\ProgramFiles\LibreOfficePortable
LibreOfficePortable.exe --headless --convert-to PDF --outdir c:\temp
c:\document.rtf
On 12/26/2011 8:56 AM, Luuk wrote:
On 26-12-2011 14:31, Miros?aw Zalewski wrote:
On 26/12/2011 at 14:04, Luuk<luuk34@gmail.com> wrote:
Is however 'strange' that the options on a Windows computer need two
'--' (i.e. --headless), and on linux just need one '-' (i.e. -headless)
Should this not be more standardized?
As far as I remember, options for Windows command-line programs are delimited
by slash (e.g. del /f some_file).
So, either way, LO behavior is non-standard for Windows apps. But, on the
other hand, most of Windows users does not use terminal mode - those who do
perhaps have some experience with Linux shells as well.
You are right, so there are 2 options:
1) Do it the Windows-way, and make LO use the '/' for this stuff.
2) Do it the LO-way, and make sure the parameters are accepted the same
way on every implemented platform.
--
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
- Re: [libreoffice-users] Re: RTF to PDF Command Line (continued)
[libreoffice-users] Re: RTF to PDF Command Line · Andreas Säger
[libreoffice-users] Re: RTF to PDF Command Line · NoOp
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.