Qt 4.8
|
#include <qtextdocument_p.h>
Public Types | |
typedef QFragmentMap< QTextBlockData > | BlockMap |
enum | FormatChangeMode { MergeFormat, SetFormat, SetFormatAndPreserveObjectIndices } |
typedef FragmentMap::ConstIterator | FragmentIterator |
typedef QFragmentMap< QTextFragmentData > | FragmentMap |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Functions | |
static const QTextBlockData * | block (const QTextBlock &it) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Private Functions | |
void | adjustDocumentChangesAndCursors (int from, int addedOrRemoved, QTextUndoCommand::Operation op) |
void | appendUndoItem (const QTextUndoCommand &c) |
void | compressPieceTable () |
void | contentsChanged () |
int | insert_block (int pos, uint strPos, int format, int blockformat, QTextUndoCommand::Operation op, int command) |
void | insert_frame (QTextFrame *f) |
void | insert_string (int pos, uint strPos, uint length, int format, QTextUndoCommand::Operation op) |
QTextDocumentPrivate & | operator= (const QTextDocumentPrivate &m) |
QTextDocumentPrivate (const QTextDocumentPrivate &m) | |
int | remove_block (int pos, int *blockformat, int command, QTextUndoCommand::Operation op) |
int | remove_string (int pos, uint length, QTextUndoCommand::Operation op) |
void | scan_frames (int pos, int charsRemoved, int charsAdded) |
bool | split (int pos) |
bool | unite (uint f) |
Static Private Functions | |
static void | clearFrame (QTextFrame *f) |
Properties | |
BlockMap | blocks |
QMap< QUrl, QVariant > | cachedResources |
QList< QTextCursorPrivate * > | cursors |
QString | defaultStyleSheet |
int | docChangeFrom |
int | docChangeLength |
int | docChangeOldLength |
int | editBlock |
int | editBlockCursorPosition |
QTextFormatCollection | formats |
FragmentMap | fragments |
bool | framesDirty |
int | initialBlockCharFormatIndex |
int | lastBlockCount |
QAbstractTextDocumentLayout * | lout |
bool | modified |
int | modifiedState |
QMap< int, QTextObject * > | objects |
QMap< QUrl, QVariant > | resources |
int | revision |
QTextFrame * | rtFrame |
QString | text |
bool | undoEnabled |
QVector< QTextUndoCommand > | undoStack |
int | undoState |
uint | unreachableCharacterCount |
bool | wasRedoAvailable |
bool | wasUndoAvailable |
Friends | |
class | QTextCursor |
class | QTextHtmlExporter |
Definition at line 163 of file qtextdocument_p.h.
Definition at line 169 of file qtextdocument_p.h.
Definition at line 168 of file qtextdocument_p.h.
Definition at line 167 of file qtextdocument_p.h.
Enumerator | |
---|---|
MergeFormat | |
SetFormat | |
SetFormatAndPreserveObjectIndices |
Definition at line 193 of file qtextdocument_p.h.
QTextDocumentPrivate::QTextDocumentPrivate | ( | ) |
Definition at line 185 of file qtextdocument_p.cpp.
QTextDocumentPrivate::~QTextDocumentPrivate | ( | ) |
Definition at line 290 of file qtextdocument_p.cpp.
|
private |
void QTextDocumentPrivate::aboutToRemoveCell | ( | int | cursorFrom, |
int | cursorEnd | ||
) |
This method is called from QTextTable when it is about to remove a table-cell to allow cursors to update their selection.
Definition at line 1733 of file qtextdocument_p.cpp.
Referenced by QTextTable::removeColumns(), and QTextTable::removeRows().
|
inline |
Definition at line 282 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::QTextCursorPrivate().
|
private |
Definition at line 1281 of file qtextdocument_p.cpp.
Referenced by insert_block(), insert_string(), remove_block(), and remove_string().
void QTextDocumentPrivate::appendUndoItem | ( | QAbstractUndoItem * | item | ) |
Appends a custom undo item to the undo stack.
Definition at line 1037 of file qtextdocument_p.cpp.
Referenced by changeObjectFormat(), insert(), insertBlock(), move(), setBlockFormat(), and setCharFormat().
|
private |
Definition at line 1058 of file qtextdocument_p.cpp.
|
inline |
Definition at line 218 of file qtextdocument_p.h.
|
inline |
Definition at line 217 of file qtextdocument_p.h.
|
inline |
Definition at line 229 of file qtextdocument_p.h.
Referenced by plainText(), scan_frames(), and QTextOdfWriter::writeAll().
|
inline |
Definition at line 206 of file qtextdocument_p.h.
Referenced by QTextCursor::beginEditBlock(), changeObjectFormat(), QTextCursorPrivate::clearCells(), QTextTablePrivate::createTable(), ensureMaximumBlockCount(), QTextDocumentFragmentPrivate::insert(), insertBlock(), QTextCursor::insertBlock(), QTextTable::insertColumns(), QTextCursor::insertFragment(), insertFrame(), QTextCursor::insertImage(), QTextTable::insertRows(), QTextCursor::insertText(), joinPreviousEditBlock(), QTextTable::mergeCells(), QTextDocumentFragmentPrivate::QTextDocumentFragmentPrivate(), QTextCursorPrivate::remove(), QTextTable::removeColumns(), removeFrame(), QTextTable::removeRows(), QTextCursor::removeSelectedText(), QTextCursorPrivate::setBlockCharFormat(), QTextCursorPrivate::setBlockFormat(), setBlockFormat(), QTextCursorPrivate::setCharFormat(), setCharFormat(), QTextTable::splitCell(), and undoRedo().
|
inlinestatic |
Definition at line 244 of file qtextdocument_p.h.
Referenced by setBlockFormat(), setCharFormat(), and undoRedo().
int QTextDocumentPrivate::blockCharFormatIndex | ( | int | node | ) | const |
Definition at line 1351 of file qtextdocument_p.cpp.
Referenced by QTextCursor::charFormat().
|
inline |
Definition at line 239 of file qtextdocument_p.h.
Referenced by QTextTableCell::begin(), QTextFrame::begin(), QTextCursorPrivate::block(), QTextCursor::charFormat(), QTextTableCell::end(), QTextFrame::end(), QTextDocumentLayoutPrivate::frameIteratorForTextPosition(), QTextFrame::iterator::operator++(), QTextFrame::iterator::operator--(), QTextTable::splitCell(), and QTextOdfWriter::writeAll().
|
inline |
Definition at line 241 of file qtextdocument_p.h.
|
inline |
Definition at line 232 of file qtextdocument_p.h.
Referenced by QTextCopyHelper::appendFragment(), and QTextCursorPrivate::movePosition().
|
inline |
Definition at line 233 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::movePosition().
|
inline |
Definition at line 234 of file qtextdocument_p.h.
Referenced by QTextCopyHelper::appendFragment(), QTextCopyHelper::copy(), leftCursorPosition(), QTextCursorPrivate::movePosition(), nextCursorPosition(), previousCursorPosition(), rightCursorPosition(), setBlockCharFormatHelper(), QTextCursorPrivate::setBlockFormat(), setCharFormat(), and undoRedo().
|
inline |
Definition at line 220 of file qtextdocument_p.h.
Referenced by QTextCursor::deletePreviousChar(), QTextHtmlExporter::emitBlock(), QTextFrame::iterator::operator++(), QTextFrame::iterator::operator--(), and QTextCursor::selectedText().
void QTextDocumentPrivate::changeObjectFormat | ( | QTextObject * | group, |
int | format | ||
) |
Definition at line 1401 of file qtextdocument_p.cpp.
Referenced by undoRedo().
void QTextDocumentPrivate::clear | ( | ) |
Definition at line 236 of file qtextdocument_p.cpp.
|
staticprivate |
Definition at line 1464 of file qtextdocument_p.cpp.
Referenced by scan_frames().
void QTextDocumentPrivate::clearUndoRedoStacks | ( | QTextDocument::Stacks | stacksToClear, |
bool | emitSignals = false |
||
) |
Definition at line 1099 of file qtextdocument_p.cpp.
Referenced by appendUndoItem(), clear(), enableUndoRedo(), and ~QTextDocumentPrivate().
|
private |
Definition at line 1657 of file qtextdocument_p.cpp.
Referenced by enableUndoRedo(), ensureMaximumBlockCount(), and finishEdit().
|
private |
Definition at line 1642 of file qtextdocument_p.cpp.
Referenced by finishEdit().
QTextObject * QTextDocumentPrivate::createObject | ( | const QTextFormat & | newFormat, |
int | objectIndex = -1 |
||
) |
Definition at line 1623 of file qtextdocument_p.cpp.
Referenced by QTextCursor::createList(), QTextTablePrivate::createTable(), insertFrame(), QTextCursor::insertImage(), objectForIndex(), and rootFrame().
|
inline |
Definition at line 256 of file qtextdocument_p.h.
void QTextDocumentPrivate::deleteObject | ( | QTextObject * | object | ) |
Definition at line 1635 of file qtextdocument_p.cpp.
Referenced by QTextBlockGroup::blockRemoved().
|
inline |
Definition at line 295 of file qtextdocument_p.h.
Referenced by appendUndoItem(), createObject(), QTextCursor::document(), endEditBlock(), QTextCursor::insertHtml(), and QTextCursor::insertImage().
|
inline |
Definition at line 296 of file qtextdocument_p.h.
void QTextDocumentPrivate::documentChange | ( | int | from, |
int | length | ||
) |
Definition at line 1257 of file qtextdocument_p.cpp.
Referenced by changeObjectFormat(), setBlockFormat(), setCharFormat(), and undoRedo().
void QTextDocumentPrivate::emitRedoAvailable | ( | bool | available | ) |
Definition at line 1150 of file qtextdocument_p.cpp.
Referenced by appendUndoItem(), clearUndoRedoStacks(), enableUndoRedo(), and undoRedo().
void QTextDocumentPrivate::emitUndoAvailable | ( | bool | available | ) |
Definition at line 1141 of file qtextdocument_p.cpp.
Referenced by appendUndoItem(), clearUndoRedoStacks(), enableUndoRedo(), and undoRedo().
void QTextDocumentPrivate::enableUndoRedo | ( | bool | enable | ) |
Definition at line 1159 of file qtextdocument_p.cpp.
|
inline |
Definition at line 230 of file qtextdocument_p.h.
Referenced by documentChange(), insert_frame(), move(), nextCursorPosition(), plainText(), removeFrame(), scan_frames(), setBlockFormat(), and QTextOdfWriter::writeAll().
void QTextDocumentPrivate::endEditBlock | ( | ) |
Definition at line 1184 of file qtextdocument_p.cpp.
Referenced by changeObjectFormat(), QTextCursorPrivate::clearCells(), QTextTablePrivate::createTable(), QTextCursor::endEditBlock(), ensureMaximumBlockCount(), QTextDocumentFragmentPrivate::insert(), insertBlock(), QTextCursor::insertBlock(), QTextTable::insertColumns(), QTextCursor::insertFragment(), insertFrame(), QTextCursor::insertImage(), QTextTable::insertRows(), QTextCursor::insertText(), QTextTable::mergeCells(), QTextDocumentFragmentPrivate::QTextDocumentFragmentPrivate(), QTextCursorPrivate::remove(), QTextTable::removeColumns(), removeFrame(), QTextTable::removeRows(), QTextCursor::removeSelectedText(), QTextCursorPrivate::setBlockCharFormat(), QTextCursorPrivate::setBlockFormat(), setBlockFormat(), QTextCursorPrivate::setCharFormat(), setCharFormat(), QTextTable::splitCell(), and undoRedo().
bool QTextDocumentPrivate::ensureMaximumBlockCount | ( | ) |
Definition at line 1705 of file qtextdocument_p.cpp.
Referenced by finishEdit().
|
inline |
Definition at line 228 of file qtextdocument_p.h.
Referenced by QAbstractTextDocumentLayout::anchorAt(), QPlainTextEdit::anchorAt(), QTextCopyHelper::appendFragment(), QTextCursorPrivate::canDelete(), QTextCursor::charFormat(), QTextCursor::deletePreviousChar(), QTextHtmlExporter::emitBlock(), QAbstractTextDocumentLayout::format(), QAbstractTextDocumentLayout::formatIndex(), QTextEngine::formatIndex(), getText(), insertFrame(), move(), QTextFrame::iterator::operator++(), QTextFrame::iterator::operator--(), and undoRedo().
void QTextDocumentPrivate::finishEdit | ( | ) |
Definition at line 1204 of file qtextdocument_p.cpp.
Referenced by endEditBlock(), insert(), move(), QTextCursorPrivate::remove(), and remove().
|
inline |
Definition at line 224 of file qtextdocument_p.h.
Referenced by QAbstractTextDocumentLayout::anchorAt(), QPlainTextEdit::anchorAt(), QTextCopyHelper::appendFragment(), QTextCursorPrivate::canDelete(), QTextCursor::charFormat(), QTextCopyHelper::convertFormat(), QTextCopyHelper::convertFormatIndex(), QTextCopyHelper::copy(), QTextTablePrivate::createTable(), QTextTableCell::format(), QAbstractTextDocumentLayout::format(), QTextCursorPrivate::insertBlock(), QTextTable::insertColumns(), QTextCursor::insertImage(), QTextTable::insertRows(), QTextCursor::insertText(), QTextTable::mergeCells(), QTextCursor::mergeCharFormat(), QTextTable::removeColumns(), QTextTable::removeRows(), QTextCursor::setCharFormat(), QTextTableCell::setFormat(), QTextTable::splitCell(), and QTextTablePrivate::update().
|
inline |
Definition at line 225 of file qtextdocument_p.h.
|
inline |
Definition at line 240 of file qtextdocument_p.h.
Referenced by QTextTableCell::firstPosition(), QTextTable::insertColumns(), QTextTable::insertRows(), QTextTableCell::lastPosition(), QTextTable::mergeCells(), QTextTable::removeColumns(), QTextTable::removeRows(), QTextTable::rowEnd(), QTextTable::rowStart(), QTextTableCell::setFormat(), QTextTable::splitCell(), QTextTableCell::tableCellFormatIndex(), and QTextTablePrivate::update().
|
inline |
Definition at line 242 of file qtextdocument_p.h.
QTextFrame * QTextDocumentPrivate::frameAt | ( | int | pos | ) | const |
Definition at line 1452 of file qtextdocument_p.cpp.
Referenced by QTextCursorPrivate::aboutToRemoveCell(), QTextCursorPrivate::adjustCursor(), QTextCursorPrivate::complexSelectionTable(), QTextCursor::currentFrame(), QTextCursor::currentTable(), QTextDocumentLayoutPrivate::frameIteratorForTextPosition(), insert_frame(), insertFrame(), move(), QTextCursorPrivate::movePosition(), and QTextCursorPrivate::selectedTableCells().
void QTextDocumentPrivate::init | ( | ) |
Definition at line 223 of file qtextdocument_p.cpp.
Referenced by clear().
void QTextDocumentPrivate::insert | ( | int | pos, |
const QString & | text, | ||
int | format | ||
) |
Definition at line 476 of file qtextdocument_p.cpp.
Referenced by QTextCopyHelper::appendFragment(), QTextCursor::insertImage(), and QTextCursor::insertText().
void QTextDocumentPrivate::insert | ( | int | pos, |
int | strPos, | ||
int | strLength, | ||
int | format | ||
) |
Definition at line 453 of file qtextdocument_p.cpp.
|
private |
Definition at line 350 of file qtextdocument_p.cpp.
Referenced by insertBlock(), move(), and undoRedo().
|
private |
Definition at line 1517 of file qtextdocument_p.cpp.
Referenced by insertFrame().
|
private |
Definition at line 322 of file qtextdocument_p.cpp.
Referenced by insert(), move(), and undoRedo().
int QTextDocumentPrivate::insertBlock | ( | int | pos, |
int | blockFormat, | ||
int | charFormat, | ||
QTextUndoCommand::Operation | op = QTextUndoCommand::MoveCursor |
||
) |
Definition at line 448 of file qtextdocument_p.cpp.
Referenced by QTextCopyHelper::appendFragment(), QTextCopyHelper::copy(), QTextTablePrivate::createTable(), init(), QTextCursorPrivate::insertBlock(), QTextTable::insertColumns(), insertFrame(), QTextTable::insertRows(), and QTextTable::splitCell().
int QTextDocumentPrivate::insertBlock | ( | const QChar & | blockSeparator, |
int | pos, | ||
int | blockFormat, | ||
int | charFormat, | ||
QTextUndoCommand::Operation | op = QTextUndoCommand::MoveCursor |
||
) |
Definition at line 396 of file qtextdocument_p.cpp.
QTextFrame * QTextDocumentPrivate::insertFrame | ( | int | start, |
int | end, | ||
const QTextFrameFormat & | format | ||
) |
Definition at line 1546 of file qtextdocument_p.cpp.
Referenced by QTextCursor::insertFrame().
|
inline |
Definition at line 210 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::movePosition(), and QTextCursorPrivate::setX().
|
inline |
|
inline |
Definition at line 215 of file qtextdocument_p.h.
Referenced by undoRedo().
|
inline |
|
inline |
Definition at line 212 of file qtextdocument_p.h.
void QTextDocumentPrivate::joinPreviousEditBlock | ( | ) |
Definition at line 1176 of file qtextdocument_p.cpp.
Referenced by QTextCursor::joinPreviousEditBlock().
|
inline |
Definition at line 226 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::blockLayout(), QTextEngine::calculateTabWidth(), QTextEngine::font(), QTextEngine::fontEngine(), QScriptLine::setDefaultHeight(), and setLayout().
int QTextDocumentPrivate::leftCursorPosition | ( | int | position | ) | const |
Definition at line 1387 of file qtextdocument_p.cpp.
Referenced by QTextCursorPrivate::movePosition().
|
inline |
Definition at line 222 of file qtextdocument_p.h.
Referenced by QTextCursor::atEnd(), documentChange(), QTextHtmlExporter::emitBlock(), insert_string(), insertFrame(), QTextDocumentFragment::isEmpty(), QTextDocumentLayoutPrivate::layoutFlow(), QTextCursorPrivate::movePosition(), nextCursorPosition(), plainText(), QSyntaxHighlighterPrivate::reformatBlocks(), remove_string(), setCharFormat(), setLayout(), QTextCursor::setPosition(), QTextHtmlExporter::toHtml(), and undoRedo().
void QTextDocumentPrivate::mergeCachedResources | ( | const QTextDocumentPrivate * | priv | ) |
Definition at line 2946 of file qtextdocument.cpp.
Referenced by QTextCursor::insertFragment(), and QTextDocumentFragmentPrivate::QTextDocumentFragmentPrivate().
void QTextDocumentPrivate::move | ( | int | from, |
int | to, | ||
int | length, | ||
QTextUndoCommand::Operation | op = QTextUndoCommand::MoveCursor |
||
) |
Definition at line 578 of file qtextdocument_p.cpp.
Referenced by QTextTable::mergeCells(), and remove().
int QTextDocumentPrivate::nextCursorPosition | ( | int | position, |
QTextLayout::CursorMode | mode | ||
) | const |
Definition at line 1360 of file qtextdocument_p.cpp.
Referenced by QTextCursor::deleteChar(), and QTextCursorPrivate::movePosition().
|
inline |
Definition at line 237 of file qtextdocument_p.h.
QTextObject * QTextDocumentPrivate::objectForFormat | ( | int | formatIndex | ) | const |
Definition at line 1612 of file qtextdocument_p.cpp.
Referenced by QTextCursor::currentList(), insert_block(), insert_string(), QTextFrame::iterator::operator++(), QTextFrame::iterator::operator--(), remove_block(), remove_string(), scan_frames(), setBlockFormat(), and undoRedo().
QTextObject * QTextDocumentPrivate::objectForFormat | ( | const QTextFormat & | f | ) | const |
Definition at line 1618 of file qtextdocument_p.cpp.
QTextObject * QTextDocumentPrivate::objectForIndex | ( | int | objectIndex | ) | const |
Definition at line 1598 of file qtextdocument_p.cpp.
Referenced by objectForFormat(), and undoRedo().
|
private |
QString QTextDocumentPrivate::plainText | ( | ) | const |
Definition at line 1335 of file qtextdocument_p.cpp.
int QTextDocumentPrivate::previousCursorPosition | ( | int | position, |
QTextLayout::CursorMode | mode | ||
) | const |
Definition at line 1374 of file qtextdocument_p.cpp.
Referenced by QTextCursorPrivate::movePosition().
|
inline |
Definition at line 204 of file qtextdocument_p.h.
void QTextDocumentPrivate::remove | ( | int | pos, |
int | length, | ||
QTextUndoCommand::Operation | op = QTextUndoCommand::MoveCursor |
||
) |
Definition at line 672 of file qtextdocument_p.cpp.
Referenced by QTextCursorPrivate::clearCells(), QTextTable::mergeCells(), QTextCursorPrivate::remove(), QTextTable::removeColumns(), and QTextTable::removeRows().
|
private |
Definition at line 519 of file qtextdocument_p.cpp.
Referenced by move(), and undoRedo().
|
private |
Definition at line 488 of file qtextdocument_p.cpp.
Referenced by move().
|
inline |
Definition at line 283 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::~QTextCursorPrivate().
void QTextDocumentPrivate::removeFrame | ( | QTextFrame * | frame | ) |
Definition at line 1579 of file qtextdocument_p.cpp.
int QTextDocumentPrivate::rightCursorPosition | ( | int | position | ) | const |
Definition at line 1394 of file qtextdocument_p.cpp.
Referenced by QTextCursorPrivate::movePosition().
QTextFrame * QTextDocumentPrivate::rootFrame | ( | ) | const |
Definition at line 1442 of file qtextdocument_p.cpp.
Referenced by QTextDocumentLayoutPrivate::drawFrame(), frameAt(), QTextDocumentLayoutPrivate::frameIteratorForTextPosition(), QTextDocumentLayoutPrivate::hitTest(), and scan_frames().
|
private |
Definition at line 1472 of file qtextdocument_p.cpp.
Referenced by finishEdit().
void QTextDocumentPrivate::setBlockFormat | ( | const QTextBlock & | from, |
const QTextBlock & | to, | ||
const QTextBlockFormat & | newFormat, | ||
FormatChangeMode | mode = SetFormat |
||
) |
Definition at line 779 of file qtextdocument_p.cpp.
Referenced by QTextList::add(), QTextCopyHelper::appendFragment(), QTextList::remove(), and QTextCursorPrivate::setBlockFormat().
void QTextDocumentPrivate::setCharFormat | ( | int | pos, |
int | length, | ||
const QTextCharFormat & | newFormat, | ||
FormatChangeMode | mode = SetFormat |
||
) |
Definition at line 687 of file qtextdocument_p.cpp.
Referenced by QTextCopyHelper::appendFragment(), QTextTable::insertColumns(), QTextTable::insertRows(), QTextTable::mergeCells(), QTextTable::removeColumns(), QTextTable::removeRows(), setBlockCharFormatHelper(), QTextCursorPrivate::setCharFormat(), QTextTableCell::setFormat(), QTextTable::splitCell(), and undoRedo().
|
inline |
Definition at line 257 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
void QTextDocumentPrivate::setLayout | ( | QAbstractTextDocumentLayout * | layout | ) |
Definition at line 300 of file qtextdocument_p.cpp.
void QTextDocumentPrivate::setModified | ( | bool | m | ) |
Definition at line 1690 of file qtextdocument_p.cpp.
Referenced by QTextDocument::setModified().
|
private |
Definition at line 831 of file qtextdocument_p.cpp.
Referenced by insert_block(), insert_string(), move(), and setCharFormat().
|
inline |
Definition at line 203 of file qtextdocument_p.h.
int QTextDocumentPrivate::undoRedo | ( | bool | undo | ) |
Definition at line 877 of file qtextdocument_p.cpp.
|
private |
Definition at line 855 of file qtextdocument_p.cpp.
Referenced by insert_string(), move(), and setCharFormat().
|
friend |
Definition at line 362 of file qtextdocument_p.h.
Referenced by finishEdit().
|
friend |
Definition at line 361 of file qtextdocument_p.h.
uint QTextDocumentPrivate::blockCursorAdjustment |
Definition at line 352 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), move(), QTextDocumentPrivate(), and remove().
|
private |
Definition at line 332 of file qtextdocument_p.h.
Referenced by block(), blockCharFormatIndex(), clear(), ensureMaximumBlockCount(), finishEdit(), insert(), insert_block(), insert_string(), insertBlock(), move(), remove_block(), remove_string(), setLayout(), and undoRedo().
Definition at line 338 of file qtextdocument_p.h.
Referenced by clear(), QTextDocument::clone(), QTextHtmlExporter::findUrlForImage(), and mergeCachedResources().
|
private |
Definition at line 335 of file qtextdocument_p.h.
Referenced by aboutToRemoveCell(), adjustDocumentChangesAndCursors(), clear(), finishEdit(), remove(), and ~QTextDocumentPrivate().
Qt::CursorMoveStyle QTextDocumentPrivate::defaultCursorMoveStyle |
Definition at line 345 of file qtextdocument_p.h.
Referenced by QTextCursorPrivate::movePosition(), QTextDocumentPrivate(), and QTextEngine::visualCursorMovement().
|
private |
Definition at line 339 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
QTextOption QTextDocumentPrivate::defaultTextOption |
Definition at line 344 of file qtextdocument_p.h.
Referenced by QTextDocument::clone(), QTextDocumentLayoutPrivate::layoutBlock(), QTextDocumentLayoutPrivate::layoutTable(), and QTextDocumentPrivate().
|
private |
Definition at line 323 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), documentChange(), finishEdit(), QTextDocumentPrivate(), and undoRedo().
|
private |
Definition at line 325 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), documentChange(), finishEdit(), and undoRedo().
|
private |
Definition at line 324 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), documentChange(), and finishEdit().
qreal QTextDocumentPrivate::documentMargin |
Definition at line 357 of file qtextdocument_p.h.
Referenced by QTextDocumentPrivate(), and rootFrame().
|
private |
Definition at line 321 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), appendUndoItem(), QTextCursor::beginEditBlock(), changeObjectFormat(), contentsChanged(), endEditBlock(), finishEdit(), insert(), insertBlock(), move(), and QTextDocumentPrivate().
|
private |
Definition at line 322 of file qtextdocument_p.h.
Referenced by appendUndoItem(), QTextCursor::beginEditBlock(), endEditBlock(), and QTextDocumentPrivate().
|
private |
Definition at line 328 of file qtextdocument_p.h.
Referenced by changeObjectFormat(), clear(), createObject(), init(), insert(), insert_block(), insertBlock(), insertFrame(), objectForFormat(), objectForIndex(), setBlockFormat(), setCharFormat(), and undoRedo().
|
private |
Definition at line 331 of file qtextdocument_p.h.
Referenced by blockCharFormatIndex(), clear(), compressPieceTable(), insert(), insert_block(), insert_string(), insertBlock(), move(), remove_block(), remove_string(), setCharFormat(), split(), and unite().
|
private |
Definition at line 326 of file qtextdocument_p.h.
Referenced by finishEdit(), init(), insert_block(), insert_string(), remove_block(), remove_string(), and scan_frames().
uint QTextDocumentPrivate::inContentsChange |
Definition at line 351 of file qtextdocument_p.h.
Referenced by clear(), finishEdit(), QTextDocumentPrivate(), and setLayout().
qreal QTextDocumentPrivate::indentWidth |
Definition at line 356 of file qtextdocument_p.h.
Referenced by QTextDocument::clone(), and QTextDocumentPrivate().
|
private |
Definition at line 333 of file qtextdocument_p.h.
Referenced by blockCharFormatIndex(), init(), and setCharFormat().
|
private |
Definition at line 341 of file qtextdocument_p.h.
Referenced by finishEdit(), and QTextDocumentPrivate().
|
private |
Definition at line 330 of file qtextdocument_p.h.
Referenced by clear(), finishEdit(), QTextDocumentPrivate(), and setLayout().
int QTextDocumentPrivate::maximumBlockCount |
Definition at line 349 of file qtextdocument_p.h.
Referenced by enableUndoRedo(), ensureMaximumBlockCount(), and QTextDocumentPrivate().
|
private |
Definition at line 319 of file qtextdocument_p.h.
Referenced by appendUndoItem(), clear(), contentsChanged(), enableUndoRedo(), init(), QTextDocumentPrivate(), and setModified().
|
private |
Definition at line 318 of file qtextdocument_p.h.
Referenced by appendUndoItem(), clear(), contentsChanged(), enableUndoRedo(), init(), QTextDocumentPrivate(), and setModified().
uint QTextDocumentPrivate::needsEnsureMaximumBlockCount |
Definition at line 350 of file qtextdocument_p.h.
Referenced by finishEdit(), insertBlock(), and QTextDocumentPrivate().
|
private |
Definition at line 336 of file qtextdocument_p.h.
Referenced by clear(), createObject(), deleteObject(), and objectForIndex().
QSizeF QTextDocumentPrivate::pageSize |
Definition at line 353 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
QCss::StyleSheet QTextDocumentPrivate::parsedDefaultStyleSheet |
Definition at line 347 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
Definition at line 337 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
|
private |
Definition at line 316 of file qtextdocument_p.h.
Referenced by adjustDocumentChangesAndCursors(), insert(), insertBlock(), move(), and QTextDocumentPrivate().
|
mutableprivate |
Definition at line 329 of file qtextdocument_p.h.
Referenced by clear(), rootFrame(), and scan_frames().
|
private |
Definition at line 310 of file qtextdocument_p.h.
Referenced by clear(), compressPieceTable(), insert(), insert_block(), insert_string(), insertBlock(), QTextCursor::insertText(), move(), plainText(), remove_block(), remove_string(), scan_frames(), and unite().
QString QTextDocumentPrivate::title |
Definition at line 354 of file qtextdocument_p.h.
Referenced by clear(), and QTextDocument::clone().
|
private |
Definition at line 314 of file qtextdocument_p.h.
Referenced by appendUndoItem(), compressPieceTable(), contentsChanged(), enableUndoRedo(), endEditBlock(), finishEdit(), init(), insert(), joinPreviousEditBlock(), QTextDocumentPrivate(), remove_string(), undoRedo(), and ~QTextDocumentPrivate().
|
private |
Definition at line 313 of file qtextdocument_p.h.
Referenced by appendUndoItem(), clearUndoRedoStacks(), endEditBlock(), insert(), insertBlock(), joinPreviousEditBlock(), and undoRedo().
|
private |
Definition at line 315 of file qtextdocument_p.h.
Referenced by appendUndoItem(), clearUndoRedoStacks(), contentsChanged(), enableUndoRedo(), endEditBlock(), init(), insert(), insertBlock(), joinPreviousEditBlock(), QTextDocumentPrivate(), setModified(), undoRedo(), and ~QTextDocumentPrivate().
|
private |
Definition at line 311 of file qtextdocument_p.h.
Referenced by clear(), compressPieceTable(), ensureMaximumBlockCount(), finishEdit(), QTextDocumentPrivate(), and remove_string().
QString QTextDocumentPrivate::url |
Definition at line 355 of file qtextdocument_p.h.
Referenced by QTextDocument::clone().
|
private |
Definition at line 277 of file qtextdocument_p.h.
Referenced by emitRedoAvailable().
|
private |
Definition at line 276 of file qtextdocument_p.h.
Referenced by emitUndoAvailable().