10 #ifndef __SHAPEINFO_H__
11 #define __SHAPEINFO_H__
12 #include <boost/optional.hpp>
13 #include <boost/shared_ptr.hpp>
16 #include <boost/function.hpp>
33 void noop(
const CustomShape *);
47 boost::optional<std::pair<bool, bool> >
m_flips;
50 boost::shared_ptr<const Fill>
m_fill;
67 ShapeInfo() : m_type(), m_cropType(), m_imgIndex(), m_borderImgIndex(),
68 m_coordinates(), m_lines(), m_pageSeqNum(),
69 m_textId(), m_adjustValuesByIndex(), m_adjustValues(),
70 m_rotation(), m_flips(), m_margins(), m_borderPosition(),
71 m_fill(), m_customShape(), m_stretchBorderArt(false),
72 m_lineBackColor(), m_dash(), m_tableInfo(),
74 m_columnSpacing(0), m_beginArrow(), m_endArrow(),
75 m_verticalAlign(), m_pictureRecolor(), m_shadow(), m_innerRotation(), m_clipPath(), m_pictureBrightness(), m_pictureContrast()
80 if (
bool(m_customShape))
86 return boost::shared_ptr<const CustomShape>(
90 return boost::shared_ptr<const CustomShape>(
boost::optional< unsigned > m_imgIndex
Definition: ShapeInfo.h:38
boost::shared_ptr< const CustomShape > getCustomShape() const
Definition: ShapeInfo.h:78
boost::shared_ptr< const Fill > m_fill
Definition: ShapeInfo.h:50
boost::optional< unsigned > m_numColumns
Definition: ShapeInfo.h:56
boost::optional< Dash > m_dash
Definition: ShapeInfo.h:54
boost::optional< unsigned > m_borderImgIndex
Definition: ShapeInfo.h:39
boost::optional< Margins > m_margins
Definition: ShapeInfo.h:48
boost::optional< unsigned > m_pageSeqNum
Definition: ShapeInfo.h:42
boost::optional< int > m_pictureContrast
Definition: ShapeInfo.h:66
boost::optional< int > m_pictureBrightness
Definition: ShapeInfo.h:65
boost::optional< VerticalAlign > m_verticalAlign
Definition: ShapeInfo.h:60
boost::optional< Arrow > m_beginArrow
Definition: ShapeInfo.h:58
boost::optional< DynamicCustomShape > m_customShape
Definition: ShapeInfo.h:51
bool m_stretchBorderArt
Definition: ShapeInfo.h:52
boost::shared_ptr< const CustomShape > getFromDynamicCustomShape(const DynamicCustomShape &dcs)
Definition: PolygonUtils.cpp:6381
boost::optional< std::pair< bool, bool > > m_flips
Definition: ShapeInfo.h:47
std::map< unsigned, int > m_adjustValuesByIndex
Definition: ShapeInfo.h:44
Definition: ShapeType.h:19
boost::optional< TableInfo > m_tableInfo
Definition: ShapeInfo.h:55
std::vector< int > m_adjustValues
Definition: ShapeInfo.h:45
boost::optional< ShapeType > m_type
Definition: ShapeInfo.h:36
boost::optional< Coordinate > m_coordinates
Definition: ShapeInfo.h:40
boost::optional< Arrow > m_endArrow
Definition: ShapeInfo.h:59
std::vector< libmspub::Vertex > m_clipPath
Definition: ShapeInfo.h:64
boost::optional< ShapeType > m_cropType
Definition: ShapeInfo.h:37
Definition: PolygonUtils.h:58
boost::optional< unsigned > m_textId
Definition: ShapeInfo.h:43
unsigned m_columnSpacing
Definition: ShapeInfo.h:57
boost::optional< ColorReference > m_pictureRecolor
Definition: ShapeInfo.h:61
ShapeInfo()
Definition: ShapeInfo.h:67
const CustomShape * getCustomShape(ShapeType type)
Definition: PolygonUtils.cpp:5245
boost::optional< BorderPosition > m_borderPosition
Definition: ShapeInfo.h:49
boost::optional< int > m_innerRotation
Definition: ShapeInfo.h:63
std::vector< Line > m_lines
Definition: ShapeInfo.h:41
void noop(const CustomShape *)
Definition: MSPUBCollector.cpp:416
boost::optional< ColorReference > m_lineBackColor
Definition: ShapeInfo.h:53
boost::optional< double > m_rotation
Definition: ShapeInfo.h:46
Definition: ShapeInfo.h:34
boost::optional< Shadow > m_shadow
Definition: ShapeInfo.h:62