#include <RVNGRawTextGenerator.h>
Public Member Functions | |
| RVNGRawTextGenerator (bool printCallgraphScore) | |
| ~RVNGRawTextGenerator () | |
| 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 &propList) |
| 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 | defineParagraphStyle (const RVNGPropertyList &propList) |
| void | openParagraph (const RVNGPropertyList &propList) |
| Called when a new paragraph is opened. | |
| void | closeParagraph () |
| Called when a paragraph is closed. | |
| void | defineCharacterStyle (const RVNGPropertyList &propList) |
| 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 | defineSectionStyle (const RVNGPropertyList &propList) |
| void | openSection (const RVNGPropertyList &propList) |
| Called when a new section is opened. | |
| void | closeSection () |
| Called when a section is closed. | |
| void | insertTab () |
| Called when a TAB character should be inserted. | |
| void | insertSpace () |
| Called when an explicit space should be inserted. | |
| void | insertText (const RVNGString &text) |
| Called when a string of text 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. | |
Private Member Functions | |
| RVNGRawTextGenerator (const RVNGRawTextGenerator &other) | |
| RVNGRawTextGenerator & | operator= (const RVNGRawTextGenerator &other) |
Private Attributes | |
| RVNGRawTextGeneratorImpl * | m_impl |
| librevenge::RVNGRawTextGenerator::RVNGRawTextGenerator | ( | const RVNGRawTextGenerator & | other | ) | [private] |
| librevenge::RVNGRawTextGenerator::RVNGRawTextGenerator | ( | bool | printCallgraphScore | ) | [explicit] |
| void librevenge::RVNGRawTextGenerator::closeComment | ( | ) | [virtual] |
Called when a comment or annotation should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeEndnote | ( | ) | [virtual] |
Called when a endnote should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeFooter | ( | ) | [virtual] |
Called when a footer should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeFootnote | ( | ) | [virtual] |
Called when a footnote should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeFrame | ( | ) | [virtual] |
Called when the current positioned box is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeGroup | ( | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeHeader | ( | ) | [virtual] |
Called when a header should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeLink | ( | ) | [virtual] |
Called when the current link is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeListElement | ( | ) | [virtual] |
Called when a list element should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeOrderedListLevel | ( | ) | [virtual] |
Called when an unordered list level should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closePageSpan | ( | ) | [virtual] |
Called when a page span is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeParagraph | ( | ) | [virtual] |
Called when a paragraph is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeSection | ( | ) | [virtual] |
Called when a section is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeSpan | ( | ) | [virtual] |
Called when a text span is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeTable | ( | ) | [virtual] |
Called when the current table is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeTableCell | ( | ) | [virtual] |
Called when the current table cell is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeTableRow | ( | ) | [virtual] |
Called when the current table row is closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeTextBox | ( | ) | [virtual] |
Called when a text box should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::closeUnorderedListLevel | ( | ) | [virtual] |
Called when an ununordered list level should be closed.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::defineCharacterStyle | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::defineEmbeddedFont | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when an embedded font should be defined.
| propList | A set of properties that specify the font. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::defineGraphicStyle | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::definePageStyle | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::defineParagraphStyle | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::defineSectionStyle | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::drawConnector | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::drawEllipse | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::drawPath | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::drawPolygon | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::drawPolyline | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::drawRectangle | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::endDocument | ( | ) | [virtual] |
Called at the end of the parsing process.
This is always the last callback made.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertBinaryObject | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a binary object should be inserted.
| propList | Defines a set of properties for the object. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertCoveredTableCell | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::insertEquation | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a mathml object should be inserted.
| propList | Defines a set of properties for the object.
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertField | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::insertLineBreak | ( | ) | [virtual] |
Called when a line break should be inserted.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertSpace | ( | ) | [virtual] |
Called when an explicit space should be inserted.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertTab | ( | ) | [virtual] |
Called when a TAB character should be inserted.
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::insertText | ( | const RVNGString & | text | ) | [virtual] |
Called when a string of text should be inserted.
| text | A textbuffer encoded as a UTF8 string |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openComment | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openEndnote | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openFooter | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openFootnote | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openFrame | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a positioned box should be opened.
| propList | Defines a set of properties for the box. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openGroup | ( | const librevenge::RVNGPropertyList & | propList | ) | [virtual] |
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openHeader | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openLink | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a link should be opened.
| propList | Defines a set of properties for the link. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openListElement | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a list element should be opened.
| propList | Property list for the paragraph. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openOrderedListLevel | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openPageSpan | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openParagraph | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openSection | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a new section is opened.
| propList | Property list for the section. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openSpan | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a text span is opened.
| propList | Property list for the span. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openTable | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a table should be opened.
| propList | Defines a set of properties for the table. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openTableCell | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a new table cell is opened.
| propList | Property list for the table cell. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openTableRow | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called when a new table row is opened.
| propList | Defines a set of properties for the table row. May contain:
|
Implements librevenge::RVNGTextInterface.
| void librevenge::RVNGRawTextGenerator::openTextBox | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::openUnorderedListLevel | ( | const RVNGPropertyList & | propList | ) | [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.
| RVNGRawTextGenerator& librevenge::RVNGRawTextGenerator::operator= | ( | const RVNGRawTextGenerator & | other | ) | [private] |
| void librevenge::RVNGRawTextGenerator::setDocumentMetaData | ( | const RVNGPropertyList & | propList | ) | [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.
| void librevenge::RVNGRawTextGenerator::startDocument | ( | const RVNGPropertyList & | propList | ) | [virtual] |
Called at the start of the parsing process.
This is always the second callback made.
Implements librevenge::RVNGTextInterface.
Referenced by defineCharacterStyle(), defineEmbeddedFont(), defineGraphicStyle(), definePageStyle(), defineParagraphStyle(), defineSectionStyle(), drawConnector(), drawEllipse(), drawPath(), drawPolygon(), drawPolyline(), drawRectangle(), insertBinaryObject(), insertCoveredTableCell(), insertEquation(), insertField(), insertLineBreak(), insertSpace(), insertTab(), insertText(), setDocumentMetaData(), and ~RVNGRawTextGenerator().