Add feature; export to pdf from the command line
author Thomas Zander
()
committer Thomas Zander
()
commit 4a3af9d3ec6dde0bd273031cdb04daf84ba8af06
tree 9a85e1427ce573cad143bcb59f5c3859c412daef
parent cf991baea1b0247d75462170bd58c72bb615e8ea
Add feature; export to pdf from the command line
BUG:89874

Patch from; Ganesh Paramasivam <ganesh@crystalfab.com>

There are two new command line options;
--export-pdf Only export to PDF and exit
--export-filename <filename> Filename for export-pdf

Together it allows you to start any koffice application and get it to write a PDF
and exit immediately after. So no user interaction at all :)
At this time the --export-filename feature only makes sense if you pass exactly
one document to be opened.

svn path=/trunk/koffice/; revision=947939
libs/main/KoApplication.cpp
libs/main/KoMainWindow.cpp
libs/main/KoMainWindow.h