user1603594
user1603594

Reputation: 31

Reading a MS Word file in Qt

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

Answers (1)

Marcus Riemer
Marcus Riemer

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

Related Questions