#include <RVNGHTMLTextGenerator.h>
Public Member Functions | |
RVNGHTMLTextGenerator (RVNGString &document) | |
~RVNGHTMLTextGenerator () | |
void | setDocumentMetaData (const RVNGPropertyList &propList) |
Called when all document metadata should be set. | |
void | startDocument (const RVNGPropertyList &propList) |
Called at the start of the parsing process. | |
void | endDocument () |
Called at the end of the parsing process. | |
void | defineEmbeddedFont (const RVNGPropertyList &propList) |
Called when an embedded font should be defined. | |
void | definePageStyle (const RVNGPropertyList &) |
void | openPageSpan (const RVNGPropertyList &propList) |
Called when a new page span is opened. | |
void | closePageSpan () |
Called when a page span is closed. | |
void | openHeader (const RVNGPropertyList &propList) |
Called when a header should be opened (a sub-document will be placed inside of it). | |
void | closeHeader () |
Called when a header should be closed. | |
void | openFooter (const RVNGPropertyList &propList) |
Called when a footer should be opened (a sub-document will be placed inside of it). | |
void | closeFooter () |
Called when a footer should be closed. | |
void | defineSectionStyle (const RVNGPropertyList &) |
void | openSection (const RVNGPropertyList &propList) |
Called when a new section is opened. | |
void | closeSection () |
Called when a section is closed. | |
void | defineParagraphStyle (const RVNGPropertyList &) |
void | openParagraph (const RVNGPropertyList &propList) |
Called when a new paragraph is opened. | |
void | closeParagraph () |
Called when a paragraph is closed. | |
void | defineCharacterStyle (const RVNGPropertyList &) |
void | openSpan (const RVNGPropertyList &propList) |
Called when a text span is opened. | |
void | closeSpan () |
Called when a text span is closed. | |
void | openLink (const RVNGPropertyList &propList) |
Called when a link should be opened. | |
void | closeLink () |
Called when the current link is closed. | |
void | insertTab () |
Called when a TAB character should be inserted. | |
void | insertText (const RVNGString &text) |
Called when a string of text should be inserted. | |
void | insertSpace () |
Called when an explicit space should be inserted. | |
void | insertLineBreak () |
Called when a line break should be inserted. | |
void | insertField (const RVNGPropertyList &propList) |
Called when a field should be inserted. | |
void | openOrderedListLevel (const RVNGPropertyList &propList) |
Called when a new ordered list level should be opened. | |
void | openUnorderedListLevel (const RVNGPropertyList &propList) |
Called when a new unordered list level should be opened. | |
void | closeOrderedListLevel () |
Called when an unordered list level should be closed. | |
void | closeUnorderedListLevel () |
Called when an ununordered list level should be closed. | |
void | openListElement (const RVNGPropertyList &propList) |
Called when a list element should be opened. | |
void | closeListElement () |
Called when a list element should be closed. | |
void | openFootnote (const RVNGPropertyList &propList) |
Called when a footnote should be opened (a sub-document will be placed inside of it) | |
void | closeFootnote () |
Called when a footnote should be closed. | |
void | openEndnote (const RVNGPropertyList &propList) |
Called when a endnote should be opened (a sub-document will be placed inside of it) | |
void | closeEndnote () |
Called when a endnote should be closed. | |
void | openComment (const RVNGPropertyList &propList) |
Called when a comment or annotation should be opened (a sub-document will be placed inside of it) | |
void | closeComment () |
Called when a comment or annotation should be closed. | |
void | openTextBox (const RVNGPropertyList &propList) |
Called when a text box should be opened (a sub-document will be placed inside of it) | |
void | closeTextBox () |
Called when a text box should be closed. | |
void | openTable (const RVNGPropertyList &propList) |
Called when a table should be opened. | |
void | openTableRow (const RVNGPropertyList &propList) |
Called when a new table row is opened. | |
void | closeTableRow () |
Called when the current table row is closed. | |
void | openTableCell (const RVNGPropertyList &propList) |
Called when a new table cell is opened. | |
void | closeTableCell () |
Called when the current table cell is closed. | |
void | insertCoveredTableCell (const RVNGPropertyList &propList) |
Called when a covered (spanned by another cell in the table) table cell is opened. | |
void | closeTable () |
Called when the current table is closed. | |
void | openFrame (const RVNGPropertyList &propList) |
Called when a positioned box should be opened. | |
void | closeFrame () |
Called when the current positioned box is closed. | |
void | openGroup (const librevenge::RVNGPropertyList &propList) |
void | closeGroup () |
void | defineGraphicStyle (const librevenge::RVNGPropertyList &propList) |
void | drawRectangle (const librevenge::RVNGPropertyList &propList) |
void | drawEllipse (const librevenge::RVNGPropertyList &propList) |
void | drawPolygon (const librevenge::RVNGPropertyList &propList) |
void | drawPolyline (const librevenge::RVNGPropertyList &propList) |
void | drawPath (const librevenge::RVNGPropertyList &propList) |
void | drawConnector (const RVNGPropertyList &propList) |
Draw a connector. | |
void | insertBinaryObject (const RVNGPropertyList &propList) |
Called when a binary object should be inserted. | |
void | insertEquation (const RVNGPropertyList &propList) |
Called when a mathml object should be inserted. | |
Public Member Functions inherited from librevenge::RVNGTextInterface | |
virtual | ~RVNGTextInterface () |
Private Member Functions | |
RVNGHTMLTextGenerator (const RVNGHTMLTextGenerator &) | |
RVNGHTMLTextGenerator & | operator= (const RVNGHTMLTextGenerator &) |
Private Attributes | |
RVNGHTMLTextGeneratorImpl * | m_impl |
|
explicit |
Referenced by operator=(), and RVNGHTMLTextGenerator().
librevenge::RVNGHTMLTextGenerator::~RVNGHTMLTextGenerator | ( | ) |
|
private |
|
virtual |
Called when a comment or annotation should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a endnote should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a footer should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a footnote should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when the current positioned box is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a header should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when the current link is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a list element should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when an unordered list level should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a page span is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a paragraph is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a section is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a text span is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when the current table is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when the current table cell is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when the current table row is closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a text box should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when an ununordered list level should be closed.
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when an embedded font should be defined.
propList | A set of properties that specify the font. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Draw a connector.
The connector will be typically between two shapes, but free-standing connectors are allowed too.
propList | Defines a set of properties for the object. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called at the end of the parsing process.
This is always the last callback made.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a binary object should be inserted.
propList | Defines a set of properties for the object. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a covered (spanned by another cell in the table) table cell is opened.
propList | Property list for the table cell. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a mathml object should be inserted.
propList | Defines a set of properties for the object.
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a field should be inserted.
Field types may include:
librevenge:field-type
field types may include:text:page-number
Current page numbertext:page-count
Total # of pages in documentstyle:num-format
Type of page number (for page number) Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a line break should be inserted.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when an explicit space should be inserted.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a TAB character should be inserted.
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a string of text should be inserted.
text | A textbuffer encoded as a UTF8 string |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a comment or annotation should be opened (a sub-document will be placed inside of it)
propList | Defines a set of properties for the comment or annotation. |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a endnote should be opened (a sub-document will be placed inside of it)
propList | Defines a set of properties for the endnote. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a footer should be opened (a sub-document will be placed inside of it).
propList | Property list for the footer. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a footnote should be opened (a sub-document will be placed inside of it)
propList | Defines a set of properties for the footnote. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a positioned box should be opened.
propList | Defines a set of properties for the box. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a header should be opened (a sub-document will be placed inside of it).
propList | Property list for the header. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a link should be opened.
propList | Defines a set of properties for the link. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a list element should be opened.
propList | Property list for the paragraph. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new ordered list level should be opened.
propList | Defines a set of properties for the list level. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new page span is opened.
This will always be called before any actual content is placed into the document.
propList | Property list for the page span. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new paragraph is opened.
This (or openListElement) will always be called before any text or span is placed into the document.
propList | Property list for the paragraph. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new section is opened.
propList | Property list for the section. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a text span is opened.
propList | Property list for the span. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a table should be opened.
propList | Defines a set of properties for the table. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new table cell is opened.
propList | Property list for the table cell. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new table row is opened.
propList | Defines a set of properties for the table row. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a text box should be opened (a sub-document will be placed inside of it)
propList | Defines a set of properties for the text box. |
Implements librevenge::RVNGTextInterface.
|
virtual |
Called when a new unordered list level should be opened.
propList | Defines a set of properties for the list level. May contain:
|
Implements librevenge::RVNGTextInterface.
|
private |
|
virtual |
Called when all document metadata should be set.
This is always the first callback made.
propList | Property list for the metadata. May contain:
|
Implements librevenge::RVNGTextInterface.
|
virtual |
Called at the start of the parsing process.
This is always the second callback made.
Implements librevenge::RVNGTextInterface.
|
private |
Referenced by closeComment(), closeEndnote(), closeFooter(), closeFootnote(), closeHeader(), closeLink(), closeListElement(), closeOrderedListLevel(), closeParagraph(), closeSpan(), closeTable(), closeTableCell(), closeTableRow(), closeTextBox(), closeUnorderedListLevel(), defineCharacterStyle(), defineParagraphStyle(), endDocument(), insertField(), insertLineBreak(), insertSpace(), insertTab(), insertText(), openComment(), openEndnote(), openFooter(), openFootnote(), openHeader(), openLink(), openListElement(), openOrderedListLevel(), openPageSpan(), openParagraph(), openSpan(), openTable(), openTableCell(), openTableRow(), openTextBox(), openUnorderedListLevel(), RVNGHTMLTextGenerator(), setDocumentMetaData(), and ~RVNGHTMLTextGenerator().