#include <Shapes.h>
Public Member Functions | |
void | addLine (ColorReference color, unsigned widthInEmu, bool lineExists) |
void | fillDefaultAdjustValues () |
void | setAdjustValue (unsigned index, int adjustValue) |
void | setText (std::vector< TextParagraph > str) |
double | getCalculationValue (unsigned index, bool recursiveEntry=false) const |
double | getSpecialValue (const CustomShape &shape, int arg) const |
void | writeText (libwpg::WPGPaintInterface *painter) |
void | setTransformation (VectorTransformation2D transform) |
GeometricShape (MSPUBCollector *o) | |
GeometricShape (unsigned pageSeqNum, MSPUBCollector *o) | |
std::vector< Color > | getPaletteColors () const |
void | output (libwpg::WPGPaintInterface *painter, Coordinate coord) |
![]() | |
FillableShape (MSPUBCollector *o) | |
void | setFill (Fill *fill) |
![]() | |
Shape (MSPUBCollector *o) | |
virtual | ~Shape () |
Public Attributes | |
std::vector< TextParagraph > | m_str |
bool | m_hasText |
unsigned | m_pageSeqNum |
unsigned | m_imgIndex |
ShapeType | m_type |
double | m_x |
double | m_y |
double | m_width |
double | m_height |
VectorTransformation2D | m_transform |
std::vector< int > | m_adjustValues |
unsigned | m_left |
unsigned | m_top |
unsigned | m_right |
unsigned | m_bottom |
std::vector< Line > | m_lines |
bool | m_drawStroke |
BorderPosition | m_borderPosition |
bool | m_coordinatesRotated90 |
VectorTransformation2D | m_foldedTransform |
![]() | |
Fill * | m_fill |
![]() | |
WPXPropertyList | props |
WPXPropertyList | graphicsProps |
Protected Member Functions | |
virtual bool | hasFill () |
void | setCoordProps (Coordinate coord) |
virtual void | write (libwpg::WPGPaintInterface *painter) |
WPXPropertyListVector | updateGraphicsProps () |
GeometricShape () |
Private Member Functions | |
GeometricShape (const GeometricShape &) | |
GeometricShape & | operator= (const GeometricShape &) |
Private Attributes | |
std::vector< bool > | m_valuesSeen |
bool | m_filledDefaultAdjustValues |
Coordinate | m_textCoord |
bool | m_closeEverything |
Additional Inherited Members | |
![]() | |
MSPUBCollector * | owner |
|
inline |
|
inline |
|
protected |
|
private |
void libmspub::GeometricShape::addLine | ( | ColorReference | color, |
unsigned | widthInEmu, | ||
bool | lineExists | ||
) |
Referenced by libmspub::MSPUBCollector::assignImages().
void libmspub::GeometricShape::fillDefaultAdjustValues | ( | ) |
Referenced by libmspub::MSPUBCollector::assignImages().
double libmspub::GeometricShape::getCalculationValue | ( | unsigned | index, |
bool | recursiveEntry = false |
||
) | const |
Referenced by getSpecialIfNecessary().
std::vector< libmspub::Color > libmspub::GeometricShape::getPaletteColors | ( | ) | const |
Referenced by drawEmulatedLine(), and libmspub::writeCustomShape().
double libmspub::GeometricShape::getSpecialValue | ( | const CustomShape & | shape, |
int | arg | ||
) | const |
|
protectedvirtual |
|
private |
|
virtual |
Reimplemented from libmspub::Shape.
Referenced by libmspub::MSPUBCollector::go().
void libmspub::GeometricShape::setAdjustValue | ( | unsigned | index, |
int | adjustValue | ||
) |
Referenced by libmspub::MSPUBCollector::assignImages().
|
protectedvirtual |
Reimplemented from libmspub::Shape.
void libmspub::GeometricShape::setText | ( | std::vector< TextParagraph > | str | ) |
Referenced by libmspub::MSPUBCollector::assignImages().
void libmspub::GeometricShape::setTransformation | ( | VectorTransformation2D | transform | ) |
|
protectedvirtual |
Reimplemented from libmspub::FillableShape.
|
protectedvirtual |
Implements libmspub::Shape.
void libmspub::GeometricShape::writeText | ( | libwpg::WPGPaintInterface * | painter | ) |
std::vector<int> libmspub::GeometricShape::m_adjustValues |
BorderPosition libmspub::GeometricShape::m_borderPosition |
Referenced by libmspub::MSPUBCollector::assignImages().
unsigned libmspub::GeometricShape::m_bottom |
Referenced by libmspub::MSPUBCollector::assignImages().
|
private |
bool libmspub::GeometricShape::m_coordinatesRotated90 |
Referenced by libmspub::MSPUBCollector::assignImages().
bool libmspub::GeometricShape::m_drawStroke |
|
private |
VectorTransformation2D libmspub::GeometricShape::m_foldedTransform |
Referenced by libmspub::ShapeGroupPainter::shape().
bool libmspub::GeometricShape::m_hasText |
double libmspub::GeometricShape::m_height |
unsigned libmspub::GeometricShape::m_imgIndex |
unsigned libmspub::GeometricShape::m_left |
Referenced by libmspub::MSPUBCollector::assignImages().
std::vector<Line> libmspub::GeometricShape::m_lines |
unsigned libmspub::GeometricShape::m_pageSeqNum |
Referenced by libmspub::MSPUBCollector::assignImages().
unsigned libmspub::GeometricShape::m_right |
Referenced by libmspub::MSPUBCollector::assignImages().
std::vector<TextParagraph> libmspub::GeometricShape::m_str |
|
private |
unsigned libmspub::GeometricShape::m_top |
Referenced by libmspub::MSPUBCollector::assignImages().
VectorTransformation2D libmspub::GeometricShape::m_transform |
Referenced by libmspub::MSPUBCollector::assignImages(), and libmspub::ShapeGroupPainter::shape().
ShapeType libmspub::GeometricShape::m_type |
Referenced by libmspub::MSPUBCollector::assignImages().
|
mutableprivate |
double libmspub::GeometricShape::m_width |
double libmspub::GeometricShape::m_x |
double libmspub::GeometricShape::m_y |