useoffice and nooffice options in doc2any.exe application. How can doc2any.exe to determine MS Office, OpenOffice and without Office automatically?

Thank you - you have been extremely helpful!

Question: I have one last question. If an office suite is installed, will doc2any prefer the
office suite for the conversion, or it will default to the internal converter without office suite.

As doc2any has a command line option to prefer one or the other conversion (useoffice=1 or 0), I am wandering which one should be the preferred one, or whether doc2any will take care of this i.e. if office is installed it will use office conversion, otherwise it will use it's own conversion routine. I'm hoping it will be the last case, as then I do not have to worry about ever passing a 'useoffice' command line options.

If you could clarify this, I would be most thankful.

Customer
----------------------------------------------------------
>>Question: I have one last question. If an office suite is installed, will >>doc2any prefer the office suite for the conversion, or it will default to the >>internal converter without office suite.

Please add "-nooffice" option to stop doc2any.exe using the office installed in your system, e.g.,

doc2any.exe -nooffice D:\test.doc D:\out.pdf

>>As doc2any has a command line option to prefer one or the other conversion (useoffice=1 or 0), I am wandering which one should be the preferred one, or whether doc2any will take care of this i.e. if office is installed it will use office conversion, otherwise it will use it's own conversion routine. I'm hoping it will be the last case, as then I do not have to worry about ever passing a 'useoffice' command line options.
If you could clarify this, I would be most thankful.

If you want doc2any.exe to forget the Office suite completely, please use "-nooffice" parameter,

doc2any.exe -nooffice "C:\test.doc" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.docx" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.xls" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.xlsx" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.ppt" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.pptx" "C:\out.pdf"
doc2any.exe -nooffice "C:\test.doc" "C:\out.html"
doc2any.exe -nooffice "C:\test.docx" "C:\out.html"
doc2any.exe -nooffice "C:\test.xls" "C:\out.html"
doc2any.exe -nooffice "C:\test.xlsx" "C:\out.html"
doc2any.exe -nooffice "C:\test.ppt" "C:\out.html"
doc2any.exe -nooffice "C:\test.pptx" "C:\out.html"
doc2any.exe -nooffice "C:\test.docx" "C:\out.doc"

If you use "useoffice=1 or 0", MS Office will still be used for some internal conversion. So, "-nooffice" option is the best choose to forget the Office suite.

>>I am wandering which one should be the preferred one, or whether doc2any will take care of this i.e. if office is installed it will use office conversion, otherwise it will use it's own conversion routine.

You can simple forget the "useoffice" option, and run following command line,

doc2any.exe D:\test.doc D:\out.pdf

doc2any.exe will try by following steps,

1. Try to use MS Office to convert this DOC to PDF file, if fails, go to next step,
2. Try to use OpenOffice to convert this DOC to PDF file, if fails, go to next step,
3. Try to use ourself's DOC Render to convert this DOC to PDF file, if fails, print an error message to console,

If you don't use "useoffice" option, doc2any.exe will take care of everything automatically.

VeryDOC

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
useoffice and nooffice options in doc2any.exe application. How can doc2any.exe to determine MS Office, OpenOffice and without Office automatically?, 10.0 out of 10 based on 1 rating

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!