10 #ifndef __PMDCOLLECTOR_H__
11 #define __PMDCOLLECTOR_H__
18 #include <boost/optional.hpp>
19 #include <boost/shared_ptr.hpp>
29 namespace libpagemaker
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:755
void setDoubleSided(bool)
Definition: PMDCollector.cpp:96
std::vector< PMDColor > m_color
Definition: PMDCollector.h:53
void draw(librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:764
PMDCollector()
Definition: PMDCollector.cpp:91
bool m_doubleSided
Definition: PMDCollector.h:55
void setPageWidth(PMDPageUnit)
Definition: PMDCollector.cpp:102
Definition: PMDTypes.h:17
void paintShape(const OutputShape &shape, librevenge::RVNGDrawingInterface *) const
Definition: PMDCollector.cpp:133
void writePage(const PMDPage &, librevenge::RVNGDrawingInterface *, const std::vector< boost::shared_ptr< const OutputShape > > &) const
Definition: PMDCollector.cpp:676
void addFont(const PMDFont &font)
Definition: PMDCollector.cpp:123
std::vector< PMDPage > m_pages
Definition: PMDCollector.h:52
void fillOutputShapesByPage_TwoSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:699
boost::optional< PMDPageUnit > m_pageWidth
Definition: PMDCollector.h:49
void addColor(const PMDColor &color)
Definition: PMDCollector.cpp:118
void fillOutputShapesByPage_OneSided(PageShapesList_t &pageShapes) const
Definition: PMDCollector.cpp:736
boost::optional< PMDPageUnit > m_pageHeight
Definition: PMDCollector.h:50
Definition: OutputShape.h:21
std::vector< PageShapes_t > PageShapesList_t
Definition: PMDCollector.h:43
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:112
void addShapeToPage(unsigned pageID, const boost::shared_ptr< PMDLineSet > &shape)
Definition: PMDCollector.cpp:128
void setPageHeight(PMDPageUnit)
Definition: PMDCollector.cpp:107