<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- richtext.qdoc --> <title>Rich Text Processing APIs | Qt GUI 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtgui-index.html">Qt GUI</a></td><td >Rich Text Processing APIs</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Rich Text Processing APIs</h1> <span class="subtitle"></span> <!-- $$$richtext-processing-description --> <div class="descr"> <a name="details"></a> </div> <!-- @@@richtext-processing --> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="qabstracttextdocumentlayout.html">QAbstractTextDocumentLayout</a></p></td><td class="tblDescr"><p>Abstract base class used to implement custom layouts for QTextDocuments</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qfont.html">QFont</a></p></td><td class="tblDescr"><p>Specifies a font used for drawing text</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="../qtwidgets/qplaintextdocumentlayout.html">QPlainTextDocumentLayout</a></p></td><td class="tblDescr"><p>Implements a plain text layout for QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="../qtwidgets/qplaintextedit.html">QPlainTextEdit</a></p></td><td class="tblDescr"><p>Widget that is used to edit and display plain text</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsyntaxhighlighter.html">QSyntaxHighlighter</a></p></td><td class="tblDescr"><p>Allows you to define syntax highlighting rules, and in addition you can use the class to query a document's current formatting or user data</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextblock.html">QTextBlock</a></p></td><td class="tblDescr"><p>Container for text fragments in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextblockformat.html">QTextBlockFormat</a></p></td><td class="tblDescr"><p>Formatting information for blocks of text in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextblockgroup.html">QTextBlockGroup</a></p></td><td class="tblDescr"><p>Container for text blocks within a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextblockuserdata.html">QTextBlockUserData</a></p></td><td class="tblDescr"><p>Used to associate custom data with blocks of text</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="../qtwidgets/qtextbrowser.html">QTextBrowser</a></p></td><td class="tblDescr"><p>Rich text browser with hypertext navigation</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextcharformat.html">QTextCharFormat</a></p></td><td class="tblDescr"><p>Formatting information for characters in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextcursor.html">QTextCursor</a></p></td><td class="tblDescr"><p>Offers an API to access and modify QTextDocuments</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextdocument.html">QTextDocument</a></p></td><td class="tblDescr"><p>Holds formatted text</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextdocumentfragment.html">QTextDocumentFragment</a></p></td><td class="tblDescr"><p>Represents a piece of formatted text from a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextdocumentwriter.html">QTextDocumentWriter</a></p></td><td class="tblDescr"><p>Format-independent interface for writing a QTextDocument to files or other devices</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="../qtwidgets/qtextedit.html">QTextEdit</a></p></td><td class="tblDescr"><p>Widget that is used to edit and display both plain and rich text</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextformat.html">QTextFormat</a></p></td><td class="tblDescr"><p>Formatting information for a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextfragment.html">QTextFragment</a></p></td><td class="tblDescr"><p>Holds a piece of text in a QTextDocument with a single QTextCharFormat</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextframe.html">QTextFrame</a></p></td><td class="tblDescr"><p>Represents a frame in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextframeformat.html">QTextFrameFormat</a></p></td><td class="tblDescr"><p>Formatting information for frames in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextimageformat.html">QTextImageFormat</a></p></td><td class="tblDescr"><p>Formatting information for images in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextinlineobject.html">QTextInlineObject</a></p></td><td class="tblDescr"><p>Represents an inline object in a QAbstractTextDocumentLayout and its implementations</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextlayout.html">QTextLayout</a></p></td><td class="tblDescr"><p>Used to lay out and render text</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextlength.html">QTextLength</a></p></td><td class="tblDescr"><p>Encapsulates the different types of length used in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextline.html">QTextLine</a></p></td><td class="tblDescr"><p>Represents a line of text inside a QTextLayout</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextlist.html">QTextList</a></p></td><td class="tblDescr"><p>Decorated list of items in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextlistformat.html">QTextListFormat</a></p></td><td class="tblDescr"><p>Formatting information for lists in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextobject.html">QTextObject</a></p></td><td class="tblDescr"><p>Base class for different kinds of objects that can group parts of a QTextDocument together</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextoption.html">QTextOption</a></p></td><td class="tblDescr"><p>Description of general rich text properties</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtexttable.html">QTextTable</a></p></td><td class="tblDescr"><p>Represents a table in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtexttablecell.html">QTextTableCell</a></p></td><td class="tblDescr"><p>Represents the properties of a cell in a QTextTable</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtexttablecellformat.html">QTextTableCellFormat</a></p></td><td class="tblDescr"><p>Formatting information for table cells in a QTextDocument</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtexttableformat.html">QTextTableFormat</a></p></td><td class="tblDescr"><p>Formatting information for tables in a QTextDocument</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qtextframe-iterator.html">QTextFrame::iterator</a></p></td><td class="tblDescr"><p>Iterator for reading the contents of a QTextFrame</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtextblock-iterator.html">QTextBlock::iterator</a></p></td><td class="tblDescr"><p>QTextBlock::iterator class provides an iterator for reading the contents of a QTextBlock</p></td></tr> </table></div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>