libepubgen::EPUBHTMLGeneratorImpl Struct Reference

the internal state of a html document generator More...

Public Member Functions

 EPUBHTMLGeneratorImpl (EPUBXMLContent &document, EPUBImageManager &imageManager, EPUBFontManager &fontManager, EPUBListStyleManager &listStyleManager, EPUBParagraphStyleManager &paragraphStyleManager, EPUBSpanStyleManager &spanStyleManager, EPUBSpanStyleManager &bodyStyleManager, EPUBTableStyleManager &tableStyleManager, const EPUBPath &path, const EPUBPath &stylesheetPath, EPUBStylesMethod stylesMethod, EPUBLayoutMethod layoutMethod, int version)
 constructor More...
 
 ~EPUBHTMLGeneratorImpl ()
 destructor More...
 
EPUBXMLContentoutput (bool sendDelayed=true)
 returns the actual output ( sending delayed data if needed) More...
 
TextZoneSink & getSink ()
 returns the actual sink More...
 
void push (EPUBHTMLTextZone::Type type)
 
void pop ()
 
void sendMetaData (EPUBXMLContent &out)
 
void flushUnsent (EPUBXMLContent &out)
 

Public Attributes

EPUBXMLContentm_document
 
EPUBImageManagerm_imageManager
 
EPUBFontManagerm_fontManager
 
EPUBListStyleManagerm_listManager
 
EPUBParagraphStyleManagerm_paragraphManager
 
EPUBSpanStyleManagerm_spanManager
 
EPUBSpanStyleManagerm_bodyManager
 
EPUBTableStyleManagerm_tableManager
 
const EPUBPath m_path
 
const EPUBPath m_stylesheetPath
 
int m_actualPage
 
RVNGPropertyList m_actualPageProperties
 
bool m_ignore
 
bool m_hasText
 Does the currently opened paragraph have some text? More...
 
int m_version
 
std::stack< std::string > m_frameAnchorTypes
 
std::stack< RVNGPropertyList > m_framePropertiesStack
 
std::stack< RVNGPropertyList > m_linkPropertiesStack
 This is used for links which don't have a href. More...
 
std::stack< RVNGPropertyList > m_paragraphAttributesStack
 
std::stack< RVNGPropertyList > m_spanAttributesStack
 
std::string m_rubyText
 This is set when the span has ruby text and should be wrapped in <ruby></ruby>. More...
 
EPUBStylesMethod m_stylesMethod
 
EPUBLayoutMethod m_layoutMethod
 

Protected Attributes

std::unique_ptr< TextZoneSink > m_actualSink
 
std::stack< std::unique_ptr< TextZoneSink > > m_sinkStack
 
EPUBHTMLTextZone m_zones [EPUBHTMLTextZone::Z_NumZones]
 

Private Member Functions

 EPUBHTMLGeneratorImpl (EPUBHTMLGeneratorImpl const &orig)
 
EPUBHTMLGeneratorImpl operator= (EPUBHTMLGeneratorImpl const &orig)
 

Detailed Description

the internal state of a html document generator

Constructor & Destructor Documentation

libepubgen::EPUBHTMLGeneratorImpl::EPUBHTMLGeneratorImpl ( EPUBXMLContent document,
EPUBImageManager imageManager,
EPUBFontManager fontManager,
EPUBListStyleManager listStyleManager,
EPUBParagraphStyleManager paragraphStyleManager,
EPUBSpanStyleManager spanStyleManager,
EPUBSpanStyleManager bodyStyleManager,
EPUBTableStyleManager tableStyleManager,
const EPUBPath path,
const EPUBPath stylesheetPath,
EPUBStylesMethod  stylesMethod,
EPUBLayoutMethod  layoutMethod,
int  version 
)
inline

constructor

libepubgen::EPUBHTMLGeneratorImpl::~EPUBHTMLGeneratorImpl ( )
inline

destructor

libepubgen::EPUBHTMLGeneratorImpl::EPUBHTMLGeneratorImpl ( EPUBHTMLGeneratorImpl const &  orig)
private

Member Function Documentation

void libepubgen::EPUBHTMLGeneratorImpl::flushUnsent ( EPUBXMLContent out)
inline
TextZoneSink& libepubgen::EPUBHTMLGeneratorImpl::getSink ( )
inline

returns the actual sink

EPUBHTMLGeneratorImpl libepubgen::EPUBHTMLGeneratorImpl::operator= ( EPUBHTMLGeneratorImpl const &  orig)
private
EPUBXMLContent& libepubgen::EPUBHTMLGeneratorImpl::output ( bool  sendDelayed = true)
inline

returns the actual output ( sending delayed data if needed)

void libepubgen::EPUBHTMLGeneratorImpl::pop ( )
inline
void libepubgen::EPUBHTMLGeneratorImpl::push ( EPUBHTMLTextZone::Type  type)
inline
void libepubgen::EPUBHTMLGeneratorImpl::sendMetaData ( EPUBXMLContent out)
inline

Member Data Documentation

int libepubgen::EPUBHTMLGeneratorImpl::m_actualPage
RVNGPropertyList libepubgen::EPUBHTMLGeneratorImpl::m_actualPageProperties
std::unique_ptr<TextZoneSink> libepubgen::EPUBHTMLGeneratorImpl::m_actualSink
protected
EPUBSpanStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_bodyManager
EPUBXMLContent& libepubgen::EPUBHTMLGeneratorImpl::m_document
EPUBFontManager& libepubgen::EPUBHTMLGeneratorImpl::m_fontManager
std::stack<std::string> libepubgen::EPUBHTMLGeneratorImpl::m_frameAnchorTypes
std::stack<RVNGPropertyList> libepubgen::EPUBHTMLGeneratorImpl::m_framePropertiesStack
bool libepubgen::EPUBHTMLGeneratorImpl::m_hasText

Does the currently opened paragraph have some text?

bool libepubgen::EPUBHTMLGeneratorImpl::m_ignore
EPUBImageManager& libepubgen::EPUBHTMLGeneratorImpl::m_imageManager
EPUBLayoutMethod libepubgen::EPUBHTMLGeneratorImpl::m_layoutMethod
std::stack<RVNGPropertyList> libepubgen::EPUBHTMLGeneratorImpl::m_linkPropertiesStack

This is used for links which don't have a href.

EPUBListStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_listManager
std::stack<RVNGPropertyList> libepubgen::EPUBHTMLGeneratorImpl::m_paragraphAttributesStack
EPUBParagraphStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_paragraphManager
const EPUBPath libepubgen::EPUBHTMLGeneratorImpl::m_path
std::string libepubgen::EPUBHTMLGeneratorImpl::m_rubyText

This is set when the span has ruby text and should be wrapped in <ruby></ruby>.

std::stack<std::unique_ptr<TextZoneSink> > libepubgen::EPUBHTMLGeneratorImpl::m_sinkStack
protected
std::stack<RVNGPropertyList> libepubgen::EPUBHTMLGeneratorImpl::m_spanAttributesStack
EPUBSpanStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_spanManager
const EPUBPath libepubgen::EPUBHTMLGeneratorImpl::m_stylesheetPath
EPUBStylesMethod libepubgen::EPUBHTMLGeneratorImpl::m_stylesMethod
EPUBTableStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_tableManager
int libepubgen::EPUBHTMLGeneratorImpl::m_version
EPUBHTMLTextZone libepubgen::EPUBHTMLGeneratorImpl::m_zones[EPUBHTMLTextZone::Z_NumZones]
protected

The documentation for this struct was generated from the following file:

Generated for libepubgen by doxygen 1.8.11