PDA

View Full Version : From QPrinter to QTextDocument



kemp
24th November 2006, 12:40
Hi!

Is it possible to get the content that was painted on QPrinter into a QTextDocument
and how?

Thank you for your help.

jacek
24th November 2006, 15:44
You might try to paint something on QPixmap, add that pixmap to the document's resources using QTextDocument::addResource() and then use <img> tag to display it.