Classes | Namespaces | Macros
EBOOKHTMLParser.cpp File Reference
`#include <cassert>`
`#include <functional>`
`#include <stack>`
`#include <string>`
`#include "libebook_hubbub.h"`
`#include "libebook_utils.h"`
`#include "libebook_xml.h"`
`#include "EBOOKCharsetConverter.h"`
`#include "EBOOKHTMLToken.h"`
`#include "EBOOKHTMLTypes.h"`
`#include "EBOOKHTMLParser.h"`
`#include "EBOOKOutputElements.h"`
`#include "EBOOKUTF8Stream.h"`
`#include "XMLCollector.h"`
`#include "XMLStylesheet.h"`

## Classes
struct | libebook::EBOOKHTMLParser::State

## Namespaces
namespace | libebook

## Macros
#define | STR_LIT(s) (s), (sizeof(s) - 1)

## Macro Definition Documentation

## ◆ STR_LIT

#define STR_LIT | ( |  | s | ) | (s), (sizeof(s) - 1)

## Variable Documentation

## ◆ config

XMLTreeNode::ConfigurationPtr_t config

## ◆ document

XMLTreeNodePtr_t document

Referenced by libebook::FictionBook2Parser::parse().

## ◆ encoding

const char* encoding

Referenced by libebook::EBOOKCharsetConverter::EBOOKCharsetConverter(), libebook::PluckerParser::readAppInfoRecord(), libebook::EBOOKHTMLParser::readTree(), and libebook::EBOOKHTMLParser::readTreeImpl().

## ◆ handler

hubbub_tree_handler handler

## ◆ htmlConfig

XMLTreeNode::ConfigurationPtr_t htmlConfig

## ◆ isPre

bool isPre

## ◆ len

size_t len

Referenced by ebookXMLReadFromStream(), libebook::EBOOKOPFParser::parse(), libebook::EBOOKHTMLParser::readTreeImpl(), libebook::EBOOKHTMLParser::sendPreformattedText(), and libebook::XMLStylesheet::XMLStylesheet().

## ◆ m_attrs

T& m_attrs
| private

## ◆ m_chained

const Self_t* const m_chained
| private

## ◆ m_handler

const Func_t m_handler
| private

## ◆ mode

hubbub_quirks_mode mode

Referenced by libebook::BBeBParser::readAttribute().

## ◆ nsMap

LWCStringPtr_t nsMap[HUBBUB_NS_XMLNS]

## ◆ parser

HUBBUBParserPtr_t parser

Referenced by libebook::EBOOKOPFParser::parse(), libebook::EPubParser::parse(), libebook::HTMLParser::parse(), libebook::OpenEBookParser::parse(), libebook::RocketEBookParser::parse(), libebook::BBeBParser::readMetadata(), and libebook::PeanutPressParser::readText().

## ◆ str

const char* str

Referenced by libebook::getFictionBook2Token(), libebook::getFictionBook2Token(), libebook::getFictionBook2Token(), libebook::getFictionBook2TokenID(), libebook::getFictionBook2TokenID(), libebook::getFictionBook2TokenID(), libebook::getFictionBook2TokenName(), libebook::getFictionBook2TokenName(), libebook::getFictionBook2TokenName(), libebook::readCString(), libebook::readPascalString(), libebook::FictionBook2BookNameContext::text(), libebook::FictionBook2CityContext::text(), libebook::FictionBook2CoverpageContext::text(), libebook::FictionBook2EmailContext::text(), libebook::FictionBook2FirstNameContext::text(), libebook::FictionBook2GenreContext::text(), libebook::FictionBook2HistoryContext::text(), libebook::FictionBook2HomePageContext::text(), libebook::FictionBook2IdContext::text(), libebook::FictionBook2IsbnContext::text(), libebook::FictionBook2LastNameContext::text(), libebook::FictionBook2MiddleNameContext::text(), libebook::FictionBook2NicknameContext::text(), libebook::FictionBook2OutputContext::text(), libebook::FictionBook2OutputDocumentClassContext::text(), libebook::FictionBook2PartContext::text(), libebook::FictionBook2ProgramUsedContext::text(), libebook::FictionBook2SequenceContext::text(), libebook::FictionBook2SrcLangContext::text(), libebook::FictionBook2SrcOcrContext::text(), libebook::FictionBook2SrcTitleInfoContext::text(), libebook::FictionBook2TranslatorContext::text(), and libebook::FictionBook2YearContext::text().

## ◆ xhtmlConfig

XMLTreeNode::ConfigurationPtr_t xhtmlConfig