Go to the documentation of this file.
21 #ifndef RVNGSVGDRAWINGGENERATOR_H
22 #define RVNGSVGDRAWINGGENERATOR_H
32 struct RVNGSVGDrawingGeneratorPrivate;
51 void endEmbeddedGraphics();
72 void closeTableCell();
74 void endTableObject();
77 void closeOrderedListLevel();
80 void closeUnorderedListLevel();
82 void closeListElement();
86 void closeParagraph();
98 void insertLineBreak();
109 #endif // RVNGSVGDRAWINGGENERATOR_H
const RVNGPropertyListVector * child(const char *name) const
Definition: RVNGPropertyList.cpp:350
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:803
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1117
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGSVGDrawingGenerator.cpp:955
void endTableObject()
Called when the current table is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1163
RVNGSVGDrawingGenerator(const RVNGSVGDrawingGenerator &)
void closeSpan()
Called when a text span is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1077
void void append(const RVNGString &s)
Definition: RVNGString.cpp:211
Definition: RVNGSVGDrawingGenerator.cpp:188
void drawPolygon(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:844
RVNGPropertyListVector m_gradient
Definition: RVNGSVGDrawingGenerator.cpp:203
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:911
RVNGSVGDrawingGenerator & operator=(const RVNGSVGDrawingGenerator &)
bool empty() const
Definition: RVNGString.cpp:252
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1095
void endDocument()
Definition: RVNGSVGDrawingGenerator.cpp:689
RVNGStringVector & m_vec
Definition: RVNGSVGDrawingGenerator.cpp:218
#define RVNG_DEBUG_MSG(M)
Definition: librevenge_internal.h:33
~RVNGSVGDrawingGenerator()
Definition: RVNGSVGDrawingGenerator.cpp:683
void remove(const char *name)
Definition: RVNGPropertyList.cpp:333
Definition: RVNGStringVector.h:33
double m_y
Definition: RVNGSVGDrawingGenerator.cpp:176
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGSVGDrawingGenerator.cpp:691
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:285
void drawRectangle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:808
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1028
void closeGroup()
Definition: RVNGSVGDrawingGenerator.cpp:798
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1123
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1031
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1129
RVNGSVGDrawingGenerator(RVNGStringVector &vec, const RVNGString &nmspace)
Definition: RVNGSVGDrawingGenerator.cpp:678
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1082
double m_x
the origin table position in inches
Definition: RVNGSVGDrawingGenerator.cpp:176
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1029
int m_layerId
layerId used if svg:id is not defined when calling startLayer
Definition: RVNGSVGDrawingGenerator.cpp:212
Definition: RVNGSVGDrawingGenerator.h:35
RVNGString m_masterName
the actual master name
Definition: RVNGSVGDrawingGenerator.cpp:220
int m_shadowIndex
Definition: RVNGSVGDrawingGenerator.cpp:205
std::string const & getNamespaceAndDelim() const
return the namespace and the delimiter
Definition: RVNGSVGDrawingGenerator.cpp:196
void openRow(const RVNGPropertyList &propList)
calls to open a row
Definition: RVNGSVGDrawingGenerator.cpp:130
std::map< int, RVNGPropertyList > m_idSpanMap
Definition: RVNGSVGDrawingGenerator.cpp:201
static unsigned stringToColour(const RVNGString &s)
Definition: RVNGSVGDrawingGenerator.cpp:79
Definition: RVNGPropertyList.h:39
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1151
bool getPosition(int column, int row, double &x, double &y) const
returns the position of a cellule
Definition: RVNGSVGDrawingGenerator.cpp:150
std::vector< double > m_columnsDistanceFromOrigin
the distance of each begin column in inches from origin
Definition: RVNGSVGDrawingGenerator.cpp:178
void openGroup(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:789
void startDocument(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:688
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGSVGDrawingGenerator.cpp:690
Definition: RVNGProperty.h:33
std::string m_nmSpaceAndDelim
a prefix used to define the svg namespace with delimiter
Definition: RVNGSVGDrawingGenerator.cpp:216
void endMasterPage()
Definition: RVNGSVGDrawingGenerator.cpp:742
boost::shared_ptr< Table > m_table
the actual opened table
Definition: RVNGSVGDrawingGenerator.cpp:224
static std::string doubleToString(const double value)
Definition: RVNGSVGDrawingGenerator.cpp:71
void closeListElement()
Called when a list element should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1032
void append(const RVNGString &str)
Definition: RVNGStringVector.cpp:75
UTF-8 string.
Definition: RVNGString.h:34
std::string m_nmSpace
a prefix used to define the svg namespace
Definition: RVNGSVGDrawingGenerator.cpp:214
@ RVNG_POINT
Definition: RVNGProperty.h:30
void drawPolyline(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:837
int m_gradientIndex
Definition: RVNGSVGDrawingGenerator.cpp:205
std::map< RVNGString, std::string > m_masterNameToContentMap
a map master name to master content
Definition: RVNGSVGDrawingGenerator.cpp:222
static double getInchValue(librevenge::RVNGProperty const &prop)
Definition: RVNGSVGDrawingGenerator.cpp:41
void startMasterPage(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:723
void endLayer()
Definition: RVNGSVGDrawingGenerator.cpp:781
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1036
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:786
void startLayer(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:763
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1100
void drawEllipse(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:821
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1107
@ RVNG_INCH
Definition: RVNGProperty.h:30
static RVNGString escapeXML(const RVNGString &s)
Create a new string from s as escaped XML.
Definition: RVNGString.cpp:160
void clear()
Definition: RVNGPropertyList.cpp:355
void drawPath(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:851
@ RVNG_UNIT_ERROR
Definition: RVNGProperty.h:30
int m_groupId
groupId used if svg:id is not defined when calling openGroup
Definition: RVNGSVGDrawingGenerator.cpp:210
@ RVNG_PERCENT
Definition: RVNGProperty.h:30
void startTextObject(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:960
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1157
void closeLink()
Called when the current link is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1083
const char * cstr() const
Definition: RVNGString.cpp:174
static RVNGProperty * newDoubleProp(const double val)
Definition: RVNGProperty.cpp:432
int m_arrowEndIndex
end arrow index
Definition: RVNGSVGDrawingGenerator.cpp:208
virtual RVNGString getStr() const =0
void closeRow()
call to close a row
Definition: RVNGSVGDrawingGenerator.cpp:145
int m_arrowStartIndex
start arrow index
Definition: RVNGSVGDrawingGenerator.cpp:208
int m_patternIndex
index uses when fill=bitmap
Definition: RVNGSVGDrawingGenerator.cpp:207
Table(const RVNGPropertyList &propList)
constructor
Definition: RVNGSVGDrawingGenerator.cpp:102
void drawPolySomething(const RVNGPropertyListVector &vertices, bool isClosed)
Definition: RVNGSVGDrawingGenerator.cpp:248
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:1034
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:1038
Definition: RVNGDrawingInterface.h:32
@ RVNG_GENERIC
Definition: RVNGProperty.h:30
void endEmbeddedGraphics()
Definition: RVNGSVGDrawingGenerator.cpp:787
RVNGSVGDrawingGeneratorPrivate * m_pImpl
Definition: RVNGSVGDrawingGenerator.h:104
Definition: RVNGPropertyListVector.h:35
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1048
Definition: RVNGBinaryData.cpp:39
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1085
basic class used to store table information
Definition: RVNGSVGDrawingGenerator.cpp:100
virtual RVNGUnit getUnit() const =0
returns the property unit when possible.
void sprintf(const char *format,...) REVENGE_ATTRIBUTE_PRINTF(2
Definition: RVNGString.cpp:179
void endTextObject()
Definition: RVNGSVGDrawingGenerator.cpp:1020
void clear()
Definition: RVNGString.cpp:237
RVNGSVGDrawingGeneratorPrivate(RVNGStringVector &vec, const RVNGString &nmSpace)
Definition: RVNGSVGDrawingGenerator.cpp:227
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1090
std::ostringstream m_outputSink
Definition: RVNGSVGDrawingGenerator.cpp:217
int m_column
the actual column
Definition: RVNGSVGDrawingGenerator.cpp:172
void startPage(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:693
void writeStyle(bool isClosed=true)
Definition: RVNGSVGDrawingGenerator.cpp:573
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1035
std::vector< double > m_rowsDistanceFromOrigin
the distance of each begin row in inches from origin
Definition: RVNGSVGDrawingGenerator.cpp:180
@ RVNG_TWIP
Definition: RVNGProperty.h:30
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1026
unsigned long count() const
Definition: RVNGPropertyListVector.cpp:146
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1105
void endPage()
Definition: RVNGSVGDrawingGenerator.cpp:716
#define REVENGE_API
Definition: librevenge-api.h:34
void appendEscapedXML(const RVNGString &s)
Append the content of s as escaped XML.
Definition: RVNGString.cpp:227
int m_row
the actual row
Definition: RVNGSVGDrawingGenerator.cpp:174
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1025
virtual double getDouble() const =0
RVNGPropertyList m_style
Definition: RVNGSVGDrawingGenerator.cpp:204
int len() const
Return the number of UTF-8 characters.
Definition: RVNGString.cpp:242
Generated for librevenge by
doxygen 1.8.18