10 #ifndef __PMDCOLLECTOR_H__ 11 #define __PMDCOLLECTOR_H__ 18 #include <boost/optional.hpp> 40 typedef std::vector<std::shared_ptr<const OutputShape> >
PageShapes_t;
56 librevenge::RVNGDrawingInterface *,
57 const std::vector<std::shared_ptr<const OutputShape> > &)
const;
60 librevenge::RVNGDrawingInterface *)
const;
72 void addShapeToPage(
unsigned pageID,
const std::shared_ptr<PMDLineSet> &shape);
79 void draw(librevenge::RVNGDrawingInterface *)
const;
void addShapeToPage(unsigned pageID, const std::shared_ptr< PMDLineSet > &shape)
Definition: PMDCollector.cpp:173
void setDoubleSided(bool)
Definition: PMDCollector.cpp:141
std::vector< PMDColor > m_color
Definition: PMDCollector.h:51
void setPageWidth(PMDShapeUnit)
Definition: PMDCollector.cpp:147
boost::optional< PMDShapeUnit > m_pageWidth
Definition: PMDCollector.h:47
PMDCollector()
Definition: PMDCollector.cpp:136
bool m_doubleSided
Definition: PMDCollector.h:53
void draw(librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:710
Definition: PMDTypes.h:20
void addFont(const PMDFont &font)
Definition: PMDCollector.cpp:168
std::vector< PMDPage > m_pages
Definition: PMDCollector.h:50
void paintShape(const OutputShape &shape, librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:178
void writePage(const PMDPage &, librevenge::RVNGDrawingInterface *, const std::vector< std::shared_ptr< const OutputShape > > &) const
Definition: PMDCollector.cpp:622
void addColor(const PMDColor &color)
Definition: PMDCollector.cpp:163
std::vector< std::shared_ptr< const OutputShape > > PageShapes_t
Definition: PMDCollector.h:40
void setPageHeight(PMDShapeUnit)
Definition: PMDCollector.cpp:152
void fillOutputShapesByPage_TwoSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:645
Definition: OutputShape.h:23
void fillOutputShapesByPage_OneSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:682
std::vector< PageShapes_t > PageShapesList_t
Definition: PMDCollector.h:41
Definition: geometry.h:22
Definition: PMDTypes.h:32
Builder class for PMD Documents.
Definition: PMDCollector.h:38
std::vector< PMDFont > m_font
Definition: PMDCollector.h:52
unsigned addPage()
Definition: PMDCollector.cpp:157
boost::optional< PMDShapeUnit > m_pageHeight
Definition: PMDCollector.h:48
void fillOutputShapesByPage(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:701