99 Table scanTable(
int tableNodeIdx);
101 enum ProcessNodeResult { ContinueWithNextNode, ContinueWithCurrentNode, ContinueWithNextSibling };
104 bool appendNodeText();
106 ProcessNodeResult processBlockNode();
107 ProcessNodeResult processSpecialNodes();
111 inline List() : listNode(0) {}
114 QPointer<QTextList> list;
126 friend struct QTextHtmlImporter::Table;
128 struct TableCellIterator
132 inline TableCellIterator &operator++() {
149 inline bool atEnd()
const {
return table ==
nullptr ||
row >=
table->rows(); }
157 friend class QTypeInfo<TableCellIterator>;
162 Table() : isTextFrame(
false), rows(0), columns(0), currentRow(0), lastIndent(0) {}
163 QPointer<QTextFrame> frame;
168 TableCellIterator currentCell;
174 struct RowColSpanInfo
177 int rowSpan, colSpan;
188 WhiteSpace compressNextWhitespace;
195 bool forceBlockMerging;
QTextCopyHelper(const QTextCursor &_source, const QTextCursor &_destination, bool forceCharFormat=false, const QTextCharFormat &fmt=QTextCharFormat())
\reentrant \inmodule QtGui
uint importedFromPlainText
~QTextDocumentFragmentPrivate()
void insert(QTextCursor &cursor) const
QTextDocumentFragmentPrivate(const QTextCursor &cursor=QTextCursor())
\reentrant \inmodule QtGui
QTextHtmlImporter(QTextDocument *_doc, const QString &html, ImportMode mode, const QTextDocument *resourceProvider=nullptr)
const QTextDocument * resourceProvider
int columnSpan() const
Returns the number of columns this cell spans.
bool isValid() const
Returns true if this is a valid table cell; otherwise returns false.