Go to the documentation of this file.
10 #ifndef INCLUDED_SHAPES_H
11 #define INCLUDED_SHAPES_H
28 virtual void output(librevenge::RVNGDrawingInterface *painter,
Coordinate coord);
32 librevenge::RVNGPropertyList
props;
36 virtual void write(librevenge::RVNGDrawingInterface *painter) = 0;
62 void setText(std::vector<TextParagraph> str);
65 void writeText(librevenge::RVNGDrawingInterface *painter);
68 std::vector<TextParagraph>
m_str;
99 virtual void write(librevenge::RVNGDrawingInterface *painter);
117 #endif // INCLUDED_SHAPES_H
double m_x
Definition: Shapes.h:73
std::vector< int > m_adjustValues
Definition: Shapes.h:75
virtual librevenge::RVNGPropertyListVector updateGraphicsProps()
unsigned m_imgIndex
Definition: Shapes.h:71
double m_height
Definition: Shapes.h:73
virtual void output(librevenge::RVNGDrawingInterface *painter, Coordinate coord)
virtual void setCoordProps(Coordinate coord)
void output(librevenge::RVNGDrawingInterface *painter, Coordinate coord)
Shape & operator=(const Shape &)
double getCalculationValue(unsigned index, bool recursiveEntry=false) const
std::vector< Color > getPaletteColors() const
FillableShape(MSPUBCollector *o)
Definition: Shapes.h:48
void fillDefaultAdjustValues()
Definition: MSPUBCollector.h:44
bool m_hasText
Definition: Shapes.h:69
BorderPosition m_borderPosition
Definition: Shapes.h:112
BorderPosition
Definition: MSPUBTypes.h:26
Definition: ShapeType.h:19
bool m_closeEverything
Definition: Shapes.h:108
std::vector< bool > m_valuesSeen
Definition: Shapes.h:105
Shape(MSPUBCollector *o)
Definition: Shapes.h:27
void setCoordProps(Coordinate coord)
void setText(std::vector< TextParagraph > str)
double m_y
Definition: Shapes.h:73
double m_width
Definition: Shapes.h:73
librevenge::RVNGPropertyList props
Definition: Shapes.h:32
VectorTransformation2D m_foldedTransform
Definition: Shapes.h:114
GeometricShape & operator=(const GeometricShape &)
bool m_filledDefaultAdjustValues
Definition: Shapes.h:106
librevenge::RVNGPropertyListVector updateGraphicsProps()
std::vector< TextParagraph > m_str
Definition: Shapes.h:68
Coordinate m_textCoord
Definition: Shapes.h:107
virtual ~Shape()
Definition: Shapes.h:29
MSPUBCollector * owner
Definition: Shapes.h:37
std::vector< Line > m_lines
Definition: Shapes.h:110
virtual void write(librevenge::RVNGDrawingInterface *painter)
bool m_coordinatesRotated90
Definition: Shapes.h:113
Definition: PolygonUtils.h:59
void setAdjustValue(unsigned index, int adjustValue)
Definition: MSPUBTypes.h:29
GeometricShape(MSPUBCollector *o)
Definition: Shapes.h:77
unsigned m_bottom
Definition: Shapes.h:76
VectorTransformation2D m_transform
Definition: Shapes.h:74
ShapeType m_type
Definition: Shapes.h:72
void writeText(librevenge::RVNGDrawingInterface *painter)
ShapeType
Definition: ShapeType.h:15
Definition: ColorReference.h:19
GeometricShape(unsigned pageSeqNum, MSPUBCollector *o)
Definition: Shapes.h:86
unsigned m_left
Definition: Shapes.h:76
FillableShape & operator=(const FillableShape &)
Definition: Coordinate.h:17
void setTransformation(VectorTransformation2D transform)
unsigned m_top
Definition: Shapes.h:76
#define DEFAULT_MARGIN
Definition: MSPUBConstants.h:15
void addLine(ColorReference color, unsigned widthInEmu, bool lineExists)
virtual librevenge::RVNGPropertyListVector updateGraphicsProps()
librevenge::RVNGPropertyList graphicsProps
Definition: Shapes.h:33
double getSpecialValue(const CustomShape &shape, int arg) const
Fill * m_fill
Definition: Shapes.h:49
bool m_drawStroke
Definition: Shapes.h:111
virtual void write(librevenge::RVNGDrawingInterface *painter)=0
unsigned m_right
Definition: Shapes.h:76
unsigned m_pageSeqNum
Definition: Shapes.h:70
Generated for libmspub by
doxygen 1.8.16