0

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.

Bart
  • 19,692
  • 7
  • 68
  • 77

1 Answers1

1

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.

Community
  • 1
  • 1
Marcus Riemer
  • 7,244
  • 8
  • 51
  • 76