libepubgen::EPUBHTMLGeneratorImpl Struct Reference

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

List of all members.

Public Member Functions

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

Public Attributes

EPUBXMLSinkm_document
EPUBImageManagerm_imageManager
EPUBFontManagerm_fontManager
EPUBListStyleManagerm_listManager
EPUBParagraphStyleManagerm_paragraphManager
EPUBSpanStyleManagerm_spanManager
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?
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.
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 ( EPUBXMLSink document,
EPUBImageManager imageManager,
EPUBFontManager fontManager,
EPUBListStyleManager listStyleManager,
EPUBParagraphStyleManager paragraphStyleManager,
EPUBSpanStyleManager spanStyleManager,
EPUBTableStyleManager tableStyleManager,
const EPUBPath path,
const EPUBPath stylesheetPath,
EPUBStylesMethod  stylesMethod,
EPUBLayoutMethod  layoutMethod,
int  version 
) [inline]

constructor


Member Function Documentation

TextZoneSink& libepubgen::EPUBHTMLGeneratorImpl::getSink ( ) [inline]

returns the actual sink

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

returns the actual output ( sending delayed data if needed)

void libepubgen::EPUBHTMLGeneratorImpl::push ( EPUBHTMLTextZone::Type  type) [inline]

Member Data Documentation

std::unique_ptr<TextZoneSink> libepubgen::EPUBHTMLGeneratorImpl::m_actualSink [protected]

Does the currently opened paragraph have some text?

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

std::stack<std::unique_ptr<TextZoneSink> > libepubgen::EPUBHTMLGeneratorImpl::m_sinkStack [protected]
EPUBHTMLTextZone libepubgen::EPUBHTMLGeneratorImpl::m_zones[EPUBHTMLTextZone::Z_NumZones] [protected]

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