Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qtexthtmlparser_p.h"
#include <qbytearray.h>
#include <qstack.h>
#include <qdebug.h>
#include <qthread.h>
#include <qguiapplication.h>
#include "qtextdocument.h"
#include "qtextformat_p.h"
#include "qtextdocument_p.h"
#include "qtextcursor.h"
#include "qfont_p.h"
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | QTextHtmlEntity |
class | QTextHtmlStyleSelector |
Macros | |
#define | MAX_ENTITY 258 |
Functions | |
static bool | operator< (QStringView entityStr, const QTextHtmlEntity &entity) |
static bool | operator< (const QTextHtmlEntity &entity, QStringView entityStr) |
static QChar | resolveEntity (QStringView entity) |
static bool | operator< (QStringView str, const QTextHtmlElement &e) |
static bool | operator< (const QTextHtmlElement &e, QStringView str) |
static const QTextHtmlElement * | lookupElementHelper (QStringView element) |
static QString | quoteNewline (const QString &s) |
static QTextFrameFormat::BorderStyle | toQTextFrameFormat (QCss::BorderStyle cssStyle) |
static bool | setIntAttribute (int *destination, const QString &value) |
static bool | setFloatAttribute (qreal *destination, const QString &value) |
static void | setWidthAttribute (QTextLength *width, const QString &valueStr) |
static int | findAttribute (const QStringList &attributes, const QString &name) |
QList< QCss::Declaration > | standardDeclarationForNode (const QTextHtmlParserNode &node) |
Variables | |
static const struct QTextHtmlEntity | entities [] |
static const ushort | windowsLatin1ExtendedCharacters [0xA0 - 0x80] |
static const QTextHtmlElement | elements [Html_NumElements] |
#define MAX_ENTITY 258 |
Definition at line 27 of file qtexthtmlparser.cpp.
|
inlinestatic |
Definition at line 1948 of file qtexthtmlparser.cpp.
|
static |
Definition at line 426 of file qtexthtmlparser.cpp.
References elements, and Html_NumElements.
|
static |
Definition at line 421 of file qtexthtmlparser.cpp.
References QTextHtmlElement::name.
|
static |
Definition at line 302 of file qtexthtmlparser.cpp.
References QTextHtmlEntity::name.
|
static |
Definition at line 297 of file qtexthtmlparser.cpp.
References QTextHtmlEntity::name.
|
static |
Definition at line 416 of file qtexthtmlparser.cpp.
References QTextHtmlElement::name.
Definition at line 445 of file qtexthtmlparser.cpp.
|
static |
Definition at line 307 of file qtexthtmlparser.cpp.
References QTextHtmlEntity::code.
Definition at line 1615 of file qtexthtmlparser.cpp.
|
static |
Definition at line 1605 of file qtexthtmlparser.cpp.
|
static |
Definition at line 1625 of file qtexthtmlparser.cpp.
QList< QCss::Declaration > standardDeclarationForNode | ( | const QTextHtmlParserNode & | node | ) |
Definition at line 2046 of file qtexthtmlparser.cpp.
References Html_a, Html_b, Html_big, Html_code, Html_kbd, Html_pre, Html_samp, Html_small, Html_strong, Html_th, Html_tt, Html_u, and QTextHtmlParserNode::id.
|
static |
Definition at line 1141 of file qtexthtmlparser.cpp.
|
static |
Definition at line 354 of file qtexthtmlparser.cpp.
Referenced by lookupElementHelper().
|
static |
|
static |
Definition at line 317 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::parseEntity().