27 #ifndef _ABW_TEXT_GENERATOR_HXX_ 28 #define _ABW_TEXT_GENERATOR_HXX_ 30 #include <librevenge/librevenge.h> 37 class ABWTextGeneratorPrivate;
50 void setDocumentMetaData(
const librevenge::RVNGPropertyList &propList)
final;
51 void startDocument(
const librevenge::RVNGPropertyList &)
final;
52 void endDocument()
final;
54 void defineEmbeddedFont(
const librevenge::RVNGPropertyList &propList)
final;
56 void definePageStyle(
const librevenge::RVNGPropertyList &)
final;
57 void openPageSpan(
const librevenge::RVNGPropertyList &propList)
final;
58 void closePageSpan()
final;
60 void defineSectionStyle(
const librevenge::RVNGPropertyList &)
final;
61 void openSection(
const librevenge::RVNGPropertyList &propList)
final;
62 void closeSection()
final;
64 void openHeader(
const librevenge::RVNGPropertyList &propList)
final;
65 void closeHeader()
final;
66 void openFooter(
const librevenge::RVNGPropertyList &propList)
final;
67 void closeFooter()
final;
69 void defineParagraphStyle(
const librevenge::RVNGPropertyList &propList)
final;
70 void openParagraph(
const librevenge::RVNGPropertyList &propList)
final;
71 void closeParagraph()
final;
73 void defineCharacterStyle(
const librevenge::RVNGPropertyList &propList)
final;
74 void openSpan(
const librevenge::RVNGPropertyList &propList)
final;
75 void closeSpan()
final;
77 void openLink(
const librevenge::RVNGPropertyList &propList)
final;
78 void closeLink()
final;
80 void insertTab()
final;
81 void insertSpace()
final;
82 void insertText(
const librevenge::RVNGString &text)
final;
83 void insertLineBreak()
final;
84 void insertField(
const librevenge::RVNGPropertyList &propList)
final;
86 void openOrderedListLevel(
const librevenge::RVNGPropertyList &propList)
final;
87 void openUnorderedListLevel(
const librevenge::RVNGPropertyList &propList)
final;
88 void closeOrderedListLevel()
final;
89 void closeUnorderedListLevel()
final;
90 void openListElement(
const librevenge::RVNGPropertyList &propList)
final;
91 void closeListElement()
final;
93 void openFootnote(
const librevenge::RVNGPropertyList &propList)
final;
94 void closeFootnote()
final;
95 void openEndnote(
const librevenge::RVNGPropertyList &propList)
final;
96 void closeEndnote()
final;
97 void openComment(
const librevenge::RVNGPropertyList &propList)
final;
98 void closeComment()
final;
99 void openTextBox(
const librevenge::RVNGPropertyList &propList)
final;
100 void closeTextBox()
final;
102 void openTable(
const librevenge::RVNGPropertyList &propList)
final;
103 void openTableRow(
const librevenge::RVNGPropertyList &propList)
final;
104 void closeTableRow()
final;
105 void openTableCell(
const librevenge::RVNGPropertyList &propList)
final;
106 void closeTableCell()
final;
107 void insertCoveredTableCell(
const librevenge::RVNGPropertyList &propList)
final;
108 void closeTable()
final;
114 void openGroup(
const librevenge::RVNGPropertyList &propList)
final;
115 void closeGroup()
final;
117 void defineGraphicStyle(
const librevenge::RVNGPropertyList &propList)
final;
118 void drawRectangle(
const librevenge::RVNGPropertyList &propList)
final;
119 void drawEllipse(
const librevenge::RVNGPropertyList &propList)
final;
120 void drawPolygon(
const librevenge::RVNGPropertyList &propList)
final;
121 void drawPolyline(
const librevenge::RVNGPropertyList &propList)
final;
122 void drawPath(
const librevenge::RVNGPropertyList &propList)
final;
123 void drawConnector(
const librevenge::RVNGPropertyList &propList)
final;
125 void openFrame(
const librevenge::RVNGPropertyList &propList)
final;
126 void closeFrame()
final;
128 void insertBinaryObject(
const librevenge::RVNGPropertyList &propList)
final;
129 void insertEquation(
const librevenge::RVNGPropertyList &propList)
final;
137 void registerCheckImageHandler(
ABWCheckImage checkHandler,
bool useAlsoDefaultType);
147 void registerEmbeddedImageHandler(
const librevenge::RVNGString &mimeType,
ABWEmbeddedImage imageHandler);
154 void registerEmbeddedObjectHandler(
const librevenge::RVNGString &mimeType,
ABWEmbeddedObject objectHandler);
bool(* ABWEmbeddedImage)(const librevenge::RVNGBinaryData &input, librevenge::RVNGBinaryData &output)
Handler for embedded images.
Definition: ABWDocumentHandler.hxx:48
#define RVNGABWAPI
Definition: librvngabw-api.hxx:36
Definition: ABWDocumentHandler.hxx:30
bool(* ABWEmbeddedObject)(const librevenge::RVNGBinaryData &data, ABWGenerator &generator)
Handler for embedded objects.
Definition: ABWDocumentHandler.hxx:55
ABWTextGeneratorPrivate * m_data
Definition: ABWTextGenerator.hxx:161
XML writer.
Definition: ABWDocumentHandler.hxx:64
bool(* ABWCheckImage)(const librevenge::RVNGString &mimeType, const librevenge::RVNGBinaryData &image)
Handler for to check the images type.
Definition: ABWDocumentHandler.hxx:40
A generator for text documents.
Definition: ABWTextGenerator.hxx:44