Listener for the {X,P}HTML and MHT document generators. More...
#include <ie_exp_HTML_Listener.h>
Public Member Functions | |
virtual | ~IE_Exp_HTML_ListenerImpl () |
virtual void | openSpan (const gchar *szStyleName, const UT_UTF8String &style)=0 |
virtual void | closeSpan ()=0 |
virtual void | openHeading (size_t level, const gchar *id, const gchar *szStyleName, const PP_AttrProp *pAP)=0 |
virtual void | closeHeading ()=0 |
virtual void | openBlock (const gchar *szStyleName, const UT_UTF8String &style, const PP_AttrProp *pAP)=0 |
virtual void | closeBlock ()=0 |
virtual void | openSection (const gchar *szStyleName)=0 |
virtual void | closeSection ()=0 |
virtual void | openField (const UT_UTF8String &fieldType, const UT_UTF8String &fieldValue)=0 |
virtual void | closeField (const UT_UTF8String &fieldType)=0 |
virtual void | openTable (const UT_UTF8String &style, const UT_UTF8String &cellPadding, const UT_UTF8String &border)=0 |
virtual void | closeTable ()=0 |
virtual void | openRow ()=0 |
virtual void | closeRow ()=0 |
virtual void | openCell (const UT_UTF8String &, const UT_UTF8String &, const UT_UTF8String &)=0 |
virtual void | closeCell ()=0 |
virtual void | openAnnotation ()=0 |
virtual void | closeAnnotation ()=0 |
virtual void | openTextbox (const UT_UTF8String &style)=0 |
virtual void | closeTextbox ()=0 |
virtual void | openBookmark (const gchar *szBookmarkName)=0 |
virtual void | closeBookmark ()=0 |
virtual void | openHyperlink (const gchar *szUri, const gchar *szStyleName, const gchar *szId)=0 |
virtual void | closeHyperlink ()=0 |
virtual void | openList (bool ordered, const gchar *szStyleName, const PP_AttrProp *pAP)=0 |
virtual void | closeList ()=0 |
virtual void | openListItem ()=0 |
virtual void | closeListItem ()=0 |
virtual void | openDocument ()=0 |
virtual void | closeDocument ()=0 |
virtual void | openHead ()=0 |
virtual void | closeHead ()=0 |
virtual void | openBody ()=0 |
virtual void | closeBody ()=0 |
virtual void | insertDTD ()=0 |
virtual void | insertLink (const UT_UTF8String &rel, const UT_UTF8String &type, const UT_UTF8String &uri)=0 |
virtual void | insertMeta (const std::string &name, const std::string &content, const std::string &httpEquiv)=0 |
virtual void | insertMath (const UT_UTF8String &mathml, const UT_UTF8String &width, const UT_UTF8String &height)=0 |
virtual void | insertImage (const UT_UTF8String &url, const UT_UTF8String &align, const UT_UTF8String &style, const UT_UTF8String &title, const UT_UTF8String &alt)=0 |
virtual void | insertText (const UT_UTF8String &text)=0 |
virtual void | insertTOC (const gchar *title, const std::vector< UT_UTF8String > &items, const std::vector< UT_UTF8String > &itemUri)=0 |
virtual void | insertEndnotes (const std::vector< UT_UTF8String > &endnotes)=0 |
virtual void | insertFootnotes (const std::vector< UT_UTF8String > &footnotes)=0 |
virtual void | insertAnnotations (const std::vector< UT_UTF8String > &titles, const std::vector< UT_UTF8String > &authors, const std::vector< UT_UTF8String > &annotations)=0 |
virtual void | insertStyle (const UT_UTF8String &style)=0 |
virtual void | insertJavaScript (const gchar *src, const gchar *script)=0 |
virtual void | insertTitle (const std::string &title)=0 |
virtual void | insertLineFeed (void)=0 |
Listener for the {X,P}HTML and MHT document generators.
Contains all methods that can be handled to generate complete document.
virtual IE_Exp_HTML_ListenerImpl::~IE_Exp_HTML_ListenerImpl | ( | ) | [inline, virtual] |
virtual void IE_Exp_HTML_ListenerImpl::closeAnnotation | ( | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeAnnotation().
virtual void IE_Exp_HTML_ListenerImpl::closeBlock | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeBlock().
virtual void IE_Exp_HTML_ListenerImpl::closeBody | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeBody().
virtual void IE_Exp_HTML_ListenerImpl::closeBookmark | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeBookmark().
virtual void IE_Exp_HTML_ListenerImpl::closeCell | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeCell().
virtual void IE_Exp_HTML_ListenerImpl::closeDocument | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeDocument().
virtual void IE_Exp_HTML_ListenerImpl::closeField | ( | const UT_UTF8String & | fieldType | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeField().
virtual void IE_Exp_HTML_ListenerImpl::closeHead | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeHead().
virtual void IE_Exp_HTML_ListenerImpl::closeHeading | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeHeading().
virtual void IE_Exp_HTML_ListenerImpl::closeHyperlink | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeHyperlink().
virtual void IE_Exp_HTML_ListenerImpl::closeList | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeList().
virtual void IE_Exp_HTML_ListenerImpl::closeListItem | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeListItem().
virtual void IE_Exp_HTML_ListenerImpl::closeRow | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeRow().
virtual void IE_Exp_HTML_ListenerImpl::closeSection | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeSection().
virtual void IE_Exp_HTML_ListenerImpl::closeSpan | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeSpan().
virtual void IE_Exp_HTML_ListenerImpl::closeTable | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeTable().
virtual void IE_Exp_HTML_ListenerImpl::closeTextbox | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeTextbox().
virtual void IE_Exp_HTML_ListenerImpl::insertAnnotations | ( | const std::vector< UT_UTF8String > & | titles, | |
const std::vector< UT_UTF8String > & | authors, | |||
const std::vector< UT_UTF8String > & | annotations | |||
) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertAnnotations().
virtual void IE_Exp_HTML_ListenerImpl::insertDTD | ( | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, IE_Exp_HTML_DocumentWriter, IE_Exp_HTML_XHTMLWriter, and IE_Exp_HTML_HTML4Writer.
Referenced by IE_Exp_HTML_Listener::_insertDTD().
virtual void IE_Exp_HTML_ListenerImpl::insertEndnotes | ( | const std::vector< UT_UTF8String > & | endnotes | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_closeSection(), and IE_Exp_HTML_Listener::_insertEndnotes().
virtual void IE_Exp_HTML_ListenerImpl::insertFootnotes | ( | const std::vector< UT_UTF8String > & | footnotes | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertFootnotes().
virtual void IE_Exp_HTML_ListenerImpl::insertImage | ( | const UT_UTF8String & | url, | |
const UT_UTF8String & | align, | |||
const UT_UTF8String & | style, | |||
const UT_UTF8String & | title, | |||
const UT_UTF8String & | alt | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_handleImage().
virtual void IE_Exp_HTML_ListenerImpl::insertJavaScript | ( | const gchar * | src, | |
const gchar * | script | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
virtual void IE_Exp_HTML_ListenerImpl::insertLineFeed | ( | void | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_outputData().
virtual void IE_Exp_HTML_ListenerImpl::insertLink | ( | const UT_UTF8String & | rel, | |
const UT_UTF8String & | type, | |||
const UT_UTF8String & | uri | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertLinkToStyle().
virtual void IE_Exp_HTML_ListenerImpl::insertMath | ( | const UT_UTF8String & | mathml, | |
const UT_UTF8String & | width, | |||
const UT_UTF8String & | height | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertMath().
virtual void IE_Exp_HTML_ListenerImpl::insertMeta | ( | const std::string & | name, | |
const std::string & | content, | |||
const std::string & | httpEquiv | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertMeta().
virtual void IE_Exp_HTML_ListenerImpl::insertStyle | ( | const UT_UTF8String & | style | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertStyle().
virtual void IE_Exp_HTML_ListenerImpl::insertText | ( | const UT_UTF8String & | text | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_outputData().
virtual void IE_Exp_HTML_ListenerImpl::insertTitle | ( | const std::string & | title | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertTitle().
virtual void IE_Exp_HTML_ListenerImpl::insertTOC | ( | const gchar * | title, | |
const std::vector< UT_UTF8String > & | items, | |||
const std::vector< UT_UTF8String > & | itemUri | |||
) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_insertTOC().
virtual void IE_Exp_HTML_ListenerImpl::openAnnotation | ( | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, and IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openAnnotation().
virtual void IE_Exp_HTML_ListenerImpl::openBlock | ( | const gchar * | szStyleName, | |
const UT_UTF8String & | style, | |||
const PP_AttrProp * | pAP | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter, and IE_Exp_HTML_XHTMLWriter.
Referenced by IE_Exp_HTML_Listener::_openBlock().
virtual void IE_Exp_HTML_ListenerImpl::openBody | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openBody().
virtual void IE_Exp_HTML_ListenerImpl::openBookmark | ( | const gchar * | szBookmarkName | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openBookmark().
virtual void IE_Exp_HTML_ListenerImpl::openCell | ( | const UT_UTF8String & | , | |
const UT_UTF8String & | , | |||
const UT_UTF8String & | ||||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openCell().
virtual void IE_Exp_HTML_ListenerImpl::openDocument | ( | ) | [pure virtual] |
Implemented in IE_Exp_EPUB_EPUB3Writer, IE_Exp_HTML_DocumentWriter, and IE_Exp_HTML_XHTMLWriter.
Referenced by IE_Exp_HTML_Listener::_openDocument().
virtual void IE_Exp_HTML_ListenerImpl::openField | ( | const UT_UTF8String & | fieldType, | |
const UT_UTF8String & | fieldValue | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openField().
virtual void IE_Exp_HTML_ListenerImpl::openHead | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter, IE_Exp_HTML_XHTMLWriter, and IE_Exp_HTML_HTML4Writer.
Referenced by IE_Exp_HTML_Listener::_openHead().
virtual void IE_Exp_HTML_ListenerImpl::openHeading | ( | size_t | level, | |
const gchar * | id, | |||
const gchar * | szStyleName, | |||
const PP_AttrProp * | pAP | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter, and IE_Exp_HTML_XHTMLWriter.
Referenced by IE_Exp_HTML_Listener::_openHeading().
virtual void IE_Exp_HTML_ListenerImpl::openHyperlink | ( | const gchar * | szUri, | |
const gchar * | szStyleName, | |||
const gchar * | szId | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openHyperlink().
virtual void IE_Exp_HTML_ListenerImpl::openList | ( | bool | ordered, | |
const gchar * | szStyleName, | |||
const PP_AttrProp * | pAP | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter, and IE_Exp_HTML_XHTMLWriter.
Referenced by IE_Exp_HTML_Listener::_openList().
virtual void IE_Exp_HTML_ListenerImpl::openListItem | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openListItem().
virtual void IE_Exp_HTML_ListenerImpl::openRow | ( | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openRow().
virtual void IE_Exp_HTML_ListenerImpl::openSection | ( | const gchar * | szStyleName | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openSection().
virtual void IE_Exp_HTML_ListenerImpl::openSpan | ( | const gchar * | szStyleName, | |
const UT_UTF8String & | style | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openSpan().
virtual void IE_Exp_HTML_ListenerImpl::openTable | ( | const UT_UTF8String & | style, | |
const UT_UTF8String & | cellPadding, | |||
const UT_UTF8String & | border | |||
) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openTable().
virtual void IE_Exp_HTML_ListenerImpl::openTextbox | ( | const UT_UTF8String & | style | ) | [pure virtual] |
Implemented in IE_Exp_HTML_DocumentWriter.
Referenced by IE_Exp_HTML_Listener::_openTextbox().