QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
QTextDocumentPrivate Class Reference

#include <qtextdocument_p.h>

Inheritance diagram for QTextDocumentPrivate:
Inheritance graph
[legend]
Collaboration diagram for QTextDocumentPrivate:
Collaboration graph
[legend]

Public Types

enum  FormatChangeMode { MergeFormat , SetFormat , SetFormatAndPreserveObjectIndices }
 
typedef QFragmentMap< QTextFragmentDataFragmentMap
 
typedef FragmentMap::ConstIterator FragmentIterator
 
typedef QFragmentMap< QTextBlockDataBlockMap
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 

Public Member Functions

 QTextDocumentPrivate ()
 
 ~QTextDocumentPrivate ()
 
void init ()
 
void clear ()
 
void setLayout (QAbstractTextDocumentLayout *layout)
 
void insert (int pos, const QString &text, int format)
 
void insert (int pos, int strPos, int strLength, int format)
 
int insertBlock (int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
int insertBlock (QChar blockSeparator, int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation op=QTextUndoCommand::MoveCursor)
 
void move (int from, int to, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
void remove (int pos, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor)
 
void 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. More...
 
QTextFrameinsertFrame (int start, int end, const QTextFrameFormat &format)
 
void removeFrame (QTextFrame *frame)
 
void setCharFormat (int pos, int length, const QTextCharFormat &newFormat, FormatChangeMode mode=SetFormat)
 
void setBlockFormat (const QTextBlock &from, const QTextBlock &to, const QTextBlockFormat &newFormat, FormatChangeMode mode=SetFormat)
 
void emitUndoAvailable (bool available)
 
void emitRedoAvailable (bool available)
 
int undoRedo (bool undo)
 
void undo ()
 
void redo ()
 
void appendUndoItem (QAbstractUndoItem *)
 
void beginEditBlock ()
 
void joinPreviousEditBlock ()
 
void endEditBlock ()
 
void finishEdit ()
 
bool isInEditBlock () const
 
void enableUndoRedo (bool enable)
 
bool isUndoRedoEnabled () const
 
bool isUndoAvailable () const
 
bool isRedoAvailable () const
 
int availableUndoSteps () const
 
int availableRedoSteps () const
 
QString buffer () const
 
QString plainText () const
 
int length () const
 
QTextFormatCollectionformatCollection ()
 
const QTextFormatCollectionformatCollection () const
 
QAbstractTextDocumentLayoutlayout () const
 
FragmentIterator find (int pos) const
 
FragmentIterator begin () const
 
FragmentIterator end () const
 
QTextBlock blocksBegin () const
 
QTextBlock blocksEnd () const
 
QTextBlock blocksFind (int pos) const
 
int blockCharFormatIndex (int node) const
 
int numBlocks () const
 
const BlockMapblockMap () const
 
const FragmentMapfragmentMap () const
 
BlockMapblockMap ()
 
FragmentMapfragmentMap ()
 
int nextCursorPosition (int position, QTextLayout::CursorMode mode) const
 
int previousCursorPosition (int position, QTextLayout::CursorMode mode) const
 
int leftCursorPosition (int position) const
 
int rightCursorPosition (int position) const
 
void changeObjectFormat (QTextObject *group, int format)
 
void setModified (bool m)
 
bool isModified () const
 
QFont defaultFont () const
 
void setDefaultFont (const QFont &f)
 
void clearUndoRedoStacks (QTextDocument::Stacks stacksToClear, bool emitSignals=false)
 
void documentChange (int from, int length)
 
void addCursor (QTextCursorPrivate *c)
 
void removeCursor (QTextCursorPrivate *c)
 
QTextFrameframeAt (int pos) const
 
QTextFramerootFrame () const
 
QTextObjectobjectForIndex (int objectIndex) const
 
QTextObjectobjectForFormat (int formatIndex) const
 
QTextObjectobjectForFormat (const QTextFormat &f) const
 
QTextObjectcreateObject (const QTextFormat &newFormat, int objectIndex=-1)
 
void deleteObject (QTextObject *object)
 
QTextDocumentdocument ()
 
const QTextDocumentdocument () const
 
bool ensureMaximumBlockCount ()
 
void mergeCachedResources (const QTextDocumentPrivate *priv)
 
- Public Member Functions inherited from QObjectPrivate
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void ensureConnectionData ()
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static const QTextBlockDatablock (const QTextBlock &it)
 
static const QTextDocumentPrivateget (const QTextDocument *document)
 
static QTextDocumentPrivateget (QTextDocument *document)
 
static QTextDocumentPrivateget (QTextBlock &block)
 
static const QTextDocumentPrivateget (const QTextBlock &block)
 
static QTextDocumentPrivateget (QTextObject *object)
 
static const QTextDocumentPrivateget (const QTextObject *object)
 
- Static Public Member Functions inherited from QObjectPrivate
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 
static bool disconnect (Connection *c)
 

Public Attributes

bool inContentsChange
 
QTextOption defaultTextOption
 
Qt::CursorMoveStyle defaultCursorMoveStyle
 
QCss::StyleSheet parsedDefaultStyleSheet
 
int maximumBlockCount
 
uint needsEnsureMaximumBlockCount: 1
 
uint blockCursorAdjustment: 1
 
QSizeF pageSize
 
QString title
 
QString url
 
QString cssMedia
 
qreal indentWidth
 
qreal documentMargin
 
QUrl baseUrl
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint unused: 24
 
int postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Friends

struct QTextHtmlParserNode
 
class QTextHtmlExporter
 
class QTextCursor
 

Detailed Description

Definition at line 163 of file qtextdocument_p.h.

Member Typedef Documentation

◆ BlockMap

Definition at line 169 of file qtextdocument_p.h.

◆ FragmentIterator

Definition at line 168 of file qtextdocument_p.h.

◆ FragmentMap

Definition at line 167 of file qtextdocument_p.h.

Member Enumeration Documentation

◆ FormatChangeMode

Enumerator
MergeFormat 
SetFormat 
SetFormatAndPreserveObjectIndices 

Definition at line 193 of file qtextdocument_p.h.

Constructor & Destructor Documentation

◆ QTextDocumentPrivate()

QTextDocumentPrivate::QTextDocumentPrivate ( )

Definition at line 182 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ ~QTextDocumentPrivate()

QTextDocumentPrivate::~QTextDocumentPrivate ( )

Definition at line 292 of file qtextdocument_p.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ aboutToRemoveCell()

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 1739 of file qtextdocument_p.cpp.

◆ addCursor()

void QTextDocumentPrivate::addCursor ( QTextCursorPrivate c)
inline

Definition at line 282 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ appendUndoItem()

void QTextDocumentPrivate::appendUndoItem ( QAbstractUndoItem item)

Appends a custom undo item to the undo stack.

Definition at line 1043 of file qtextdocument_p.cpp.

Here is the caller graph for this function:

◆ availableRedoSteps()

int QTextDocumentPrivate::availableRedoSteps ( ) const
inline

Definition at line 218 of file qtextdocument_p.h.

◆ availableUndoSteps()

int QTextDocumentPrivate::availableUndoSteps ( ) const
inline

Definition at line 217 of file qtextdocument_p.h.

◆ begin()

FragmentIterator QTextDocumentPrivate::begin ( ) const
inline

Definition at line 229 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ beginEditBlock()

void QTextDocumentPrivate::beginEditBlock ( )
inline

Definition at line 206 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ block()

static const QTextBlockData* QTextDocumentPrivate::block ( const QTextBlock it)
inlinestatic

Definition at line 244 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ blockCharFormatIndex()

int QTextDocumentPrivate::blockCharFormatIndex ( int  node) const

Definition at line 1357 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ blockMap() [1/2]

BlockMap& QTextDocumentPrivate::blockMap ( )
inline

Definition at line 241 of file qtextdocument_p.h.

◆ blockMap() [2/2]

const BlockMap& QTextDocumentPrivate::blockMap ( ) const
inline

Definition at line 239 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ blocksBegin()

QTextBlock QTextDocumentPrivate::blocksBegin ( ) const
inline

Definition at line 232 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ blocksEnd()

QTextBlock QTextDocumentPrivate::blocksEnd ( ) const
inline

Definition at line 233 of file qtextdocument_p.h.

◆ blocksFind()

QTextBlock QTextDocumentPrivate::blocksFind ( int  pos) const
inline

Definition at line 234 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ buffer()

QString QTextDocumentPrivate::buffer ( ) const
inline

Definition at line 220 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ changeObjectFormat()

void QTextDocumentPrivate::changeObjectFormat ( QTextObject group,
int  format 
)

Definition at line 1407 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void QTextDocumentPrivate::clear ( )

Definition at line 237 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ clearUndoRedoStacks()

void QTextDocumentPrivate::clearUndoRedoStacks ( QTextDocument::Stacks  stacksToClear,
bool  emitSignals = false 
)

Definition at line 1107 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createObject()

QTextObject * QTextDocumentPrivate::createObject ( const QTextFormat newFormat,
int  objectIndex = -1 
)

Definition at line 1629 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ defaultFont()

QFont QTextDocumentPrivate::defaultFont ( ) const
inline

Definition at line 256 of file qtextdocument_p.h.

◆ deleteObject()

void QTextDocumentPrivate::deleteObject ( QTextObject object)

Definition at line 1641 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ document() [1/2]

QTextDocument* QTextDocumentPrivate::document ( )
inline

Definition at line 295 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ document() [2/2]

const QTextDocument* QTextDocumentPrivate::document ( ) const
inline

Definition at line 296 of file qtextdocument_p.h.

◆ documentChange()

void QTextDocumentPrivate::documentChange ( int  from,
int  length 
)

Definition at line 1263 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitRedoAvailable()

void QTextDocumentPrivate::emitRedoAvailable ( bool  available)

Definition at line 1157 of file qtextdocument_p.cpp.

Here is the caller graph for this function:

◆ emitUndoAvailable()

void QTextDocumentPrivate::emitUndoAvailable ( bool  available)

Definition at line 1148 of file qtextdocument_p.cpp.

Here is the caller graph for this function:

◆ enableUndoRedo()

void QTextDocumentPrivate::enableUndoRedo ( bool  enable)

Definition at line 1166 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ end()

FragmentIterator QTextDocumentPrivate::end ( ) const
inline

Definition at line 230 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ endEditBlock()

void QTextDocumentPrivate::endEditBlock ( )

Definition at line 1191 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ensureMaximumBlockCount()

bool QTextDocumentPrivate::ensureMaximumBlockCount ( )

Definition at line 1711 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find()

FragmentIterator QTextDocumentPrivate::find ( int  pos) const
inline

Definition at line 228 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ finishEdit()

void QTextDocumentPrivate::finishEdit ( )

Definition at line 1211 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ formatCollection() [1/2]

QTextFormatCollection* QTextDocumentPrivate::formatCollection ( )
inline

Definition at line 224 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ formatCollection() [2/2]

const QTextFormatCollection* QTextDocumentPrivate::formatCollection ( ) const
inline

Definition at line 225 of file qtextdocument_p.h.

◆ fragmentMap() [1/2]

FragmentMap& QTextDocumentPrivate::fragmentMap ( )
inline

Definition at line 242 of file qtextdocument_p.h.

◆ fragmentMap() [2/2]

const FragmentMap& QTextDocumentPrivate::fragmentMap ( ) const
inline

Definition at line 240 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ frameAt()

QTextFrame * QTextDocumentPrivate::frameAt ( int  pos) const

Definition at line 1458 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [1/6]

static const QTextDocumentPrivate* QTextDocumentPrivate::get ( const QTextBlock block)
inlinestatic

Definition at line 315 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ get() [2/6]

static const QTextDocumentPrivate* QTextDocumentPrivate::get ( const QTextDocument document)
inlinestatic

Definition at line 300 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ get() [3/6]

static const QTextDocumentPrivate* QTextDocumentPrivate::get ( const QTextObject object)
inlinestatic

Definition at line 325 of file qtextdocument_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [4/6]

static QTextDocumentPrivate* QTextDocumentPrivate::get ( QTextBlock block)
inlinestatic

Definition at line 310 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ get() [5/6]

static QTextDocumentPrivate* QTextDocumentPrivate::get ( QTextDocument document)
inlinestatic

Definition at line 305 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ get() [6/6]

static QTextDocumentPrivate* QTextDocumentPrivate::get ( QTextObject object)
inlinestatic

Definition at line 320 of file qtextdocument_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void QTextDocumentPrivate::init ( )

Definition at line 222 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insert() [1/2]

void QTextDocumentPrivate::insert ( int  pos,
const QString text,
int  format 
)

Definition at line 482 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insert() [2/2]

void QTextDocumentPrivate::insert ( int  pos,
int  strPos,
int  strLength,
int  format 
)

Definition at line 459 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ insertBlock() [1/2]

int QTextDocumentPrivate::insertBlock ( int  pos,
int  blockFormat,
int  charFormat,
QTextUndoCommand::Operation  op = QTextUndoCommand::MoveCursor 
)

Definition at line 454 of file qtextdocument_p.cpp.

Here is the caller graph for this function:

◆ insertBlock() [2/2]

int QTextDocumentPrivate::insertBlock ( QChar  blockSeparator,
int  pos,
int  blockFormat,
int  charFormat,
QTextUndoCommand::Operation  op = QTextUndoCommand::MoveCursor 
)

Definition at line 402 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ insertFrame()

QTextFrame * QTextDocumentPrivate::insertFrame ( int  start,
int  end,
const QTextFrameFormat format 
)

Definition at line 1552 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isInEditBlock()

bool QTextDocumentPrivate::isInEditBlock ( ) const
inline

Definition at line 210 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ isModified()

bool QTextDocumentPrivate::isModified ( ) const
inline

Definition at line 254 of file qtextdocument_p.h.

◆ isRedoAvailable()

bool QTextDocumentPrivate::isRedoAvailable ( ) const
inline

Definition at line 215 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ isUndoAvailable()

bool QTextDocumentPrivate::isUndoAvailable ( ) const
inline

Definition at line 214 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ isUndoRedoEnabled()

bool QTextDocumentPrivate::isUndoRedoEnabled ( ) const
inline

Definition at line 212 of file qtextdocument_p.h.

◆ joinPreviousEditBlock()

void QTextDocumentPrivate::joinPreviousEditBlock ( )

Definition at line 1183 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ layout()

QAbstractTextDocumentLayout* QTextDocumentPrivate::layout ( ) const
inline

Definition at line 226 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ leftCursorPosition()

int QTextDocumentPrivate::leftCursorPosition ( int  position) const

Definition at line 1393 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ length()

int QTextDocumentPrivate::length ( ) const
inline

Definition at line 222 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ mergeCachedResources()

void QTextDocumentPrivate::mergeCachedResources ( const QTextDocumentPrivate priv)

Definition at line 3188 of file qtextdocument.cpp.

Here is the caller graph for this function:

◆ move()

void QTextDocumentPrivate::move ( int  from,
int  to,
int  length,
QTextUndoCommand::Operation  op = QTextUndoCommand::MoveCursor 
)

Definition at line 584 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextCursorPosition()

int QTextDocumentPrivate::nextCursorPosition ( int  position,
QTextLayout::CursorMode  mode 
) const

Definition at line 1366 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ numBlocks()

int QTextDocumentPrivate::numBlocks ( ) const
inline

Definition at line 237 of file qtextdocument_p.h.

◆ objectForFormat() [1/2]

QTextObject * QTextDocumentPrivate::objectForFormat ( const QTextFormat f) const

Definition at line 1624 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ objectForFormat() [2/2]

QTextObject * QTextDocumentPrivate::objectForFormat ( int  formatIndex) const

Definition at line 1618 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ objectForIndex()

QTextObject * QTextDocumentPrivate::objectForIndex ( int  objectIndex) const

Definition at line 1604 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ plainText()

QString QTextDocumentPrivate::plainText ( ) const

Definition at line 1341 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ previousCursorPosition()

int QTextDocumentPrivate::previousCursorPosition ( int  position,
QTextLayout::CursorMode  mode 
) const

Definition at line 1380 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ redo()

void QTextDocumentPrivate::redo ( )
inline

Definition at line 204 of file qtextdocument_p.h.

◆ remove()

void QTextDocumentPrivate::remove ( int  pos,
int  length,
QTextUndoCommand::Operation  op = QTextUndoCommand::MoveCursor 
)

Definition at line 678 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeCursor()

void QTextDocumentPrivate::removeCursor ( QTextCursorPrivate c)
inline

Definition at line 283 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ removeFrame()

void QTextDocumentPrivate::removeFrame ( QTextFrame frame)

Definition at line 1585 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ rightCursorPosition()

int QTextDocumentPrivate::rightCursorPosition ( int  position) const

Definition at line 1400 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ rootFrame()

QTextFrame * QTextDocumentPrivate::rootFrame ( ) const

Definition at line 1448 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBlockFormat()

void QTextDocumentPrivate::setBlockFormat ( const QTextBlock from,
const QTextBlock to,
const QTextBlockFormat newFormat,
FormatChangeMode  mode = SetFormat 
)

Definition at line 785 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCharFormat()

void QTextDocumentPrivate::setCharFormat ( int  pos,
int  length,
const QTextCharFormat newFormat,
FormatChangeMode  mode = SetFormat 
)

Definition at line 693 of file qtextdocument_p.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDefaultFont()

void QTextDocumentPrivate::setDefaultFont ( const QFont f)
inline

Definition at line 257 of file qtextdocument_p.h.

◆ setLayout()

void QTextDocumentPrivate::setLayout ( QAbstractTextDocumentLayout layout)

Definition at line 302 of file qtextdocument_p.cpp.

Here is the call graph for this function:

◆ setModified()

void QTextDocumentPrivate::setModified ( bool  m)

Definition at line 1696 of file qtextdocument_p.cpp.

◆ undo()

void QTextDocumentPrivate::undo ( )
inline

Definition at line 203 of file qtextdocument_p.h.

Here is the caller graph for this function:

◆ undoRedo()

int QTextDocumentPrivate::undoRedo ( bool  undo)

Definition at line 883 of file qtextdocument_p.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ QTextCursor

friend class QTextCursor
friend

Definition at line 396 of file qtextdocument_p.h.

◆ QTextHtmlExporter

friend class QTextHtmlExporter
friend

Definition at line 395 of file qtextdocument_p.h.

◆ QTextHtmlParserNode

friend struct QTextHtmlParserNode
friend

Definition at line 394 of file qtextdocument_p.h.

Member Data Documentation

◆ baseUrl

QUrl QTextDocumentPrivate::baseUrl

Definition at line 390 of file qtextdocument_p.h.

◆ blockCursorAdjustment

uint QTextDocumentPrivate::blockCursorAdjustment

Definition at line 383 of file qtextdocument_p.h.

◆ cssMedia

QString QTextDocumentPrivate::cssMedia

Definition at line 387 of file qtextdocument_p.h.

◆ defaultCursorMoveStyle

Qt::CursorMoveStyle QTextDocumentPrivate::defaultCursorMoveStyle

Definition at line 377 of file qtextdocument_p.h.

◆ defaultTextOption

QTextOption QTextDocumentPrivate::defaultTextOption

Definition at line 376 of file qtextdocument_p.h.

◆ documentMargin

qreal QTextDocumentPrivate::documentMargin

Definition at line 389 of file qtextdocument_p.h.

◆ inContentsChange

bool QTextDocumentPrivate::inContentsChange

Definition at line 375 of file qtextdocument_p.h.

◆ indentWidth

qreal QTextDocumentPrivate::indentWidth

Definition at line 388 of file qtextdocument_p.h.

◆ maximumBlockCount

int QTextDocumentPrivate::maximumBlockCount

Definition at line 381 of file qtextdocument_p.h.

◆ needsEnsureMaximumBlockCount

uint QTextDocumentPrivate::needsEnsureMaximumBlockCount

Definition at line 382 of file qtextdocument_p.h.

◆ pageSize

QSizeF QTextDocumentPrivate::pageSize

Definition at line 384 of file qtextdocument_p.h.

◆ parsedDefaultStyleSheet

QCss::StyleSheet QTextDocumentPrivate::parsedDefaultStyleSheet

Definition at line 379 of file qtextdocument_p.h.

◆ title

QString QTextDocumentPrivate::title

Definition at line 385 of file qtextdocument_p.h.

◆ url

QString QTextDocumentPrivate::url

Definition at line 386 of file qtextdocument_p.h.


The documentation for this class was generated from the following files: