20#ifndef QT_NO_TEXTHTMLPARSER
47 {
"Epsilon", 0x0395 },
68 {
"Omicron", 0x039f },
86 {
"Upsilon", 0x03a5 },
97 {
"alefsym", 0x2135 },
105 {
"atilde", 0x00e3 },
109 {
"brvbar", 0x00a6 },
112 {
"ccedil", 0x00e7 },
122 {
"curren", 0x00a4 },
124 {
"dagger", 0x2020 },
129 {
"divide", 0x00f7 },
130 {
"eacute", 0x00e9 },
132 {
"egrave", 0x00e8 },
136 {
"epsilon", 0x03b5 },
144 {
"forall", 0x2200 },
145 {
"frac12", 0x00bd },
146 {
"frac14", 0x00bc },
147 {
"frac34", 0x00be },
154 {
"hearts", 0x2665 },
155 {
"hellip", 0x2026 },
156 {
"iacute", 0x00ed },
159 {
"igrave", 0x00ec },
164 {
"iquest", 0x00bf },
169 {
"lambda", 0x03bb },
176 {
"lfloor", 0x230a },
177 {
"lowast", 0x2217 },
180 {
"lsaquo", 0x2039 },
186 {
"middot", 0x00b7 },
197 {
"ntilde", 0x00f1 },
199 {
"oacute", 0x00f3 },
202 {
"ograve", 0x00f2 },
205 {
"omicron", 0x03bf },
210 {
"oslash", 0x00f8 },
211 {
"otilde", 0x00f5 },
212 {
"otimes", 0x2297 },
216 {
"percnt", 0x0025 },
217 {
"permil", 0x2030 },
222 {
"plusmn", 0x00b1 },
238 {
"rfloor", 0x230b },
241 {
"rsaquo", 0x203a },
244 {
"scaron", 0x0161 },
249 {
"sigmaf", 0x03c2 },
251 {
"spades", 0x2660 },
262 {
"there4", 0x2234 },
264 {
"thetasym", 0x03d1 },
265 {
"thinsp", 0x2009 },
271 {
"uacute", 0x00fa },
274 {
"ugrave", 0x00f9 },
277 {
"upsilon", 0x03c5 },
279 {
"weierp", 0x2118 },
281 {
"yacute", 0x00fd },
290#if defined(Q_CC_MSVC_ONLY) && _MSC_VER < 1600
312 if (
e ==
end || (entity < *
e))
431 if ((
e ==
end) || (element < *
e))
448 n.replace(u
'\n',
"\\n"_L1);
457 listStyle(
QTextListFormat::ListStyleUndefined), imageWidth(-1), imageHeight(-1), tableBorder(0),
458 tableCellRowSpan(1), tableCellColSpan(1), tableCellSpacing(2), tableCellPadding(0),
460 borderCollapse(
false),
461 userState(-1), cssListIndent(0), wsm(WhiteSpaceModeUndefined)
468 for (
int i = 0;
i < 4; ++
i) {
489 bool reuseLastNode =
true;
492 reuseLastNode =
false;
496 reuseLastNode =
true;
501 int lastSibling =
count() - 2;
505 lastSibling =
at(lastSibling).
parent;
509 reuseLastNode =
false;
511 reuseLastNode =
true;
515 reuseLastNode =
false;
522 reuseLastNode =
false;
607 }
else if (
c == u
'&') {
633#ifndef QT_NO_CSSPARSER
638 inlineStyleSheets.append(sheet);
639 resolveStyleSheetImports(sheet);
647 while (
p &&
at(
p).
tag.size() == 0)
674#ifndef QT_NO_CSSPARSER
676 node->applyCssDeclarations(declarationsForNode(nodeIndex),
resourceProvider);
681 bool tagClosed =
false;
721 &&
at(
p - 1).mayNotHaveChildren())
740 &&
at(
p).isBlock()) {
774 if (entity.
size() > 1 && entity.
at(0) == u
'#') {
775 entity = entity.
mid(1);
781 entity = entity.
mid(1);
798 const int recover =
pos;
802 if (
c.isSpace() ||
pos - recover > 9) {
812 if (!parsedEntity.
isNull()) {
850 ||
c == u
'<' ||
c == u
'=' ||
c.isSpace()) {
885 table->tag =
"table"_L1;
908 table->tag =
"table"_L1;
934 while (
p && !
at(
p).isBlock())
942 if (node->
id ==
at(
p).
id
949 ||
at(
p).mayNotHaveChildren()
1026 for (
int i = 0;
i < 4; ++
i)
1117#ifndef QT_NO_CSSPARSER
1120 for (
int i = 0;
i < cssValues.
size(); ++
i) {
1188 for (
int i = 0;
i < 4; ++
i) {
1197 for (
int i = 0;
i < 4; ++
i) {
1203 for (
int i = 0;
i < declarations.
size(); ++
i) {
1205 if (decl.
d->values.isEmpty())
continue;
1209 identifier =
static_cast<QCss::KnownValue>(decl.
d->values.first().variant.toInt());
1211 switch (decl.
d->propertyId) {
1219 extractor.lengthValues(decl, borders);
1229 switch (identifier) {
1239 QString lineHeightTypeName = decl.
d->values.first().variant.toString();
1264 if (decl.
realValue(&lineHeight,
"px")) {
1273 lineHeight *= 100.0;
1306 else if (decl.
d->values.first().variant.toString().compare(
"root"_L1,
Qt::CaseInsensitive) == 0) {
1312 userState = decl.
d->values.first().variant.toInt();
1315 switch (identifier) {
1325 switch (identifier) {
1335 switch (identifier) {
1342 switch (identifier) {
1349 switch (identifier) {
1363 setListStyle(decl.
d->values);
1372 switch (identifier) {
1384 qint64 searchKey = decl.
d->values.first().variant.toLongLong(&
ok);
1395 int adjustment = -255;
1396 extractor.extractFont(&
f, &adjustment);
1397 if (
f.pixelSize() > INT32_MAX / 2)
1398 f.setPixelSize(INT32_MAX / 2);
1401 if (adjustment >= -1)
1405 Qt::Alignment ignoredAlignment;
1411 extractor.extractBackground(&bgBrush, &bgImage, &ignoredRepeat, &ignoredAlignment,
1412 &ignoredOrigin, &ignoredAttachment, &ignoredClip);
1414 if (!bgImage.
isEmpty() && resourceProvider) {
1429 for (
int i = 0;
i <
priv->formats.numFormats(); ++
i) {
1437 qWarning(
"Can't apply QPixmap outside of GUI thread");
1441 const qint64 cacheKey = isPixmap ?
brush.texture().cacheKey() :
brush.textureImage().cacheKey();
1442 if (cacheKey == searchKey) {
1445 b.setTexture(
brush.texture());
1447 b.setTextureImage(
brush.textureImage());
1464 if (
val.userType() == QMetaType::QImage) {
1467 }
else if (
val.userType() == QMetaType::QByteArray) {
1469 if (
image.loadFromData(
val.toByteArray())) {
1474 if (
val.userType() == QMetaType::QImage ||
val.userType() == QMetaType::QPixmap) {
1476 }
else if (
val.userType() == QMetaType::QByteArray) {
1524 if (!
value.isEmpty() &&
value.endsWith(u
'%')) {
1526 realVal =
value.toDouble(&
ok);
1533#ifndef QT_NO_CSSPARSER
1541 applyCssDeclarations(sheet.
styleRules.at(0).declarations, resourceProvider);
1555 if (
key.size() == 0)
1563 if (
value.size() == 0)
1574 bool seenQt3Richtext =
false;
1578 if (attributes.size() % 2 == 1)
1583 for (
int i = 0;
i < attributes.size();
i += 2) {
1590 if (
key ==
"size"_L1 &&
value.size()) {
1592 if (
value.at(0) != u
'+' &&
value.at(0) != u
'-')
1595 }
else if (
key ==
"face"_L1) {
1596 if (
value.contains(u
',')) {
1600 families << family.trimmed();
1605 }
else if (
key ==
"color"_L1) {
1608 qWarning(
"QTextHtmlParser::applyAttributes: Unknown color name '%s'",
value.toLatin1().constData());
1614 if (
key ==
"type"_L1) {
1616 if (
value ==
"1"_L1) {
1618 }
else if (
value ==
"a"_L1) {
1620 }
else if (
value ==
"A"_L1) {
1622 }
else if (
value ==
"i"_L1) {
1624 }
else if (
value ==
"I"_L1) {
1628 if (
value ==
"square"_L1)
1630 else if (
value ==
"disc"_L1)
1632 else if (
value ==
"circle"_L1)
1634 else if (
value ==
"none"_L1)
1637 }
else if (
key ==
"start"_L1) {
1642 if (
key ==
"class"_L1) {
1643 if (
value ==
"unchecked"_L1)
1645 else if (
value ==
"checked"_L1)
1650 if (
key ==
"href"_L1)
1652 else if (
key ==
"name"_L1)
1656 if (
key ==
"src"_L1 ||
key ==
"source"_L1) {
1658 }
else if (
key ==
"width"_L1) {
1661 }
else if (
key ==
"height"_L1) {
1664 }
else if (
key ==
"alt"_L1) {
1666 }
else if (
key ==
"title"_L1) {
1672 if (
key ==
"bgcolor"_L1) {
1675 qWarning(
"QTextHtmlParser::applyAttributes: Unknown color name '%s'",
value.toLatin1().constData());
1677 }
else if (
key ==
"background"_L1) {
1683 if (
key ==
"width"_L1) {
1685 }
else if (
key ==
"bgcolor"_L1) {
1688 qWarning(
"QTextHtmlParser::applyAttributes: Unknown color name '%s'",
value.toLatin1().constData());
1690 }
else if (
key ==
"background"_L1) {
1692 }
else if (
key ==
"rowspan"_L1) {
1695 }
else if (
key ==
"colspan"_L1) {
1701 if (
key ==
"border"_L1) {
1703 }
else if (
key ==
"bgcolor"_L1) {
1706 qWarning(
"QTextHtmlParser::applyAttributes: Unknown color name '%s'",
value.toLatin1().constData());
1708 }
else if (
key ==
"bordercolor"_L1) {
1711 qWarning(
"QTextHtmlParser::applyAttributes: Unknown color name '%s'",
value.toLatin1().constData());
1713 }
else if (
key ==
"background"_L1) {
1715 }
else if (
key ==
"cellspacing"_L1) {
1717 }
else if (
key ==
"cellpadding"_L1) {
1719 }
else if (
key ==
"width"_L1) {
1721 }
else if (
key ==
"height"_L1) {
1726 if (
key ==
"name"_L1 &&
value ==
"qrichtext"_L1)
1727 seenQt3Richtext =
true;
1729 if (
key ==
"content"_L1 &&
value ==
"1"_L1 && seenQt3Richtext)
1733 if (
key ==
"width"_L1)
1737 if (
key ==
"href"_L1)
1739 else if (
key ==
"type"_L1)
1743 if (
key ==
"class"_L1 &&
value.startsWith(
"language-"_L1))
1750 if (
key ==
"style"_L1) {
1751#ifndef QT_NO_CSSPARSER
1754 }
else if (
key ==
"align"_L1) {
1756 bool alignmentSet =
true;
1758 if (
value ==
"left"_L1)
1760 else if (
value ==
"right"_L1)
1762 else if (
value ==
"center"_L1)
1764 else if (
value ==
"justify"_L1)
1767 alignmentSet =
false;
1776 }
else if (
value ==
"middle"_L1) {
1778 }
else if (
value ==
"top"_L1) {
1782 }
else if (
key ==
"valign"_L1) {
1784 if (
value ==
"top"_L1)
1786 else if (
value ==
"middle"_L1)
1788 else if (
value ==
"bottom"_L1)
1790 }
else if (
key ==
"dir"_L1) {
1792 if (
value ==
"ltr"_L1)
1794 else if (
value ==
"rtl"_L1)
1796 }
else if (
key ==
"title"_L1) {
1798 }
else if (
key ==
"id"_L1) {
1804#ifndef QT_NO_CSSPARSER
1806 importStyleSheet(linkHref);
1810#ifndef QT_NO_CSSPARSER
1820 bool isNullNode(NodePtr node)
const override;
1821 NodePtr
parentNode(NodePtr node)
const override;
1824 void freeNode(NodePtr node)
const override;
1837#ifndef QT_NO_CSSPARSER
1843 idx = attributes.indexOf(
name, idx + 1);
1844 }
while (idx != -1 && (idx % 2 == 1));
1854 return attributes.at(idx + 1);
1860 return !attributes.isEmpty();
1865 return node.
id == 0;
1903void QTextHtmlParser::resolveStyleSheetImports(
const QCss::StyleSheet &sheet)
1908 importStyleSheet(
rule.href);
1912void QTextHtmlParser::importStyleSheet(
const QString &href)
1916 for (
int i = 0;
i < externalStyleSheets.size(); ++
i)
1917 if (externalStyleSheets.at(
i).url == href)
1922 if (
res.userType() == QMetaType::QString) {
1923 css =
res.toString();
1924 }
else if (
res.userType() == QMetaType::QByteArray) {
1932 externalStyleSheets.append(ExternalStyleSheet(href, sheet));
1933 resolveStyleSheetImports(sheet);
1945 bool needsUnderline = (node.
id ==
Html_u) ?
true :
false;
1951 needsUnderline =
true;
1952 decl.
d->property =
"color"_L1;
1957 decl.
d->inheritable =
true;
1963 if (needsUnderline) {
1965 decl.
d->property =
"text-decoration"_L1;
1970 decl.
d->inheritable =
true;
1984 decl.
d->property =
"font-weight"_L1;
1989 decl.
d->inheritable =
true;
1998 decl.d->property =
"font-size"_L1;
2000 decl.d->inheritable =
false;
2018 decl.d->property =
"text-align"_L1;
2023 decl.d->inheritable =
true;
2028 decl.d->property =
"text-decoration"_L1;
2033 decl.d->inheritable =
true;
2043 decl.d->property =
"font-style"_L1;
2048 decl.d->inheritable =
true;
2054 decl.d->property =
"vertical-align"_L1;
2059 decl.d->inheritable =
true;
2065 decl.d->property =
"list-style"_L1;
2070 decl.d->inheritable =
true;
2079 decl.d->property =
"font-family"_L1;
2086 decl.d->inheritable =
true;
2095 decl.d->property =
"whitespace"_L1;
2105 decl.d->inheritable =
true;
2122 + externalStyleSheets.
size()
2123 + inlineStyleSheets.
size());
2127 for (
int i = 0;
i < externalStyleSheets.size(); ++
i, ++idx)
2128 selector.styleSheets[idx] = externalStyleSheets.at(
i).sheet;
2130 for (
int i = 0;
i < inlineStyleSheets.size(); ++
i, ++idx)
2131 selector.styleSheets[idx] = inlineStyleSheets.at(
i);
2138 const char *extraPseudo =
nullptr;
2140 extraPseudo =
"link";
2143 decls +=
selector.declarationsForNode(
n, extraPseudo);
2147 inheritedDecls =
selector.declarationsForNode(
n, extraPseudo);
2148 for (
int i = 0;
i < inheritedDecls.
size(); ++
i) {
2150 if (decl.
d->inheritable)
Qt::BrushStyle style() const
Returns the brush style.
QChar toLower() const noexcept
Returns the lowercase equivalent if the character is uppercase or titlecase; otherwise returns the ch...
static constexpr auto fromUcs4(char32_t c) noexcept
constexpr bool isNull() const noexcept
Returns true if the character is the Unicode character 0x0000 ('\0'); otherwise returns false.
constexpr bool isSpace() const noexcept
Returns true if the character is a separator character (Separator_* categories or certain code points...
The QColor class provides colors based on RGB, HSV or CMYK values.
static QColor fromString(QAnyStringView name) noexcept
static QCoreApplication * instance() noexcept
Returns a pointer to the application's QCoreApplication (or QGuiApplication/QApplication) instance.
bool parse(StyleSheet *styleSheet, Qt::CaseSensitivity nameCaseSensitivity=Qt::CaseSensitive)
Qt::CaseSensitivity nameCaseSensitivity
static QFont systemFont(SystemFont type)
QStringList families() const
qsizetype size() const noexcept
const T & constLast() const noexcept
iterator insert(qsizetype i, parameter_type t)
const_reference at(qsizetype i) const noexcept
void prepend(rvalue_ref t)
void append(parameter_type t)
QObject * parent() const
Returns a pointer to the parent object.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
bool loadFromData(const uchar *buf, uint len, const char *format=nullptr, Qt::ImageConversionFlags flags=Qt::AutoColor)
Loads a pixmap from the len first bytes of the given binary data.
constexpr void truncate(qsizetype n) noexcept
Truncates this string view to length length.
constexpr qsizetype size() const noexcept
Returns the size of this string view, in UTF-16 code units (that is, surrogate pairs count as two for...
constexpr QChar at(qsizetype n) const noexcept
Returns the character at position n in this string view.
constexpr QStringView mid(qsizetype pos, qsizetype n=-1) const noexcept
Returns the substring of length length starting at position start in this object.
QStringView trimmed() const noexcept
Strips leading and trailing whitespace and returns the result.
uint toUInt(bool *ok=nullptr, int base=10) const
Returns the string view converted to an {unsigned int} using base base, which is 10 by default and mu...
\macro QT_RESTRICTED_CAST_FROM_ASCII
double toDouble(bool *ok=nullptr) const
Returns the string converted to a double value.
void clear()
Clears the contents of the string and makes it null.
bool isNull() const
Returns true if this string is null; otherwise returns false.
qsizetype size() const
Returns the number of characters in this string.
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
QString toLower() const &
static QString static QString qsizetype indexOf(QChar c, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QString trimmed() const &
Qt::Alignment alignment() const
Returns the paragraph's alignment.
void setPageBreakPolicy(PageBreakFlags flags)
void setAlignment(Qt::Alignment alignment)
Sets the paragraph's alignment.
void setMarker(MarkerType marker)
void setLineHeight(qreal height, int heightType)
PageBreakFlags pageBreakPolicy() const
void setIndent(int indent)
Sets the paragraph's indentation.
qreal lineHeight(qreal scriptLineHeight, qreal scaling) const
int lineHeightType() const
void setTextIndent(qreal aindent)
Sets the indent for the first line in the block.
@ FontPropertiesSpecifiedOnly
void setFontFamilies(const QStringList &families)
void setUnderlineStyle(UnderlineStyle style)
void setVerticalAlignment(VerticalAlignment alignment)
Sets the vertical alignment used for the characters with this format to the alignment specified.
void setAnchor(bool anchor)
If anchor is true, text with this format represents an anchor, and is formatted in the appropriate wa...
void setAnchorNames(const QStringList &names)
void setToolTip(const QString &tip)
void setUnderlineColor(const QColor &color)
Sets the color used to draw underlines, overlines and strikeouts on the characters with this format t...
void setAnchorHref(const QString &value)
Sets the hypertext link for the text format to the given value.
void setFont(const QFont &font, FontPropertiesInheritanceBehavior behavior=FontPropertiesAll)
QCss::StyleSheet parsedDefaultStyleSheet
static const QTextDocumentPrivate * get(const QTextDocument *document)
\reentrant \inmodule QtGui
QVariant resource(int type, const QUrl &name) const
Returns data of the specified type from the resource with the given name.
QString metaInformation(MetaInformation info) const
Returns meta information about the document of the type specified by info.
void setForeground(const QBrush &brush)
Sets the foreground brush to the specified brush.
void setBackground(const QBrush &brush)
Sets the brush use to paint the document's background to the brush specified.
void setProperty(int propertyId, const QVariant &value)
Sets the property specified by the propertyId to the given value.
void setLayoutDirection(Qt::LayoutDirection direction)
Sets the document's layout direction to the specified direction.
void clearProperty(int propertyId)
Clears the value of the property given by propertyId.
bool hasPrefix(QChar c, int lookahead=0) const
void parseExclamationTag()
bool nodeIsChildOf(int i, QTextHTMLElements id) const
QList< QTextHtmlParserNode * > nodes
QTextHtmlParserNode * resolveParent()
void applyAttributes(const QStringList &attributes)
int margin(int i, int mar) const
int topMargin(int i) const
static int lookupElement(const QString &element)
const QTextHtmlParserNode & at(int i) const
QStringList parseAttributes()
int bottomMargin(int i) const
const QTextDocument * resourceProvider
QTextHtmlParserNode * newNode(int parent)
NodePtr previousSiblingNode(NodePtr node) const override
bool isNullNode(NodePtr node) const override
QString attributeValue(NodePtr node, const QCss::AttributeSelector &aSelector) const override
bool hasAttributes(NodePtr node) const override
NodePtr duplicateNode(NodePtr node) const override
QTextHtmlStyleSelector(const QTextHtmlParser *parser)
void freeNode(NodePtr node) const override
NodePtr parentNode(NodePtr node) const override
QStringList nodeNames(NodePtr node) const override
static QThread * currentThread()
bool isEmpty() const
Returns true if the URL has no data; otherwise returns false.
qDeleteAll(list.begin(), list.end())
@ QtForegroundTextureCacheKey
@ StyleSheetOrigin_Author
Combined button and popup list for selecting options.
bool Q_GUI_EXPORT qHasPixmapTexture(const QBrush &brush)
AudioChannelLayoutTag tag
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char * destination
DBusConnection const char * rule
DBusConnection const char DBusError * error
static struct AttrInfo attrs[]
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
constexpr const T & qBound(const T &min, const T &val, const T &max)
constexpr const T & qMax(const T &a, const T &b)
GLenum GLsizei GLsizei GLint * values
[15]
GLboolean GLboolean GLboolean b
GLint GLenum GLsizei GLsizei GLsizei depth
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
GLenum GLenum GLsizei void * row
GLenum GLenum GLsizei void * table
#define qPrintable(string)
static int findAttribute(const QStringList &attributes, const QString &name)
static bool operator<(QStringView entityStr, const QTextHtmlEntity &entity)
static const struct QTextHtmlEntity entities[]
QList< QCss::Declaration > standardDeclarationForNode(const QTextHtmlParserNode &node)
static bool setFloatAttribute(qreal *destination, const QString &value)
static QTextFrameFormat::BorderStyle toQTextFrameFormat(QCss::BorderStyle cssStyle)
static const QTextHtmlElement elements[Html_NumElements]
static void setWidthAttribute(QTextLength *width, const QString &valueStr)
static const ushort windowsLatin1ExtendedCharacters[0xA0 - 0x80]
static bool setIntAttribute(int *destination, const QString &value)
static QChar resolveEntity(QStringView entity)
static const QTextHtmlElement * lookupElementHelper(const QString &element)
static QString quoteNewline(const QString &s)
QFileSelector selector
[1]
QUrl url("example.com")
[constructor-url-reference]
bool realValue(qreal *r, const char *unit=nullptr) const
QExplicitlySharedDataPointer< DeclarationData > d
QColor colorValue(const QPalette &=QPalette()) const
bool intValue(int *i, const char *unit=nullptr) const
BorderStyle styleValue() const
bool borderCollapseValue() const
QList< StyleRule > styleRules
QList< ImportRule > importRules
Q_GUI_EXPORT QString toString() const
qsizetype indexOf(const AT &t, qsizetype from=0) const noexcept
enum QTextHtmlElement::DisplayMode displayMode
QString textListNumberSuffix
bool isNotSelfNesting() const
void initializeProperties(const QTextHtmlParserNode *parent, const QTextHtmlParser *parser)
void parseStyleAttribute(const QString &value, const QTextDocument *resourceProvider)
QTextListFormat::Style listStyle
QTextFrameFormat::BorderStyle borderStyle
bool hasOnlyWhitespace() const
QTextCharFormat charFormat
QBrush tableCellBorderBrush[4]
bool isNestedList(const QTextHtmlParser *parser) const
uint hasOwnLineHeightType
bool allowedInContext(int parentId) const
void applyBackgroundImage(const QString &url, const QTextDocument *resourceProvider)
uint hasLineHeightMultiplier
void applyForegroundImage(qint64 cacheKey, const QTextDocument *resourceProvider)
QTextFrameFormat::BorderStyle tableCellBorderStyle[4]
QTextBlockFormat blockFormat
QString textListNumberPrefix
bool mayNotHaveChildren() const
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent