Reputation: 31
How can I read a Word (.doc) file in Qt? I want the text to appear formatted exactly like the Word document without any loss.
Upvotes: 0
Views: 2434
Reputation: 7688
Take a look at this Microsoft Knowledge Base article, it describes where the documentation for the ActiveX objects can be found. ActiveX Widgets can be accesed from Qt via the QAxWidget
, queries are issued using QAxBase::querySubObject()
.
Edit: And take a look at this answer. It adds some code samples to my answer.
Upvotes: 1