libepubgen::EPUBHTMLGeneratorImpl Struct Reference

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

Public Member Functions

 EPUBHTMLGeneratorImpl (EPUBXMLSink &document, EPUBImageManager &imageManager, EPUBListStyleManager &listStyleManager, EPUBParagraphStyleManager &paragraphStyleManager, EPUBSpanStyleManager &spanStyleManager, EPUBTableStyleManager &tableStyleManager, const EPUBPath &path, const EPUBPath &stylesheetPath)
 constructor More...
 
 ~EPUBHTMLGeneratorImpl ()
 destructor More...
 
EPUBXMLSinkoutput (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 (EPUBXMLSink &out)
 
void flushUnsent (EPUBXMLSink &out)
 

Public Attributes

EPUBXMLSinkm_document
 
EPUBImageManagerm_imageManager
 
EPUBListStyleManagerm_listManager
 
EPUBParagraphStyleManagerm_paragraphManager
 
EPUBSpanStyleManagerm_spanManager
 
EPUBTableStyleManagerm_tableManager
 
const EPUBPath m_path
 
const EPUBPath m_stylesheetPath
 
int m_actualPage
 
bool m_ignore
 

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

◆ EPUBHTMLGeneratorImpl() [1/2]

libepubgen::EPUBHTMLGeneratorImpl::EPUBHTMLGeneratorImpl ( EPUBXMLSink document,
EPUBImageManager imageManager,
EPUBListStyleManager listStyleManager,
EPUBParagraphStyleManager paragraphStyleManager,
EPUBSpanStyleManager spanStyleManager,
EPUBTableStyleManager tableStyleManager,
const EPUBPath path,
const EPUBPath stylesheetPath 
)
inline

constructor

◆ ~EPUBHTMLGeneratorImpl()

libepubgen::EPUBHTMLGeneratorImpl::~EPUBHTMLGeneratorImpl ( )
inline

destructor

◆ EPUBHTMLGeneratorImpl() [2/2]

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

Member Function Documentation

◆ flushUnsent()

void libepubgen::EPUBHTMLGeneratorImpl::flushUnsent ( EPUBXMLSink out)
inline

◆ getSink()

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

returns the actual sink

◆ operator=()

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

◆ output()

EPUBXMLSink& libepubgen::EPUBHTMLGeneratorImpl::output ( bool  sendDelayed = true)
inline

returns the actual output ( sending delayed data if needed)

◆ pop()

void libepubgen::EPUBHTMLGeneratorImpl::pop ( )
inline

◆ push()

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

◆ sendMetaData()

void libepubgen::EPUBHTMLGeneratorImpl::sendMetaData ( EPUBXMLSink out)
inline

Member Data Documentation

◆ m_actualPage

int libepubgen::EPUBHTMLGeneratorImpl::m_actualPage

◆ m_actualSink

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

◆ m_document

EPUBXMLSink& libepubgen::EPUBHTMLGeneratorImpl::m_document

◆ m_ignore

bool libepubgen::EPUBHTMLGeneratorImpl::m_ignore

◆ m_imageManager

EPUBImageManager& libepubgen::EPUBHTMLGeneratorImpl::m_imageManager

◆ m_listManager

EPUBListStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_listManager

◆ m_paragraphManager

EPUBParagraphStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_paragraphManager

◆ m_path

const EPUBPath libepubgen::EPUBHTMLGeneratorImpl::m_path

◆ m_sinkStack

std::stack<std::unique_ptr<TextZoneSink> > libepubgen::EPUBHTMLGeneratorImpl::m_sinkStack
protected

◆ m_spanManager

EPUBSpanStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_spanManager

◆ m_stylesheetPath

const EPUBPath libepubgen::EPUBHTMLGeneratorImpl::m_stylesheetPath

◆ m_tableManager

EPUBTableStyleManager& libepubgen::EPUBHTMLGeneratorImpl::m_tableManager

◆ m_zones

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.13