: parent(0), id(Html_unknown),
cssFloat(QTextFrameFormat::InFlow), hasOwnListStyle(false),
hasCssListIndent(false), isEmptyParagraph(false), isTextFrame(false), isRootFrame(false),
- displayMode(QTextHtmlElement::DisplayInline), hasHref(false),
+ hasHref(false), displayMode(QTextHtmlElement::DisplayInline),
listStyle(QTextListFormat::ListStyleUndefined), imageWidth(-1), imageHeight(-1), tableBorder(0),
tableCellRowSpan(1), tableCellColSpan(1), tableCellSpacing(2), tableCellPadding(0),
borderBrush(Qt::darkGray), borderStyle(QTextFrameFormat::BorderStyle_Outset),
QTextHTMLElements id;
QTextCharFormat charFormat;
QTextBlockFormat blockFormat;
- uint cssFloat : 2;
- uint hasOwnListStyle : 1;
- uint hasCssListIndent : 1;
- uint isEmptyParagraph : 1;
- uint isTextFrame : 1;
- uint isRootFrame : 1;
- uint displayMode : 3; // QTextHtmlElement::DisplayMode
- uint hasHref : 1;
+ QTextFrameFormat::Position cssFloat;
+ bool hasOwnListStyle;
+ bool hasCssListIndent;
+ bool isEmptyParagraph;
+ bool isTextFrame;
+ bool isRootFrame;
+ bool hasHref;
+ QTextHtmlElement::DisplayMode displayMode;
QTextListFormat::Style listStyle;
QString textListNumberPrefix;
QString textListNumberSuffix;