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:312
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:806
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1120
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGSVGDrawingGenerator.cpp:958
void endTableObject()
Called when the current table is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1166
RVNGSVGDrawingGenerator(const RVNGSVGDrawingGenerator &)
void closeSpan()
Called when a text span is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1080
void void append(const RVNGString &s)
Definition: RVNGString.cpp:252
Definition: RVNGSVGDrawingGenerator.cpp:186
void drawPolygon(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:847
RVNGPropertyListVector m_gradient
Definition: RVNGSVGDrawingGenerator.cpp:201
std::shared_ptr< Table > m_table
the actual opened table
Definition: RVNGSVGDrawingGenerator.cpp:222
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:914
RVNGSVGDrawingGenerator & operator=(const RVNGSVGDrawingGenerator &)
bool empty() const
Definition: RVNGString.cpp:293
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1098
void endDocument()
Definition: RVNGSVGDrawingGenerator.cpp:687
RVNGStringVector & m_vec
Definition: RVNGSVGDrawingGenerator.cpp:216
#define RVNG_DEBUG_MSG(M)
Definition: librevenge_internal.h:33
~RVNGSVGDrawingGenerator()
Definition: RVNGSVGDrawingGenerator.cpp:681
void remove(const char *name)
Definition: RVNGPropertyList.cpp:295
Definition: RVNGStringVector.h:33
double m_y
Definition: RVNGSVGDrawingGenerator.cpp:174
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGSVGDrawingGenerator.cpp:689
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:283
void drawRectangle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:811
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1031
void closeGroup()
Definition: RVNGSVGDrawingGenerator.cpp:801
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1126
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1034
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1132
RVNGSVGDrawingGenerator(RVNGStringVector &vec, const RVNGString &nmspace)
Definition: RVNGSVGDrawingGenerator.cpp:676
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1085
double m_x
the origin table position in inches
Definition: RVNGSVGDrawingGenerator.cpp:174
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1032
int m_layerId
layerId used if svg:id is not defined when calling startLayer
Definition: RVNGSVGDrawingGenerator.cpp:210
Definition: RVNGSVGDrawingGenerator.h:35
RVNGString m_masterName
the actual master name
Definition: RVNGSVGDrawingGenerator.cpp:218
int m_shadowIndex
Definition: RVNGSVGDrawingGenerator.cpp:203
std::string const & getNamespaceAndDelim() const
return the namespace and the delimiter
Definition: RVNGSVGDrawingGenerator.cpp:194
void openRow(const RVNGPropertyList &propList)
calls to open a row
Definition: RVNGSVGDrawingGenerator.cpp:128
std::map< int, RVNGPropertyList > m_idSpanMap
Definition: RVNGSVGDrawingGenerator.cpp:199
static unsigned stringToColour(const RVNGString &s)
Definition: RVNGSVGDrawingGenerator.cpp:77
Definition: RVNGPropertyList.h:39
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1154
bool getPosition(int column, int row, double &x, double &y) const
returns the position of a cellule
Definition: RVNGSVGDrawingGenerator.cpp:148
std::vector< double > m_columnsDistanceFromOrigin
the distance of each begin column in inches from origin
Definition: RVNGSVGDrawingGenerator.cpp:176
void openGroup(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:792
void startDocument(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:686
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGSVGDrawingGenerator.cpp:688
Definition: RVNGProperty.h:33
std::string m_nmSpaceAndDelim
a prefix used to define the svg namespace with delimiter
Definition: RVNGSVGDrawingGenerator.cpp:214
void endMasterPage()
Definition: RVNGSVGDrawingGenerator.cpp:745
static std::string doubleToString(const double value)
Definition: RVNGSVGDrawingGenerator.cpp:70
void closeListElement()
Called when a list element should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1035
void append(const RVNGString &str)
Definition: RVNGStringVector.cpp:76
UTF-8 string.
Definition: RVNGString.h:34
std::string m_nmSpace
a prefix used to define the svg namespace
Definition: RVNGSVGDrawingGenerator.cpp:212
@ RVNG_POINT
Definition: RVNGProperty.h:30
void drawPolyline(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:840
int m_gradientIndex
Definition: RVNGSVGDrawingGenerator.cpp:203
std::map< RVNGString, std::string > m_masterNameToContentMap
a map master name to master content
Definition: RVNGSVGDrawingGenerator.cpp:220
static double getInchValue(librevenge::RVNGProperty const &prop)
Definition: RVNGSVGDrawingGenerator.cpp:40
void startMasterPage(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:726
void endLayer()
Definition: RVNGSVGDrawingGenerator.cpp:784
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1039
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:789
void startLayer(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:766
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1103
void drawEllipse(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:824
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1110
@ RVNG_INCH
Definition: RVNGProperty.h:30
static RVNGString escapeXML(const RVNGString &s)
Create a new string from s as escaped XML.
Definition: RVNGString.cpp:203
void clear()
Definition: RVNGPropertyList.cpp:317
void drawPath(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:854
@ RVNG_UNIT_ERROR
Definition: RVNGProperty.h:30
int m_groupId
groupId used if svg:id is not defined when calling openGroup
Definition: RVNGSVGDrawingGenerator.cpp:208
@ RVNG_PERCENT
Definition: RVNGProperty.h:30
void startTextObject(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:963
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1160
void closeLink()
Called when the current link is closed.
Definition: RVNGSVGDrawingGenerator.cpp:1086
const char * cstr() const
Definition: RVNGString.cpp:217
static RVNGProperty * newDoubleProp(const double val)
Definition: RVNGProperty.cpp:432
int m_arrowEndIndex
end arrow index
Definition: RVNGSVGDrawingGenerator.cpp:206
virtual RVNGString getStr() const =0
void closeRow()
call to close a row
Definition: RVNGSVGDrawingGenerator.cpp:143
int m_arrowStartIndex
start arrow index
Definition: RVNGSVGDrawingGenerator.cpp:206
int m_patternIndex
index uses when fill=bitmap
Definition: RVNGSVGDrawingGenerator.cpp:205
Table(const RVNGPropertyList &propList)
constructor
Definition: RVNGSVGDrawingGenerator.cpp:100
void drawPolySomething(const RVNGPropertyListVector &vertices, bool isClosed)
Definition: RVNGSVGDrawingGenerator.cpp:246
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:1037
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:1041
Definition: RVNGDrawingInterface.h:32
@ RVNG_GENERIC
Definition: RVNGProperty.h:30
void endEmbeddedGraphics()
Definition: RVNGSVGDrawingGenerator.cpp:790
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:1051
Definition: RVNGBinaryData.cpp:40
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1088
basic class used to store table information
Definition: RVNGSVGDrawingGenerator.cpp:98
virtual RVNGUnit getUnit() const =0
returns the property unit when possible.
void sprintf(const char *format,...) REVENGE_ATTRIBUTE_PRINTF(2
Definition: RVNGString.cpp:222
void endTextObject()
Definition: RVNGSVGDrawingGenerator.cpp:1023
void clear()
Definition: RVNGString.cpp:278
RVNGSVGDrawingGeneratorPrivate(RVNGStringVector &vec, const RVNGString &nmSpace)
Definition: RVNGSVGDrawingGenerator.cpp:225
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1093
std::ostringstream m_outputSink
Definition: RVNGSVGDrawingGenerator.cpp:215
int m_column
the actual column
Definition: RVNGSVGDrawingGenerator.cpp:170
void startPage(const RVNGPropertyList &propList)
Definition: RVNGSVGDrawingGenerator.cpp:691
void writeStyle(bool isClosed=true)
Definition: RVNGSVGDrawingGenerator.cpp:571
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGSVGDrawingGenerator.cpp:1038
std::vector< double > m_rowsDistanceFromOrigin
the distance of each begin row in inches from origin
Definition: RVNGSVGDrawingGenerator.cpp:178
@ RVNG_TWIP
Definition: RVNGProperty.h:30
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGSVGDrawingGenerator.cpp:1029
unsigned long count() const
Definition: RVNGPropertyListVector.cpp:145
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGSVGDrawingGenerator.cpp:1108
void endPage()
Definition: RVNGSVGDrawingGenerator.cpp:719
#define REVENGE_API
Definition: librevenge-api.h:34
void appendEscapedXML(const RVNGString &s)
Append the content of s as escaped XML.
Definition: RVNGString.cpp:268
int m_row
the actual row
Definition: RVNGSVGDrawingGenerator.cpp:172
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGSVGDrawingGenerator.cpp:1028
virtual double getDouble() const =0
RVNGPropertyList m_style
Definition: RVNGSVGDrawingGenerator.cpp:202
int len() const
Return the number of UTF-8 characters.
Definition: RVNGString.cpp:283
Generated for librevenge by
doxygen 1.8.20