hello everybody! if i want to open file with the odp format using qt4.5? what can i do ?
where has the example for it ? ls someone has the experience about it?
thank you! wait for your relay!
hello everybody! if i want to open file with the odp format using qt4.5? what can i do ?
where has the example for it ? ls someone has the experience about it?
thank you! wait for your relay!
Last edited by sunnysun520; 13th May 2009 at 14:32.
please help me .....
Qt can't read Open Document files. You can use QDesktopServices::openUrl() to open it with a default application handling that file type in your system (which is OpenOffice or KOffice probably).
sunnysun520 (13th May 2009)
Thanks! but I find source code of reading odt file.
nobody koow?
I already told you - Qt doesn't handle Open Document files.
feel free to share any source code..we are all source code hungry people
ODP is not ODT. The latter is text, the former is mostly graphics. Unless you write your own parser for the xml that makes the ODP and creates a graphics scene from it, you won't make any progress. With ODT this is much simpler because Qt has native support for text documents but still the ODT converter you found probably converts only a small subset of ODT to QTextDocument.
Bookmarks