CopperSpice API  1.9.1
Rich Text Processing

Description about classes for processing formatted text. More...

Classes

class  QAbstractTextDocumentLayout
 An abstract base class used to implement custom layouts for QTextDocument More...
 
class  QPlainTextEdit
 Widget which is used to edit and display plain text More...
 
class  QSyntaxHighlighter
 QSyntaxHighlighter class provides a mechanism for defining highlighting rules More...
 
class  QTextBlock
 Container for text fragments in a QTextDocument More...
 
class  QTextBlockFormat
 Formatting information for blocks of text in a QTextDocument More...
 
class  QTextBlockGroup
 Container for text blocks within a QTextDocument More...
 
class  QTextBlockUserData
 Used to associate custom data with blocks of text More...
 
class  QTextBrowser
 Rich text browser with hypertext navigation More...
 
class  QTextCharFormat
 Formatting information for characters in a QTextDocument More...
 
class  QTextCursor
 Offers an API to access and modify QTextDocuments More...
 
class  QTextDocument
 Holds formatted text that can be viewed and edited using a QTextEdit More...
 
class  QTextDocumentFragment
 Piece of formatted text from a QTextDocument More...
 
class  QTextDocumentWriter
 Provides a format-independent interface for writing a QTextDocument to files or other devices More...
 
class  QTextEdit
 Widget that is used to edit and display both plain and rich text More...
 
class  QTextFormat
 Formatting information for a QTextDocument More...
 
class  QTextFragment
 Holds a piece of text in a QTextDocument with a single QTextCharFormat More...
 
class  QTextFrame
 Frame in a QTextDocument More...
 
class  QTextFrameFormat
 Formatting information for frames in a QTextDocument More...
 
class  QTextImageFormat
 Formatting information for images in a QTextDocument More...
 
class  QTextInlineObject
 Represents an inline object in a QTextLayout More...
 
class  QTextLayout
 Used to lay out and render text More...
 
class  QTextLength
 Encapsulates the different types of length used in a QTextDocument More...
 
class  QTextLine
 Line of text inside a QTextLayout More...
 
class  QTextList
 Decorated list of items in a QTextDocument More...
 
class  QTextListFormat
 Formatting information for lists in a QTextDocument More...
 
class  QTextObject
 Base class for different kinds of objects that can group parts of a QTextDocument together More...
 
class  QTextOption
 Description of general rich text properties More...
 
class  QTextTable
 Table in a QTextDocument More...
 
class  QTextTableCell
 Properties of a cell in a QTextTable More...
 
class  QTextTableCellFormat
 Formatting information for table cells in a QTextDocument More...
 
class  QTextTableFormat
 Formatting information for tables in a QTextDocument More...
 

Detailed Description

This is a set of classes for reading, displaying, and editing rich text documents. The text support classes are centered around the QTextDocument class. This enables the developer to create and modify rich text documents without having to prepare content in a markup format.

The information within a document can be accessed via two complementary interfaces: A cursor-based interface is used for editing, and a read-only hierarchical interface provides a high level overview of the document structure. The main advantage of the cursor-based interface is that the text can be edited using operations that mimic a user's interaction with an editor, without losing the underlying structure of the document. The read-only hierarchical interface is most useful when performing operations such as searching and document export.

This document is divided up into chapters for convenient reference:

Rich Text Processing

CopperSpice provides an extensive collection of classes for parsing, rendering manipulating, and editing rich text.