10 #ifndef __PMDCOLLECTOR_H__
11 #define __PMDCOLLECTOR_H__
18 #include <boost/optional.hpp>
19 #include <boost/shared_ptr.hpp>
42 typedef std::vector<boost::shared_ptr<const OutputShape> >
PageShapes_t;
58 librevenge::RVNGDrawingInterface *,
59 const std::vector<boost::shared_ptr<const OutputShape> > &)
const;
62 librevenge::RVNGDrawingInterface *)
const;
74 void addShapeToPage(
unsigned pageID,
const boost::shared_ptr<PMDLineSet> &shape);
81 void draw(librevenge::RVNGDrawingInterface *)
const;
void fillOutputShapesByPage(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:759
void setDoubleSided(bool)
Definition: PMDCollector.cpp:100
std::vector< PMDColor > m_color
Definition: PMDCollector.h:53
void draw(librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:768
PMDCollector()
Definition: PMDCollector.cpp:95
bool m_doubleSided
Definition: PMDCollector.h:55
void setPageWidth(PMDPageUnit)
Definition: PMDCollector.cpp:106
Definition: PMDTypes.h:17
void paintShape(const OutputShape &shape, librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:137
void writePage(const PMDPage &, librevenge::RVNGDrawingInterface *, const std::vector< boost::shared_ptr< const OutputShape > > &) const
Definition: PMDCollector.cpp:680
void addFont(const PMDFont &font)
Definition: PMDCollector.cpp:127
std::vector< PMDPage > m_pages
Definition: PMDCollector.h:52
void fillOutputShapesByPage_TwoSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:703
boost::optional< PMDPageUnit > m_pageWidth
Definition: PMDCollector.h:49
void addColor(const PMDColor &color)
Definition: PMDCollector.cpp:122
void fillOutputShapesByPage_OneSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:740
boost::optional< PMDPageUnit > m_pageHeight
Definition: PMDCollector.h:50
Definition: OutputShape.h:21
std::vector< PageShapes_t > PageShapesList_t
Definition: PMDCollector.h:43
Definition: geometry.h:20
Definition: PMDTypes.h:29
Builder class for PMD Documents.
Definition: PMDCollector.h:40
std::vector< boost::shared_ptr< const OutputShape > > PageShapes_t
Definition: PMDCollector.h:42
std::vector< PMDFont > m_font
Definition: PMDCollector.h:54
unsigned addPage()
Definition: PMDCollector.cpp:116
void addShapeToPage(unsigned pageID, const boost::shared_ptr< PMDLineSet > &shape)
Definition: PMDCollector.cpp:132
void setPageHeight(PMDPageUnit)
Definition: PMDCollector.cpp:111