OdtGenerator Class Reference documentation

Public Member Functions | Private Member Functions | Private Attributes | List of all members
OdtGenerator Class Reference

A generator for text documents. More...

`#include <OdtGenerator.hxx>`

Inheritance diagram for OdtGenerator:

## Public Member Functions
| OdtGenerator ()
| ~OdtGenerator ()
void | addDocumentHandler (OdfDocumentHandler *pHandler, const OdfStreamType streamType)
librevenge::RVNGStringVector | getObjectNames () const
bool | getObjectContent (librevenge::RVNGString const &objectName, OdfDocumentHandler *pHandler)
void | setDocumentMetaData (const librevenge::RVNGPropertyList &propList)
void | startDocument (const librevenge::RVNGPropertyList &)
void | endDocument ()
void | defineEmbeddedFont (const librevenge::RVNGPropertyList &propList)
void | definePageStyle (const librevenge::RVNGPropertyList &)
void | openPageSpan (const librevenge::RVNGPropertyList &propList)
void | closePageSpan ()
void | defineSectionStyle (const librevenge::RVNGPropertyList &)
void | openSection (const librevenge::RVNGPropertyList &propList)
void | closeSection ()
void | openHeader (const librevenge::RVNGPropertyList &propList)
void | closeHeader ()
void | openFooter (const librevenge::RVNGPropertyList &propList)
void | closeFooter ()
void | defineParagraphStyle (const librevenge::RVNGPropertyList &propList)
void | openParagraph (const librevenge::RVNGPropertyList &propList)
void | closeParagraph ()
void | defineCharacterStyle (const librevenge::RVNGPropertyList &propList)
void | openSpan (const librevenge::RVNGPropertyList &propList)
void | closeSpan ()
void | openLink (const librevenge::RVNGPropertyList &propList)
void | closeLink ()
void | insertTab ()
void | insertSpace ()
void | insertText (const librevenge::RVNGString &text)
void | insertLineBreak ()
void | insertField (const librevenge::RVNGPropertyList &propList)
void | openOrderedListLevel (const librevenge::RVNGPropertyList &propList)
void | openUnorderedListLevel (const librevenge::RVNGPropertyList &propList)
void | closeOrderedListLevel ()
void | closeUnorderedListLevel ()
void | openListElement (const librevenge::RVNGPropertyList &propList)
void | closeListElement ()
void | openFootnote (const librevenge::RVNGPropertyList &propList)
void | closeFootnote ()
void | openEndnote (const librevenge::RVNGPropertyList &propList)
void | closeEndnote ()
void | openComment (const librevenge::RVNGPropertyList &propList)
void | closeComment ()
void | openTextBox (const librevenge::RVNGPropertyList &propList)
void | closeTextBox ()
void | openTable (const librevenge::RVNGPropertyList &propList)
void | openTableRow (const librevenge::RVNGPropertyList &propList)
void | closeTableRow ()
void | openTableCell (const librevenge::RVNGPropertyList &propList)
void | closeTableCell ()
void | insertCoveredTableCell (const librevenge::RVNGPropertyList &propList)
void | closeTable ()
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 librevenge::RVNGPropertyList &propList)
void | openFrame (const librevenge::RVNGPropertyList &propList)
void | closeFrame ()
void | insertBinaryObject (const librevenge::RVNGPropertyList &propList)
void | insertEquation (const librevenge::RVNGPropertyList &propList)
void | registerEmbeddedObjectHandler (const librevenge::RVNGString &mimeType, OdfEmbeddedObject objectHandler)
| Registers a handler for embedded objects. More...
void | registerEmbeddedImageHandler (const librevenge::RVNGString &mimeType, OdfEmbeddedImage imageHandler)
| Registers a handler for embedded images. More...
void | initStateWith (OdfGenerator const &orig)
| retrieve data from another odfgenerator ( the list and the embedded handler) More...

## Private Member Functions
| OdtGenerator (OdtGenerator const &)
OdtGenerator & | operator= (OdtGenerator const &)

## Private Attributes
OdtGeneratorPrivate * | mpImpl

## Detailed Description

A generator for text documents.

See `librevenge` library for documentation of the ::librevenge::RVNGTextInterface interface.

## Constructor & Destructor Documentation

## ◆ OdtGenerator() [1/2]

OdtGenerator::OdtGenerator | ( |  | ) |

## ◆ ~OdtGenerator()

OdtGenerator::~OdtGenerator | ( |  | ) |

## ◆ OdtGenerator() [2/2]

OdtGenerator::OdtGenerator | ( | OdtGenerator const & |  | ) |
| private

## Member Function Documentation

## ◆ addDocumentHandler()

void OdtGenerator::addDocumentHandler | ( | OdfDocumentHandler * | pHandler,
|  | const OdfStreamType | streamType
| ) |  |

## ◆ closeComment()

void OdtGenerator::closeComment | ( |  | ) |

## ◆ closeEndnote()

void OdtGenerator::closeEndnote | ( |  | ) |

## ◆ closeFooter()

void OdtGenerator::closeFooter | ( |  | ) |

## ◆ closeFootnote()

void OdtGenerator::closeFootnote | ( |  | ) |

## ◆ closeFrame()

void OdtGenerator::closeFrame | ( |  | ) |

## ◆ closeGroup()

void OdtGenerator::closeGroup | ( |  | ) |

## ◆ closeHeader()

void OdtGenerator::closeHeader | ( |  | ) |

## ◆ closeLink()

void OdtGenerator::closeLink | ( |  | ) |

## ◆ closeListElement()

void OdtGenerator::closeListElement | ( |  | ) |

## ◆ closeOrderedListLevel()

