Classes | |
class | ColorReference |
struct | Coordinate |
class | Fill |
class | ImgFill |
class | PatternFill |
class | SolidFill |
class | GradientFill |
class | EndOfStreamException |
class | GenericException |
struct | Line |
struct | Margins |
class | MSPUBCollector |
class | MSPUBDocument |
class | FindBySeqNum |
class | FindByParentSeqNum |
class | MSPUBParser |
class | MSPUBParser2k |
class | MSPUBStringVectorImpl |
class | MSPUBStringVector |
class | MSPUBSVGGenerator |
struct | EscherContainerInfo |
struct | MSPUBBlockInfo |
struct | ContentChunkReference |
struct | QuillChunkReference |
struct | CharacterStyle |
struct | ParagraphStyle |
struct | TextSpan |
struct | TextParagraph |
struct | Color |
struct | Vertex |
struct | Calculation |
struct | TextRectangle |
struct | CustomShape |
class | ShapeGroupElement |
struct | ShapeInfo |
struct | Shape |
struct | FillableShape |
struct | GeometricShape |
struct | Vector2D |
class | VectorTransformation2D |
Functions | |
bool | operator== (const libmspub::ColorReference &l, const libmspub::ColorReference &r) |
const char * | mimeByImgType (ImgType type) |
uint16_t | readU16 (const unsigned char *input, unsigned offset) |
uint32_t | readU32 (const unsigned char *input, unsigned offset) |
uint8_t | readU8 (WPXInputStream *input) |
uint16_t | readU16 (WPXInputStream *input) |
uint32_t | readU32 (WPXInputStream *input) |
uint64_t | readU64 (WPXInputStream *input) |
int32_t | readS32 (WPXInputStream *input) |
double | readFixedPoint (WPXInputStream *input) |
double | toFixedPoint (int fp) |
void | readNBytes (WPXInputStream *input, unsigned long length, std::vector< unsigned char > &out) |
void | appendCharacters (WPXString &text, std::vector< unsigned char > characters) |
bool | stillReading (WPXInputStream *input, unsigned long until) |
void | rotateCounter (double &x, double &y, double centerX, double centerY, short rotation) |
void | flipIfNecessary (double &x, double &y, double centerX, double centerY, bool flipVertical, bool flipHorizontal) |
unsigned | correctModulo (int x, unsigned n) |
double | doubleModulo (double x, double y) |
template<class MapT > | |
MapT::mapped_type * | getIfExists (MapT &map, const typename MapT::key_type &key) |
template<class MapT > | |
const MapT::mapped_type * | getIfExists_const (MapT &map, const typename MapT::key_type &key) |
template<class MapT > | |
MapT::mapped_type | ptr_getIfExists (MapT &map, const typename MapT::key_type &key) |
WPXBinaryData | inflateData (WPXBinaryData) |
const CustomShape * | getCustomShape (ShapeType type) |
bool | isShapeTypeRectangle (ShapeType type) |
void | writeCustomShape (ShapeType shapeType, WPXPropertyList &graphicsProps, libwpg::WPGPaintInterface *painter, double x, double y, double height, double width, bool closeEverything, VectorTransformation2D transform, std::vector< Line > lines, boost::function< double(unsigned index)> calculator, const std::vector< Color > &palette) |
Vector2D | operator+ (const Vector2D &l, const Vector2D &r) |
Vector2D | operator- (const Vector2D &l, const Vector2D &r) |
VectorTransformation2D | operator* (const VectorTransformation2D &l, const VectorTransformation2D &r) |
Variables | |
const int | PROP_ADJUST_VAL_FIRST = 327 |
const int | PROP_ADJUST_VAL_LAST = 336 |
const int | PROP_GEO_LEFT = 320 |
const int | PROP_GEO_TOP = 321 |
const int | PROP_GEO_RIGHT = 322 |
const int | PROP_GEO_BOTTOM = 323 |
const int | OTHER_CALC_VAL = 0x400 |
const int | ASPECT_RATIO = 0x600 |
enum libmspub::Alignment |
enum libmspub::FillType |
enum libmspub::ImgType |
enum libmspub::PageType |
enum libmspub::ShapeType |
void libmspub::appendCharacters | ( | WPXString & | text, |
std::vector< unsigned char > | characters | ||
) |
Referenced by libmspub::MSPUBCollector::getCharStyleProps(), and libmspub::MSPUBCollector::paintShape().
unsigned libmspub::correctModulo | ( | int | x, |
unsigned | n | ||
) |
double libmspub::doubleModulo | ( | double | x, |
double | y | ||
) |
void libmspub::flipIfNecessary | ( | double & | x, |
double & | y, | ||
double | centerX, | ||
double | centerY, | ||
bool | flipVertical, | ||
bool | flipHorizontal | ||
) |
const CustomShape * libmspub::getCustomShape | ( | ShapeType | type | ) |
MapT::mapped_type* libmspub::getIfExists | ( | MapT & | map, |
const typename MapT::key_type & | key | ||
) |
const MapT::mapped_type* libmspub::getIfExists_const | ( | MapT & | map, |
const typename MapT::key_type & | key | ||
) |
WPXBinaryData libmspub::inflateData | ( | WPXBinaryData | deflated | ) |
Referenced by libmspub::MSPUBParser::parseEscherDelay().
bool libmspub::isShapeTypeRectangle | ( | ShapeType | type | ) |
Referenced by drawEmulatedLine(), and libmspub::MSPUBCollector::paintShape().
const char * libmspub::mimeByImgType | ( | ImgType | type | ) |
Referenced by libmspub::ImgFill::getProperties(), and libmspub::PatternFill::getProperties().
libmspub::VectorTransformation2D libmspub::operator* | ( | const VectorTransformation2D & | l, |
const VectorTransformation2D & | r | ||
) |
libmspub::Vector2D libmspub::operator+ | ( | const Vector2D & | l, |
const Vector2D & | r | ||
) |
libmspub::Vector2D libmspub::operator- | ( | const Vector2D & | l, |
const Vector2D & | r | ||
) |
bool libmspub::operator== | ( | const libmspub::ColorReference & | l, |
const libmspub::ColorReference & | r | ||
) |
MapT::mapped_type libmspub::ptr_getIfExists | ( | MapT & | map, |
const typename MapT::key_type & | key | ||
) |
double libmspub::readFixedPoint | ( | WPXInputStream * | input | ) |
void libmspub::readNBytes | ( | WPXInputStream * | input, |
unsigned long | length, | ||
std::vector< unsigned char > & | out | ||
) |
Referenced by libmspub::MSPUBParser::parseBlock(), and libmspub::MSPUBParser::parseFonts().
int32_t libmspub::readS32 | ( | WPXInputStream * | input | ) |
Referenced by libmspub::MSPUBParser2k::parseContents(), and readFixedPoint().
uint16_t libmspub::readU16 | ( | const unsigned char * | input, |
unsigned | offset | ||
) |
Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseCharacterStyles(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseDefaultStyle(), libmspub::MSPUBParser::parseEscherContainer(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseFonts(), libmspub::MSPUBParser::parseParagraphStyles(), libmspub::MSPUBParser::parseQuill(), and libmspub::MSPUBParser::parseQuillChunkReference().
uint16_t libmspub::readU16 | ( | WPXInputStream * | input | ) |
uint32_t libmspub::readU32 | ( | const unsigned char * | input, |
unsigned | offset | ||
) |
Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::getCharacterStyle(), libmspub::MSPUBParser::getParagraphStyle(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseCharacterStyles(), libmspub::MSPUBParser::parseColors(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseContents(), libmspub::MSPUBParser::parseDefaultStyle(), libmspub::MSPUBParser::parseDocumentChunk(), libmspub::MSPUBParser::parseEscher(), libmspub::MSPUBParser::parseEscherContainer(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseEscherShape(), libmspub::MSPUBParser::parseFonts(), libmspub::MSPUBParser::parsePageChunk(), libmspub::MSPUBParser::parsePaletteChunk(), libmspub::MSPUBParser::parseParagraphStyles(), libmspub::MSPUBParser::parseQuill(), libmspub::MSPUBParser::parseQuillChunkReference(), libmspub::MSPUBParser::parseShape(), and readS32().
uint32_t libmspub::readU32 | ( | WPXInputStream * | input | ) |
uint64_t libmspub::readU64 | ( | WPXInputStream * | input | ) |
uint8_t libmspub::readU8 | ( | WPXInputStream * | input | ) |
void libmspub::rotateCounter | ( | double & | x, |
double & | y, | ||
double | centerX, | ||
double | centerY, | ||
short | rotation | ||
) |
bool libmspub::stillReading | ( | WPXInputStream * | input, |
unsigned long | until | ||
) |
Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::findEscherContainer(), libmspub::MSPUBParser::findEscherContainerWithTypeInSet(), libmspub::MSPUBParser::getCharacterStyle(), libmspub::MSPUBParser::getColorIndex(), libmspub::MSPUBParser::getFontIndex(), libmspub::MSPUBParser::getParagraphStyle(), libmspub::MSPUBParser::parseColors(), libmspub::MSPUBParser::parseContentChunkReference(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseContents(), libmspub::MSPUBParser::parseDocumentChunk(), libmspub::MSPUBParser::parseEscher(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parsePageChunk(), libmspub::MSPUBParser::parsePaletteChunk(), libmspub::MSPUBParser::parsePaletteEntry(), libmspub::MSPUBParser::parseShape(), and libmspub::MSPUBParser::parseShapes().
double libmspub::toFixedPoint | ( | int | fp | ) |
Referenced by libmspub::MSPUBParser::parseEscherShape(), and readFixedPoint().
void libmspub::writeCustomShape | ( | ShapeType | shapeType, |
WPXPropertyList & | graphicsProps, | ||
libwpg::WPGPaintInterface * | painter, | ||
double | x, | ||
double | y, | ||
double | height, | ||
double | width, | ||
bool | closeEverything, | ||
VectorTransformation2D | transform, | ||
std::vector< Line > | lines, | ||
boost::function< double(unsigned index)> | calculator, | ||
const std::vector< Color > & | palette | ||
) |
Referenced by libmspub::MSPUBCollector::paintShape().
const int libmspub::ASPECT_RATIO = 0x600 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::OTHER_CALC_VAL = 0x400 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::PROP_ADJUST_VAL_FIRST = 327 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::PROP_ADJUST_VAL_LAST = 336 |
const int libmspub::PROP_GEO_BOTTOM = 323 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::PROP_GEO_LEFT = 320 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::PROP_GEO_RIGHT = 322 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().
const int libmspub::PROP_GEO_TOP = 321 |
Referenced by libmspub::MSPUBCollector::getSpecialValue().