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;
50 void setFill(
Fill *fill);
59 void addLine(
ColorReference color,
unsigned widthInEmu,
bool lineExists);
60 void fillDefaultAdjustValues();
61 void setAdjustValue(
unsigned index,
int adjustValue);
62 void setText(std::vector<TextParagraph> str);
63 double getCalculationValue(
unsigned index,
bool recursiveEntry =
false)
const;
64 double getSpecialValue(
const CustomShape &shape,
int arg)
const;
65 void writeText(librevenge::RVNGDrawingInterface *painter);
68 std::vector<TextParagraph>
m_str;
76 unsigned m_left,
m_top, m_right, m_bottom;
82 m_valuesSeen(), m_filledDefaultAdjustValues(false), m_textCoord(), m_closeEverything(false),
83 m_lines(), m_drawStroke(false),
90 m_valuesSeen(), m_filledDefaultAdjustValues(false), m_textCoord(), m_closeEverything(false),
91 m_lines(), m_drawStroke(false),
94 std::vector<Color> getPaletteColors()
const;
97 virtual bool hasFill();
99 virtual void write(librevenge::RVNGDrawingInterface *painter);
117 #endif // INCLUDED_SHAPES_H Fill * m_fill
Definition: Shapes.h:49
unsigned m_pageSeqNum
Definition: Shapes.h:70
Definition: MSPUBTypes.h:29
FillableShape(MSPUBCollector *o)
Definition: Shapes.h:48
std::vector< TextParagraph > m_str
Definition: Shapes.h:68
virtual librevenge::RVNGPropertyListVector updateGraphicsProps()
virtual void output(librevenge::RVNGDrawingInterface *painter, Coordinate coord)
BorderPosition m_borderPosition
Definition: Shapes.h:112
virtual void setCoordProps(Coordinate coord)
BorderPosition
Definition: MSPUBTypes.h:26
Definition: ColorReference.h:19
ShapeType m_type
Definition: Shapes.h:72
librevenge::RVNGPropertyList props
Definition: Shapes.h:32
bool m_closeEverything
Definition: Shapes.h:108
GeometricShape(MSPUBCollector *o)
Definition: Shapes.h:77
bool m_hasText
Definition: Shapes.h:69
std::vector< Line > m_lines
Definition: Shapes.h:110
Definition: Coordinate.h:17
Definition: ShapeType.h:19
double m_y
Definition: Shapes.h:73
Coordinate m_textCoord
Definition: Shapes.h:107
VectorTransformation2D m_transform
Definition: Shapes.h:74
GeometricShape(unsigned pageSeqNum, MSPUBCollector *o)
Definition: Shapes.h:86
bool m_drawStroke
Definition: Shapes.h:111
Shape(MSPUBCollector *o)
Definition: Shapes.h:27
librevenge::RVNGPropertyList graphicsProps
Definition: Shapes.h:33
Definition: PolygonUtils.h:59
VectorTransformation2D m_foldedTransform
Definition: Shapes.h:114
MSPUBCollector * owner
Definition: Shapes.h:37
bool m_coordinatesRotated90
Definition: Shapes.h:113
std::vector< int > m_adjustValues
Definition: Shapes.h:75
virtual void write(librevenge::RVNGDrawingInterface *painter)=0
Shape & operator=(const Shape &)
Definition: MSPUBCollector.h:44
std::vector< bool > m_valuesSeen
Definition: Shapes.h:105
double m_width
Definition: PolygonUtils.cpp:5706
#define DEFAULT_MARGIN
Definition: MSPUBConstants.h:15
virtual ~Shape()
Definition: Shapes.h:29
unsigned m_imgIndex
Definition: Shapes.h:71
ShapeType
Definition: ShapeType.h:15
unsigned m_top
Definition: Shapes.h:76
bool m_filledDefaultAdjustValues
Definition: Shapes.h:106