30 #ifndef __CDRSTYLESCOLLECTOR_H__
31 #define __CDRSTYLESCOLLECTOR_H__
36 #include <libwpg/libwpg.h>
70 void collectOutl(
unsigned id,
unsigned short lineType,
unsigned short capsType,
unsigned short joinType,
double lineWidth,
71 double stretch,
double angle,
const CDRColor &color,
const std::vector<unsigned short> &dashArray,
72 unsigned startMarkerId,
unsigned endMarkerId);
75 void collectPageSize(
double width,
double height,
double offsetX,
double offsetY);
78 void collectBmp(
unsigned imageId,
unsigned colorModel,
unsigned width,
unsigned height,
unsigned bpp,
const std::vector<unsigned> &palette,
const std::vector<unsigned char> &bitmap);
79 void collectBmp(
unsigned imageId,
const std::vector<unsigned char> &bitmap);
80 void collectBmpf(
unsigned patternId,
unsigned width,
unsigned height,
const std::vector<unsigned char> &pattern);
81 void collectPpdt(
const std::vector<std::pair<double, double> > &,
const std::vector<unsigned> &) {}
91 void collectFont(
unsigned fontId,
unsigned short fontEncoding,
const WPXString &font);
92 void collectText(
unsigned textId,
unsigned styleId,
const std::vector<unsigned char> &data,
93 const std::vector<uint64_t> &charDescriptions,
const std::map<unsigned, CDRCharacterStyle> &styleOverrides);
96 void collectStlt(
const std::map<unsigned, CDRCharacterStyle> &charStyles);