30 #ifndef __CDRCONTENTCOLLECTOR_H__
31 #define __CDRCONTENTCOLLECTOR_H__
36 #include <libwpg/libwpg.h>
58 void collectCubicBezier(
double x1,
double y1,
double x2,
double y2,
double x,
double y);
62 void collectArcTo(
double rx,
double ry,
bool largeArc,
bool sweep,
double x,
double y);
67 void collectLineStyle(
unsigned short lineType,
unsigned short capsType,
unsigned short joinType,
double lineWidth,
68 double stretch,
double angle,
const CDRColor &color,
const std::vector<unsigned> &dashArray,
69 unsigned startMarkerId,
unsigned endMarkerId);
73 void collectPolygonTransform(
unsigned numAngles,
unsigned nextPoint,
double rx,
double ry,
double cx,
double cy);
74 void collectBitmap(
unsigned imageId,
double x1,
double x2,
double y1,
double y2);
75 void collectBmp(
unsigned,
unsigned,
unsigned,
unsigned,
unsigned,
const std::vector<unsigned> &,
const std::vector<unsigned char> &) {}
76 void collectBmp(
unsigned,
const std::vector<unsigned char> &) {}
77 void collectBmpf(
unsigned,
unsigned,
unsigned,
const std::vector<unsigned char> &) {}
78 void collectPpdt(
const std::vector<std::pair<double, double> > &points,
const std::vector<unsigned> &knotVector);
84 void collectBBox(
double x0,
double y0,
double x1,
double y1);
88 void collectText(
unsigned,
unsigned,
const std::vector<unsigned char> &,
89 const std::vector<unsigned char> &,
const std::map<unsigned, CDRCharacterStyle> &) {}
103 void _fillProperties(WPXPropertyList &propList, WPXPropertyListVector &vec);