#include <CDRStylesCollector.h>
Public Member Functions | |
CDRStylesCollector (CDRParserState &ps) | |
virtual | ~CDRStylesCollector () |
void | collectPage (unsigned level) |
void | collectObject (unsigned) |
void | collectGroup (unsigned) |
void | collectVect (unsigned) |
void | collectOtherList () |
void | collectPath (const CDRPath &) |
void | collectLevel (unsigned) |
void | collectTransform (const CDRTransforms &, bool) |
void | collectFillStyle (unsigned short, const CDRColor &, const CDRColor &, const CDRGradient &, const CDRImageFill &) |
void | collectLineStyle (unsigned short, unsigned short, unsigned short, double, double, double, const CDRColor &, const std::vector< unsigned > &, const CDRPath &, const CDRPath &) |
void | collectRotate (double, double, double) |
void | collectFlags (unsigned, bool) |
void | collectPageSize (double width, double height, double offsetX, double offsetY) |
void | collectPolygonTransform (unsigned, unsigned, double, double, double, double) |
void | collectBitmap (unsigned, double, double, double, double) |
void | collectBmp (unsigned imageId, unsigned colorModel, unsigned width, unsigned height, unsigned bpp, const std::vector< unsigned > &palette, const std::vector< unsigned char > &bitmap) |
void | collectBmp (unsigned imageId, const std::vector< unsigned char > &bitmap) |
void | collectBmpf (unsigned patternId, unsigned width, unsigned height, const std::vector< unsigned char > &pattern) |
void | collectPpdt (const std::vector< std::pair< double, double > > &, const std::vector< unsigned > &) |
void | collectFillTransform (const CDRTransforms &) |
void | collectFillOpacity (double) |
void | collectPolygon () |
void | collectSpline () |
void | collectColorProfile (const std::vector< unsigned char > &profile) |
void | collectBBox (double, double, double, double) |
void | collectSpnd (unsigned) |
void | collectVectorPattern (unsigned, const librevenge::RVNGBinaryData &) |
void | collectPaletteEntry (unsigned colorId, unsigned userId, const CDRColor &color) |
void | collectText (unsigned textId, unsigned styleId, const std::vector< unsigned char > &data, const std::vector< unsigned char > &charDescriptions, const std::map< unsigned, CDRCharacterStyle > &styleOverrides) |
void | collectArtisticText (double, double) |
void | collectParagraphText (double, double, double, double) |
void | collectStld (unsigned id, const CDRCharacterStyle &charStyle) |
Private Member Functions | |
CDRStylesCollector (const CDRStylesCollector &) | |
CDRStylesCollector & | operator= (const CDRStylesCollector &) |
void | getRecursedStyle (CDRCharacterStyle &charStyle, unsigned styleId) |
Private Attributes | |
CDRParserState & | m_ps |
CDRPage | m_page |
std::map< unsigned, CDRCharacterStyle > | m_charStyles |
libcdr::CDRStylesCollector::~CDRStylesCollector | ( | ) | [virtual] |
libcdr::CDRStylesCollector::CDRStylesCollector | ( | const CDRStylesCollector & | ) | [private] |
void libcdr::CDRStylesCollector::collectArtisticText | ( | double | , |
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectBBox | ( | double | , |
double | , | ||
double | , | ||
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectBitmap | ( | unsigned | , |
double | , | ||
double | , | ||
double | , | ||
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectBmp | ( | unsigned | imageId, |
unsigned | colorModel, | ||
unsigned | width, | ||
unsigned | height, | ||
unsigned | bpp, | ||
const std::vector< unsigned > & | palette, | ||
const std::vector< unsigned char > & | bitmap | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectBmp | ( | unsigned | imageId, |
const std::vector< unsigned char > & | bitmap | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectBmpf | ( | unsigned | patternId, |
unsigned | width, | ||
unsigned | height, | ||
const std::vector< unsigned char > & | pattern | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectColorProfile | ( | const std::vector< unsigned char > & | profile | ) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectFillOpacity | ( | double | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectFillStyle | ( | unsigned short | , |
const CDRColor & | , | ||
const CDRColor & | , | ||
const CDRGradient & | , | ||
const CDRImageFill & | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectFillTransform | ( | const CDRTransforms & | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectFlags | ( | unsigned | , |
bool | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectGroup | ( | unsigned | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectLevel | ( | unsigned | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectLineStyle | ( | unsigned short | , |
unsigned short | , | ||
unsigned short | , | ||
double | , | ||
double | , | ||
double | , | ||
const CDRColor & | , | ||
const std::vector< unsigned > & | , | ||
const CDRPath & | , | ||
const CDRPath & | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectObject | ( | unsigned | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectOtherList | ( | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPage | ( | unsigned | level | ) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPageSize | ( | double | width, |
double | height, | ||
double | offsetX, | ||
double | offsetY | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPaletteEntry | ( | unsigned | colorId, |
unsigned | userId, | ||
const CDRColor & | color | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectParagraphText | ( | double | , |
double | , | ||
double | , | ||
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPath | ( | const CDRPath & | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPolygon | ( | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPolygonTransform | ( | unsigned | , |
unsigned | , | ||
double | , | ||
double | , | ||
double | , | ||
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectPpdt | ( | const std::vector< std::pair< double, double > > & | , |
const std::vector< unsigned > & | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectRotate | ( | double | , |
double | , | ||
double | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectSpline | ( | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectSpnd | ( | unsigned | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectStld | ( | unsigned | id, |
const CDRCharacterStyle & | charStyle | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectText | ( | unsigned | textId, |
unsigned | styleId, | ||
const std::vector< unsigned char > & | data, | ||
const std::vector< unsigned char > & | charDescriptions, | ||
const std::map< unsigned, CDRCharacterStyle > & | styleOverrides | ||
) | [virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectTransform | ( | const CDRTransforms & | , |
bool | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectVect | ( | unsigned | ) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::collectVectorPattern | ( | unsigned | , |
const librevenge::RVNGBinaryData & | |||
) | [inline, virtual] |
Implements libcdr::CDRCollector.
void libcdr::CDRStylesCollector::getRecursedStyle | ( | CDRCharacterStyle & | charStyle, |
unsigned | styleId | ||
) | [private] |
CDRStylesCollector& libcdr::CDRStylesCollector::operator= | ( | const CDRStylesCollector & | ) | [private] |
std::map<unsigned, CDRCharacterStyle> libcdr::CDRStylesCollector::m_charStyles [private] |
CDRPage libcdr::CDRStylesCollector::m_page [private] |
CDRParserState& libcdr::CDRStylesCollector::m_ps [private] |