36 #ifndef __MWAW_GRAPHIC_INTERFACE_HXX__
37 #define __MWAW_GRAPHIC_INTERFACE_HXX__
39 #include <libwpd/libwpd.h>
44 namespace MWAWGraphicInterfaceInternal
125 void startPage(const ::WPXPropertyList &propList);
129 void setStyle(const ::WPXPropertyList &propList, const ::WPXPropertyListVector &gradient);
131 void startLayer(const ::WPXPropertyList &propList);
142 void drawEllipse(const ::WPXPropertyList &propList);
144 void drawPolygon(const ::WPXPropertyListVector &vertices);
146 void drawPolyline(const ::WPXPropertyListVector &vertices);
148 void drawPath(const ::WPXPropertyListVector &path);
151 void drawGraphicObject(const ::WPXPropertyList &propList, const ::WPXBinaryData &binaryData);
154 void startTextObject(const ::WPXPropertyList &propList, const ::WPXPropertyListVector &path);
186 void insertField(
const WPXString &type,
const WPXPropertyList &propList);
254 void openListElement(
const WPXPropertyList &propList,
const WPXPropertyListVector &tabStops);
278 void openParagraph(
const WPXPropertyList &propList,
const WPXPropertyListVector &tabStops);
301 void openSpan(
const WPXPropertyList &propList);
310 shared_ptr<MWAWGraphicInterfaceInternal::State>
m_state;
void drawEllipse(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:174
void closeListElement()
Called when a list element should be closed.
Definition: MWAWGraphicInterface.cxx:262
void insertField(const WPXString &type, const WPXPropertyList &propList)
Called when a field should be inserted.
Definition: MWAWGraphicInterface.cxx:234
void insertTab()
Called when a TAB character should be inserted.
Definition: MWAWGraphicInterface.cxx:214
void openOrderedListLevel(const WPXPropertyList &)
Called when a new ordered list level should be opened Argument defines a set of properties for the li...
Definition: MWAWGraphicInterface.hxx:217
void defineOrderedListLevel(const WPXPropertyList &propList)
Defines an ordered (enumerated) list level.
Definition: MWAWGraphicInterface.cxx:247
void startLayer(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:148
void endLayer()
Definition: MWAWGraphicInterface.cxx:153
void openUnorderedListLevel(const WPXPropertyList &)
Called when a new unordered list level should be opened Argument defines a set of properties for the ...
Definition: MWAWGraphicInterface.hxx:225
shared_ptr< MWAWGraphicInterfaceInternal::State > m_state
the actual state
Definition: MWAWGraphicInterface.hxx:310
void drawRectangle(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:168
void closeParagraph()
Called when a paragraph is closed.
Definition: MWAWGraphicInterface.cxx:272
void setDocumentMetaData(const WPXPropertyList &propList)
Called when all document metadata should be set.
Definition: MWAWGraphicInterface.cxx:130
void closeSpan()
Called when a text span is closed.
Definition: MWAWGraphicInterface.cxx:282
write in WPXBinaryData a list of tags/and properties
Definition: MWAWPropertyHandler.hxx:99
~MWAWGraphicInterface()
destructor
Definition: MWAWGraphicInterface.cxx:108
void openListElement(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops)
Called when a list element should be opened.
Definition: MWAWGraphicInterface.cxx:257
bool getBinaryResult(WPXBinaryData &result, std::string &mimeType)
return the final graphic
Definition: MWAWGraphicInterface.cxx:112
void drawPolyline(const ::WPXPropertyListVector &vertices)
Definition: MWAWGraphicInterface.cxx:186
void insertSpace()
Called when an explicit space should be inserted.
Definition: MWAWGraphicInterface.cxx:219
void startTextObject(const ::WPXPropertyList &propList, const ::WPXPropertyListVector &path)
Definition: MWAWGraphicInterface.cxx:204
void startEmbeddedGraphics(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:158
void openParagraph(const WPXPropertyList &propList, const WPXPropertyListVector &tabStops)
Called when a new paragraph is opened.
Definition: MWAWGraphicInterface.cxx:267
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: MWAWGraphicInterface.hxx:235
main class used to define the final interface to generate picture
Definition: MWAWGraphicInterface.hxx:52
void drawGraphicObject(const ::WPXPropertyList &propList, const ::WPXBinaryData &binaryData)
Definition: MWAWGraphicInterface.cxx:198
void startPage(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:134
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: MWAWGraphicInterface.hxx:230
void endTextObject()
Definition: MWAWGraphicInterface.cxx:209
void endDocument()
Definition: MWAWGraphicInterface.cxx:125
void insertLineBreak()
Called when a line break should be inserted.
Definition: MWAWGraphicInterface.cxx:229
void openSpan(const WPXPropertyList &propList)
Called when a text span is opened.
Definition: MWAWGraphicInterface.cxx:277
void endEmbeddedGraphics()
Definition: MWAWGraphicInterface.cxx:163
void drawPath(const ::WPXPropertyListVector &path)
Definition: MWAWGraphicInterface.cxx:192
void startDocument(const ::WPXPropertyList &propList)
Definition: MWAWGraphicInterface.cxx:120
void insertText(const WPXString &text)
Called when a string of text should be inserted.
Definition: MWAWGraphicInterface.cxx:224
MWAWGraphicInterface()
constructor
Definition: MWAWGraphicInterface.cxx:104
void defineUnorderedListLevel(const WPXPropertyList &propList)
Defines an unordered (unenumerated) list level.
Definition: MWAWGraphicInterface.cxx:252
void endPage()
Definition: MWAWGraphicInterface.cxx:138
void setStyle(const ::WPXPropertyList &propList, const ::WPXPropertyListVector &gradient)
Definition: MWAWGraphicInterface.cxx:142
void drawPolygon(const ::WPXPropertyListVector &vertices)
Definition: MWAWGraphicInterface.cxx:180