In this chapter we will review three different approaches to creating rich text documents, and we will see how to export such documents in a variety of standard formats and also how to print them.* This chapter assumes a basic familiarity with
QTextDocument, as covered in the first section of the previous chapter (318 ). The three approaches we will use are, first, populating a
QTextDocument with raw HTML, second, populating a
QTextDocument using a
QTextCursor, and third, painting a document with ...