Importing *.doc,*.docx to Qt project
-
I am of no use in this area. However, did you already notice the examples for "ActiveX":http://doc.qt.nokia.com/4.7/qt-activex.html They could be a good start for you.
-
There are no ready-made widgets that will do exactly what you want. However, you're not completely lost. MS Word, AFAIK, allows you to embed a Word instance in another application via ActiveX/Com. You can use [[Doc:QAxWidget]] for that. If you are content with just opening Word itself, then this is much easier. You can get away with just using [[Doc:QDesktopServices]] for that.
-
There is a word viewer if you only want readonly access :
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4bq. With Word Viewer and the Compatibility Pack, you can view, print, and copy document contents to another program. However, you cannot edit an open document, save a document, or create a new document. This download is a replacement for Word Viewer 2003 and all previous Word Viewer versions.
NOTE: If you comply with the other license terms for the Word Viewer, you may distribute this viewer without a document created in Microsoft Office.Sounds like they have made it available to use in other programs. Hopefully the way Andre explained. haven't used it in Qt though.
-
My idea is, that you can not get a helpful answer to a question, if that question is not formulated in a way that makes the one you expect an answer from understands what your problem is. Try to be more specific in what the problem is, when asking for help. "This guide":http://www.catb.org/~esr/faqs/smart-questions.html may help you.
-
[quote author="manar_mk" date="1309424344"]@Eddy I need that function in the my project, not in other application.[/quote]
@mana_mk
I know of a program that is using the viewer (it's closed source). So it must be possible.
That's why i suggested to look into this. it's less overhead than using word. -
Calligra Suite is able to read MS Office files. Calligra (KOffice fork) is open source . You can extract the filters if you like.
http://www.calligra-suite.org/