Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Export to PDF from commandline|
|Component:||ui||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Version:||OOo 1.1 Beta||Keywords:||oooqa, rfe_eval_ok|
|Issue Type:||FEATURE||Latest Confirmation in:||---|
Description petrbalas 2003-03-29 10:45:07 UTC
Please add commandline parametr for exporting given file to PDF. Something like soffice -exporttopdf file [pdf_file] This can be very usefull for batch conversion.
Comment 1 h.ilter 2003-04-01 08:25:55 UTC
This is already possible,if you have installed a pdf-driver as printer. Just type in the command line: soffice pt <printer> <file> But may you haven't such driver and want the same possibility from the function bar.
Comment 2 petrbalas 2003-04-01 10:22:56 UTC
PDF printer driver needs manually enter file name for PDF file. (I'm using PdfCreator from http://sourceforge.net/projects/pdfcreator/) So this is not suitable for batch operations.
Comment 3 eric.savary 2003-04-16 15:31:24 UTC
Set to "NEW"
Comment 4 Unknown 2003-07-01 05:25:09 UTC
I am using OO in an intranet and such command would be very useful for creating pdf views of OO files to be shown on line. I strongly recommend it.
Comment 5 flibby05 2004-10-04 18:29:27 UTC
This may help you in the meantime: "Experimental converter for OpenOffice.org documents", online version available at http://www.oooconv.de/engine/OOOconv.php?lang=en source code here: http://www.oooconv.de/engine/HowToConv.php?lang=en
Comment 6 flibby05 2004-10-08 11:38:29 UTC
removing oooqa keyword
Comment 7 lohmaier 2005-08-06 18:28:19 UTC
*** Issue 26823 has been marked as a duplicate of this issue. ***
Comment 8 lohmaier 2005-08-06 18:29:25 UTC
*** Issue 27478 has been marked as a duplicate of this issue. ***
Comment 9 lohmaier 2005-08-06 18:33:11 UTC
setting keywords, reassigning. Now that OOo has native-PDF export without the need for a PDF-"Printer" this request makes more sense...
Comment 10 lohmaier 2005-08-06 18:35:04 UTC
forgot to correct component. This is not only for writer...
Comment 11 treblig 2006-01-22 18:05:18 UTC
Can we generalise this to be it should be possible to export to any supported export form from the command line; Certainly you would want to be able to go from any OOo format to pdf, html - but why not just have an ooconvert which would take any supported file format (either native or importable) and any corresponding output format (native or exportable). That would certainly be a very useful feature.
Comment 12 lohmaier 2006-02-22 22:30:53 UTC
*** Issue 62082 has been marked as a duplicate of this issue. ***
Comment 13 yreveill 2006-02-23 16:22:46 UTC
I have the same ask :) -------- START http://qa.openoffice.org/issues/show_bug.cgi?id=62082 Hi, The use of OpenOffice in server environment (juste console) will be a good thing. At the moment, i understand that it is not possible to convert odt to pdf using openoffice without launch openoffice. the launch in silent mode is not the good methode because it necessite more ressources and a continualy launch. Why not propose to use the converter function simply as : soffice -convertfromconsole_oncetime -filter odt2pdf -s file.odt -d file.pdf -------- END Concerning treblig'post : the use of ooconvert require the opening of OpenOffice or i think with silent mode to make macro in OpenOffice before the conversion process. The goal here is not to open OpenOffice neither use ressources for open any OpenOffice interface in case of a production server. The idea is to simply convert a OpenOffice document to PDF using only the part of OpenOffice that can do that. After the installation of OpenOffice, just use a command like in a console mode : soffice -convertfromconsole_oncetime -filter odt2pdf -s file.odt -d file.pdf Thanks :)