Hi,
I am using Qt 4.5.3 and Windows XP. I need my application to generate documents that contains the information that is being used and generated. The information that is being used will be just strings (QString
to be more specific) and the information that is being generated will be strings and images as well.
I want documents to be a MS word document (.doc
) or can be an Open Document Format (.odt
) Also I want the documents to be formatted with fonts,images, tables of data, some background colors and all.
I have done the creation PDF files using QTextDocument
, QTextCursor
and QPrinter
. But when I tried to apply the same QTextDocument
for odt, I ended up with just format error.
Is there a way to generate such documents using any other libraries that use C++? How you guys use to generate such documents (.odt/.doc) in C++? Any pointers, links, examples regarding this are welcome.