PDA

View Full Version : How to read microsoft word file on linux using qt?



kwang
1st April 2011, 08:44
Hi Guys,
Is there a way to read .doc file using qt on linux?

Thanks you all in advance.

mcosta
1st April 2011, 10:15
I suggest you to use OpenOffice SDK.
Times ago I successfully tried it.
Isn't simple but you have access to all MS Office formats.

kwang
2nd April 2011, 08:06
Hi,
You mean I should use some function of openoffice lib?
Or Would you please say it more clear?
Thanks,

ChrisW67
3rd April 2011, 22:48
You mean I should use some function of openoffice lib?
Yes, assuming that your .doc file originated on Windows in Microsoft Word (The doc extension by itself doesn't tell us enough about what the file content actually is) and you want to do more than just read the bytes, then this will allow you to interpret the content of these files. Code for interpreting Microsoft Word files also exists in the Abiword source and probably KOffice.