Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 5712

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- richtext.qdoc -->
<head>
  <title>Qt 4.6: Rich Text Processing</title>
  <link rel="next" href="richtext-structure.html" />
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><p>
[Next: <a href="richtext-structure.html">Rich Text Document Structure</a>]
</p>
<h1 class="title">Rich Text Processing<br /><span class="subtitle"></span>
</h1>
<p>The Scribe framework provides a set of classes for reading and manipulating structured rich text documents. Unlike previous rich text support in Qt, the new classes are centered around the <a href="qtextdocument.html">QTextDocument</a> class rather than raw textual information. This enables the developer to create and modify structured rich text documents without having to prepare content in an intermediate markup format.</p>
<p>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.</p>
<p>This document is divided up into chapters for convenient reference:</p>
<ul>
<li><a href="richtext-structure.html">Rich Text Document Structure</a> outlines the different kinds of elements in a <a href="qtextdocument.html">QTextDocument</a>, and describes how they are arranged in a document structure.</li>
<li><a href="richtext-cursor.html">The QTextCursor Interface</a> explains how rich text documents can be edited using the cursor-based interface.</li>
<li><a href="richtext-layouts.html">Document Layouts</a> briefly explains the role of document layouts.</li>
<li><a href="richtext-common-tasks.html">Common Rich Text Editing Tasks</a> examines some common tasks that involve reading or manipulating rich text documents.</li>
<li><a href="richtext-advanced-processing.html">Advanced Rich Text Processing</a> examines advanced rich text editing tasks.</li>
<li><a href="richtext-html-subset.html">Supported HTML Subset</a> lists the HTML tags supported by <a href="qtextdocument.html">QTextDocument</a>.</li>
</ul>
<a name="rich-text-processing-apis"></a>
<h3>Rich Text Processing APIs</h3>
<p>Qt provides an extensive collection of classes for parsing, rendering manipulating and editing rich text.</p>
<p><table width="100%" class="annotated" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><th><a href="qabstracttextdocumentlayout.html">QAbstractTextDocumentLayout</a></th><td>Abstract base class used to implement custom layouts for QTextDocuments</td></tr>
<tr valign="top" class="even"><th><a href="qfont.html">QFont</a></th><td>Specifies a font used for drawing text</td></tr>
<tr valign="top" class="odd"><th><a href="qplaintextdocumentlayout.html">QPlainTextDocumentLayout</a></th><td>Implements a plain text layout for QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qplaintextedit.html">QPlainTextEdit</a></th><td>Widget that is used to edit and display plain text</td></tr>
<tr valign="top" class="odd"><th><a href="qsyntaxhighlighter.html">QSyntaxHighlighter</a></th><td>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</td></tr>
<tr valign="top" class="even"><th><a href="qtextblock.html">QTextBlock</a></th><td>Container for text fragments in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextblockformat.html">QTextBlockFormat</a></th><td>Formatting information for blocks of text in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextblockgroup.html">QTextBlockGroup</a></th><td>Container for text blocks within a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextblockuserdata.html">QTextBlockUserData</a></th><td>Used to associate custom data with blocks of text</td></tr>
<tr valign="top" class="even"><th><a href="qtextbrowser.html">QTextBrowser</a></th><td>Rich text browser with hypertext navigation</td></tr>
<tr valign="top" class="odd"><th><a href="qtextcharformat.html">QTextCharFormat</a></th><td>Formatting information for characters in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextcursor.html">QTextCursor</a></th><td>Offers an API to access and modify QTextDocuments</td></tr>
<tr valign="top" class="odd"><th><a href="qtextdocument.html">QTextDocument</a></th><td>Holds formatted text that can be viewed and edited using a QTextEdit</td></tr>
<tr valign="top" class="even"><th><a href="qtextdocumentfragment.html">QTextDocumentFragment</a></th><td>Represents a piece of formatted text from a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextdocumentwriter.html">QTextDocumentWriter</a></th><td>Format-independent interface for writing a QTextDocument to files or other devices</td></tr>
<tr valign="top" class="even"><th><a href="qtextedit.html">QTextEdit</a></th><td>Widget that is used to edit and display both plain and rich text</td></tr>
<tr valign="top" class="odd"><th><a href="qtextformat.html">QTextFormat</a></th><td>Formatting information for a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextfragment.html">QTextFragment</a></th><td>Holds a piece of text in a QTextDocument with a single QTextCharFormat</td></tr>
<tr valign="top" class="odd"><th><a href="qtextframe.html">QTextFrame</a></th><td>Represents a frame in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextframeformat.html">QTextFrameFormat</a></th><td>Formatting information for frames in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextimageformat.html">QTextImageFormat</a></th><td>Formatting information for images in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextinlineobject.html">QTextInlineObject</a></th><td>Represents an inline object in a QTextLayout</td></tr>
<tr valign="top" class="odd"><th><a href="qtextlayout.html">QTextLayout</a></th><td>Used to lay out and paint a single paragraph of text</td></tr>
<tr valign="top" class="even"><th><a href="qtextlength.html">QTextLength</a></th><td>Encapsulates the different types of length used in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextline.html">QTextLine</a></th><td>Represents a line of text inside a QTextLayout</td></tr>
<tr valign="top" class="even"><th><a href="qtextlist.html">QTextList</a></th><td>Decorated list of items in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtextlistformat.html">QTextListFormat</a></th><td>Formatting information for lists in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextobject.html">QTextObject</a></th><td>Base class for different kinds of objects that can group parts of a QTextDocument together</td></tr>
<tr valign="top" class="odd"><th><a href="qtextoption.html">QTextOption</a></th><td>Description of general rich text properties</td></tr>
<tr valign="top" class="even"><th><a href="qtexttable.html">QTextTable</a></th><td>Represents a table in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtexttablecell.html">QTextTableCell</a></th><td>Represents the properties of a cell in a QTextTable</td></tr>
<tr valign="top" class="even"><th><a href="qtexttablecellformat.html">QTextTableCellFormat</a></th><td>Formatting information for table cells in a QTextDocument</td></tr>
<tr valign="top" class="odd"><th><a href="qtexttableformat.html">QTextTableFormat</a></th><td>Formatting information for tables in a QTextDocument</td></tr>
<tr valign="top" class="even"><th><a href="qtextframe-iterator.html">QTextFrame::iterator</a></th><td>Iterator for reading the contents of a QTextFrame</td></tr>
</table></p>
<p>
[Next: <a href="richtext-structure.html">Rich Text Document Structure</a>]
</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>