Qt 4.8
|
#include "qtexthtmlparser_p.h"
#include <qbytearray.h>
#include <qtextcodec.h>
#include <qapplication.h>
#include <qstack.h>
#include <qdebug.h>
#include <qthread.h>
#include "qtextdocument.h"
#include "qtextformat_p.h"
#include "qtextdocument_p.h"
#include "qtextcursor.h"
#include "qfont_p.h"
#include "private/qfunctions_p.h"
Go to the source code of this file.
Classes | |
struct | QTextHtmlEntity |
class | QTextHtmlStyleSelector |
Macros | |
#define | MAX_ENTITY 258 |
Functions | |
static int | findAttribute (const QStringList &attributes, const QString &name) |
static const QTextHtmlElement * | lookupElementHelper (const QString &element) |
Q_STATIC_GLOBAL_OPERATOR bool | operator< (const QString &entityStr, const QTextHtmlEntity &entity) |
Q_STATIC_GLOBAL_OPERATOR bool | operator< (const QTextHtmlEntity &entity, const QString &entityStr) |
Q_STATIC_GLOBAL_OPERATOR bool | operator< (const QString &str, const QTextHtmlElement &e) |
Q_STATIC_GLOBAL_OPERATOR bool | operator< (const QTextHtmlElement &e, const QString &str) |
static QString | quoteNewline (const QString &s) |
static QChar | resolveEntity (const QString &entity) |
static bool | setFloatAttribute (qreal *destination, const QString &value) |
static bool | setIntAttribute (int *destination, const QString &value) |
static void | setWidthAttribute (QTextLength *width, QString value) |
Variables | |
static const QTextHtmlElement | elements [Html_NumElements] |
static const struct QTextHtmlEntity | entities [MAX_ENTITY] |
static const ushort | windowsLatin1ExtendedCharacters [0xA0 - 0x80] |
#define MAX_ENTITY 258 |
Definition at line 63 of file qtexthtmlparser.cpp.
Referenced by resolveEntity().
|
inlinestatic |
Definition at line 1755 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlStyleSelector::attribute().
|
static |
Definition at line 455 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::lookupElement(), and QTextHtmlParser::parseTag().
Q_STATIC_GLOBAL_OPERATOR bool operator< | ( | const QString & | entityStr, |
const QTextHtmlEntity & | entity | ||
) |
Definition at line 325 of file qtexthtmlparser.cpp.
Q_STATIC_GLOBAL_OPERATOR bool operator< | ( | const QTextHtmlEntity & | entity, |
const QString & | entityStr | ||
) |
Definition at line 330 of file qtexthtmlparser.cpp.
Q_STATIC_GLOBAL_OPERATOR bool operator< | ( | const QString & | str, |
const QTextHtmlElement & | e | ||
) |
Definition at line 445 of file qtexthtmlparser.cpp.
Q_STATIC_GLOBAL_OPERATOR bool operator< | ( | const QTextHtmlElement & | e, |
const QString & | str | ||
) |
Definition at line 450 of file qtexthtmlparser.cpp.
Definition at line 474 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::dumpHtml().
Definition at line 335 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::parseEntity(), QXmlDefaultHandler::~QXmlDefaultHandler(), and QXmlEntityResolver::~QXmlEntityResolver().
Definition at line 1449 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::applyAttributes().
|
static |
Definition at line 1439 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::applyAttributes().
|
static |
Definition at line 1459 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::applyAttributes().
|
static |
Definition at line 382 of file qtexthtmlparser.cpp.
Referenced by QScript::AST::ArrayLiteral::accept0(), QDeclarativeJS::AST::ArrayLiteral::accept0(), QScript::AST::FunctionBody::accept0(), QScript::AST::Program::accept0(), QDeclarativeJS::AST::FunctionBody::accept0(), QDeclarativeJS::AST::Program::accept0(), QGL2PEXVertexArray::addCentroid(), QGL2PEXVertexArray::addPath(), QPainterPath::addPolygon(), QPainterPath::addRect(), QDeclarativeParser::Variant::asStringList(), QPatternist::XsdSchemaChecker::checkElementConstraints(), QPainterPathData::close(), collectAllElements(), QOutlineMapper::convertElements(), QOutlineMapper::convertPath(), createArrayBuffer(), QPainterPath::currentPosition(), QPatternist::XsdSchemaDebugger::dumpSchema(), QOutlineMapper::endOutline(), hasCircularSubstitutionGroup(), QPainterPathData::isClosed(), QDeclarativeParser::Variant::isStringList(), lookup(), QPainterPathData::maybeMoveTo(), QPatternist::XsdSchemaMerger::merge(), QVGPaintEnginePrivate::painterPathToVGPath(), QPainterPathData::QPainterPathData(), QVectorPathConverter::QVectorPathData::QVectorPathData(), QPatternist::XsdSchemaResolver::resolveSubstitutionGroups(), QPainterPathData::vectorPath(), and QVGPaintEnginePrivate::vectorPathToVGPath().
|
static |
Referenced by resolveEntity().
|
static |
Definition at line 345 of file qtexthtmlparser.cpp.
Referenced by QTextHtmlParser::parseEntity().