![]() |
Qt 6.x
The Qt SDK
|
#include <qtextdocumentfragment_p.h>
Public Member Functions | |
QTextCopyHelper (const QTextCursor &_source, const QTextCursor &_destination, bool forceCharFormat=false, const QTextCharFormat &fmt=QTextCharFormat()) | |
void | copy () |
Definition at line 34 of file qtextdocumentfragment_p.h.
QTextCopyHelper::QTextCopyHelper | ( | const QTextCursor & | _source, |
const QTextCursor & | _destination, | ||
bool | forceCharFormat = false , |
||
const QTextCharFormat & | fmt = QTextCharFormat() |
||
) |
Definition at line 24 of file qtextdocumentfragment.cpp.
References cursor, fmt, QTextCursor::position(), and QTextCursorPrivate::priv.
void QTextCopyHelper::copy | ( | ) |
Definition at line 126 of file qtextdocumentfragment.cpp.
References QTextBlock::blockFormat(), QTextTableFormat::clearColumnWidthConstraints(), QTextTableCell::column(), QTextTableCell::columnSpan(), QTextCursor::currentTable(), QTextTableCell::firstPosition(), QTextTableCell::format(), QTextCursor::hasComplexSelection(), QTextTableCell::lastPosition(), QTextBlock::position(), Q_ASSERT, QTextBeginningOfFrame, QTextTableCell::row(), QTextTableCell::rowSpan(), QTextCursor::selectedTableCells(), QTextCursor::selectionEnd(), QTextCursor::selectionStart(), QTextTableFormat::setColumns(), QTextCharFormat::setTableCellColumnSpan(), and QTextCharFormat::setTableCellRowSpan().
Referenced by QTextDocumentFragmentPrivate::QTextDocumentFragmentPrivate(), and QTextDocumentFragmentPrivate::insert().