void OdtGenerator::closeOrderedListLevel | ( |  | ) |

## ◆ closePageSpan()

void OdtGenerator::closePageSpan | ( |  | ) |

## ◆ closeParagraph()

void OdtGenerator::closeParagraph | ( |  | ) |

## ◆ closeSection()

void OdtGenerator::closeSection | ( |  | ) |

## ◆ closeSpan()

void OdtGenerator::closeSpan | ( |  | ) |

## ◆ closeTable()

void OdtGenerator::closeTable | ( |  | ) |

## ◆ closeTableCell()

void OdtGenerator::closeTableCell | ( |  | ) |

## ◆ closeTableRow()

void OdtGenerator::closeTableRow | ( |  | ) |

## ◆ closeTextBox()

void OdtGenerator::closeTextBox | ( |  | ) |

## ◆ closeUnorderedListLevel()

void OdtGenerator::closeUnorderedListLevel | ( |  | ) |

## ◆ defineCharacterStyle()

void OdtGenerator::defineCharacterStyle | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ defineEmbeddedFont()

void OdtGenerator::defineEmbeddedFont | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ defineGraphicStyle()

void OdtGenerator::defineGraphicStyle | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ definePageStyle()

void OdtGenerator::definePageStyle | ( | const librevenge::RVNGPropertyList & |  | ) |

## ◆ defineParagraphStyle()

void OdtGenerator::defineParagraphStyle | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ defineSectionStyle()

void OdtGenerator::defineSectionStyle | ( | const librevenge::RVNGPropertyList & |  | ) |

## ◆ drawConnector()

void OdtGenerator::drawConnector | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ drawEllipse()

void OdtGenerator::drawEllipse | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ drawPath()

void OdtGenerator::drawPath | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ drawPolygon()

void OdtGenerator::drawPolygon | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ drawPolyline()

void OdtGenerator::drawPolyline | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ drawRectangle()

void OdtGenerator::drawRectangle | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ endDocument()

void OdtGenerator::endDocument | ( |  | ) |

## ◆ getObjectContent()

bool OdtGenerator::getObjectContent | ( | librevenge::RVNGString const & | objectName,
|  | OdfDocumentHandler * | pHandler
| ) |  |

## ◆ getObjectNames()

librevenge::RVNGStringVector OdtGenerator::getObjectNames | ( |  | ) | const

## ◆ initStateWith()

void OdtGenerator::initStateWith | ( | OdfGenerator const & | orig | ) |

retrieve data from another odfgenerator ( the list and the embedded handler)

## ◆ insertBinaryObject()

void OdtGenerator::insertBinaryObject | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ insertCoveredTableCell()

void OdtGenerator::insertCoveredTableCell | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ insertEquation()

void OdtGenerator::insertEquation | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ insertField()

void OdtGenerator::insertField | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ insertLineBreak()

void OdtGenerator::insertLineBreak | ( |  | ) |

## ◆ insertSpace()

void OdtGenerator::insertSpace | ( |  | ) |

## ◆ insertTab()

void OdtGenerator::insertTab | ( |  | ) |

## ◆ insertText()

void OdtGenerator::insertText | ( | const librevenge::RVNGString & | text | ) |

## ◆ openComment()

void OdtGenerator::openComment | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openEndnote()

void OdtGenerator::openEndnote | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openFooter()

void OdtGenerator::openFooter | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openFootnote()

void OdtGenerator::openFootnote | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openFrame()

void OdtGenerator::openFrame | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openGroup()

void OdtGenerator::openGroup | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openHeader()

void OdtGenerator::openHeader | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openLink()

void OdtGenerator::openLink | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openListElement()

void OdtGenerator::openListElement | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openOrderedListLevel()

void OdtGenerator::openOrderedListLevel | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openPageSpan()

void OdtGenerator::openPageSpan | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openParagraph()

void OdtGenerator::openParagraph | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openSection()

void OdtGenerator::openSection | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openSpan()

void OdtGenerator::openSpan | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openTable()

void OdtGenerator::openTable | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openTableCell()

void OdtGenerator::openTableCell | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openTableRow()

void OdtGenerator::openTableRow | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openTextBox()

void OdtGenerator::openTextBox | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ openUnorderedListLevel()

void OdtGenerator::openUnorderedListLevel | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ operator=()

OdtGenerator& OdtGenerator::operator= | ( | OdtGenerator const & |  | ) |
| private

## ◆ registerEmbeddedImageHandler()

void OdtGenerator::registerEmbeddedImageHandler | ( | const librevenge::RVNGString & | mimeType,
|  | OdfEmbeddedImage | imageHandler
| ) |  |

Registers a handler for embedded images.

The handler converts the image to a format suitable for the used OdfDocumentHandler.

Parameters

  [in] | mimeType | MIME type of the image
  [in] | imageHandler | a function that handles processing of the images's data and generating output

## ◆ registerEmbeddedObjectHandler()

void OdtGenerator::registerEmbeddedObjectHandler | ( | const librevenge::RVNGString & | mimeType,
|  | OdfEmbeddedObject | objectHandler
| ) |  |

Registers a handler for embedded objects.

Parameters

  [in] | mimeType | MIME type of the object
  [in] | objectHandler | a function that handles processing of the object's data and generating output

## ◆ setDocumentMetaData()

void OdtGenerator::setDocumentMetaData | ( | const librevenge::RVNGPropertyList & | propList | ) |

## ◆ startDocument()

void OdtGenerator::startDocument | ( | const librevenge::RVNGPropertyList & |  | ) |

## Member Data Documentation

## ◆ mpImpl

OdtGeneratorPrivate* OdtGenerator::mpImpl
| private

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

- OdtGenerator.hxx