PDA

View Full Version : print to pdf a doc file



rmagro
30th January 2009, 12:38
Hi Guys,

Is it possible using Qt to load a Windows .doc file and then print it to a pdf file?

printer.setOutputFormat(QPrinter::PdfFormat);
printer.setOutputFileName(fileName.pdf);

If so, which version of Qt can load (and then print to pdf) doc files

Thank you in advance,,

Roby

jpn
30th January 2009, 14:32
No, Qt has nothing to with Microsoft's .doc files.

lyuts
31st January 2009, 10:43
And what about OpenOffice's ODF? Does Qt know how to work with it? Thanks.

seneca
31st January 2009, 10:53
4.5 will be able to write ODF, so I think it is safe to assume it can also be read:

http://doc.trolltech.com/qq/qq27-odfwriter.html

wysota
31st January 2009, 12:39
No, Qt 4.5 won't read ODF files.