Go to the documentation of this file.
10 #ifndef __VSDPARAGRAPHLIST_H__
11 #define __VSDPARAGRAPHLIST_H__
21 class VSDParagraphListElement;
31 void addParaIX(
unsigned id,
unsigned level,
unsigned charCount,
const boost::optional<double> &indFirst,
32 const boost::optional<double> &indLeft,
const boost::optional<double> &indRight,
const boost::optional<double> &spLine,
33 const boost::optional<double> &spBefore,
const boost::optional<double> &spAfter,
const boost::optional<unsigned char> &align,
34 const boost::optional<unsigned char> &bullet,
const boost::optional<VSDName> &bulletStr,
35 const boost::optional<VSDName> &bulletFont,
const boost::optional<double> &bulletFontSize,
36 const boost::optional<double> &textPosAfterBullet,
const boost::optional<unsigned> &flags);
51 std::map<unsigned, std::unique_ptr<VSDParagraphListElement>>
m_elements;
57 #endif // __VSDPARAGRAPHLIST_H__
boost::optional< double > indFirst
Definition: VSDStyles.h:358
boost::optional< double > spLine
Definition: VSDStyles.h:361
~VSDParaIX() override
Definition: VSDParagraphList.cpp:43
void resetCharCount()
Definition: VSDParagraphList.cpp:150
void handle(VSDCollector *collector) const
Definition: VSDParagraphList.cpp:170
virtual void collectParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)=0
boost::optional< double > textPosAfterBullet
Definition: VSDStyles.h:369
boost::optional< double > indLeft
Definition: VSDStyles.h:359
void setElementsOrder(const std::vector< unsigned > &m_elementsOrder)
Definition: VSDParagraphList.cpp:163
virtual void handle(VSDCollector *collector) const =0
void setCharCount(unsigned charCount) override
Definition: VSDParagraphList.cpp:50
Definition: VSDCollector.h:20
boost::optional< unsigned char > bullet
Definition: VSDStyles.h:365
unsigned getCharCount() const override
Definition: VSDParagraphList.cpp:46
VSDOptionalParaStyle m_style
Definition: VSDParagraphList.cpp:55
VSDParagraphListElement * clone() override
Definition: VSDParagraphList.cpp:68
Definition: VSDParagraphList.cpp:17
std::unique_ptr< T > clone(const std::unique_ptr< T > &other)
Definition: libvisio_utils.h:65
Definition: VSDStyles.h:322
bool empty() const
Definition: VSDParagraphList.h:46
VSDParagraphList()
Definition: VSDParagraphList.cpp:77
std::map< unsigned, std::unique_ptr< VSDParagraphListElement > > m_elements
Definition: VSDParagraphList.h:51
~VSDParagraphList()
Definition: VSDParagraphList.cpp:103
std::vector< unsigned > m_elementsOrder
Definition: VSDParagraphList.h:52
VSDParagraphList & operator=(const VSDParagraphList ¶List)
Definition: VSDParagraphList.cpp:91
void handle(VSDCollector *collector) const override
Definition: VSDParagraphList.cpp:60
unsigned charCount
Definition: VSDStyles.h:357
unsigned getCharCount(unsigned id) const
Definition: VSDParagraphList.cpp:134
boost::optional< double > spAfter
Definition: VSDStyles.h:363
boost::optional< double > spBefore
Definition: VSDStyles.h:362
unsigned m_id
Definition: VSDParagraphList.cpp:27
boost::optional< double > bulletFontSize
Definition: VSDStyles.h:368
virtual void setCharCount(unsigned charCount)=0
boost::optional< unsigned char > align
Definition: VSDStyles.h:364
void addParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)
Definition: VSDParagraphList.cpp:107
unsigned m_level
Definition: VSDParagraphList.cpp:27
VSDParagraphListElement(unsigned id, unsigned level)
Definition: VSDParagraphList.cpp:20
#define MINUS_ONE
Definition: VSDTypes.h:18
VSDParaIX(unsigned id, unsigned level, unsigned charCount, const boost::optional< double > &indFirst, const boost::optional< double > &indLeft, const boost::optional< double > &indRight, const boost::optional< double > &spLine, const boost::optional< double > &spBefore, const boost::optional< double > &spAfter, const boost::optional< unsigned char > &align, const boost::optional< unsigned char > &bullet, const boost::optional< VSDName > &bulletStr, const boost::optional< VSDName > &bulletFont, const boost::optional< double > &bulletFontSize, const boost::optional< double > &textPosAfterBullet, const boost::optional< unsigned > &flags)
Definition: VSDParagraphList.cpp:33
virtual VSDParagraphListElement * clone()=0
boost::optional< VSDName > bulletFont
Definition: VSDStyles.h:367
Definition: VSDParagraphList.h:24
boost::optional< unsigned > flags
Definition: VSDStyles.h:370
boost::optional< double > indRight
Definition: VSDStyles.h:360
void clear()
Definition: VSDParagraphList.cpp:191
void setCharCount(unsigned id, unsigned charCount)
Definition: VSDParagraphList.cpp:143
Definition: VSDParagraphList.cpp:30
virtual unsigned getCharCount() const =0
Definition: libvisio_utils.h:48
unsigned getLevel() const
Definition: VSDParagraphList.cpp:156
boost::optional< VSDName > bulletStr
Definition: VSDStyles.h:366
virtual ~VSDParagraphListElement()
Definition: VSDParagraphList.cpp:21
Generated for libvisio by
doxygen 1.8.17