- Main Page
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Classes | Enumerations | Functions | Variables
libmspub Namespace Reference

## Classes
struct | Arrow
struct | BorderArtInfo
struct | BorderImgInfo
struct | Calculation
struct | CharacterStyle
struct | Color
class | ColorReference
struct | ContentChunkReference
struct | Coordinate
struct | CustomShape
struct | Dash
struct | Dot
struct | DynamicCustomShape
struct | EmbeddedFontInfo
class | EndOfStreamException
struct | EscherContainerInfo
class | Fill
struct | FillableShape
class | FindByParentSeqNum
class | FindBySeqNum
struct | FOPTValues
class | GenericException
struct | GeometricShape
class | GradientFill
class | ImgFill
struct | Line
struct | LineSpacingInfo
struct | ListInfo
struct | Margins
struct | MSPUBBlockInfo
class | MSPUBCollector
class | MSPUBDocument
class | MSPUBParser
class | MSPUBParser2k
class | MSPUBParser97
struct | ParagraphStyle
class | PatternFill
struct | QuillChunkReference
struct | Shadow
struct | Shape
class | ShapeGroupElement
struct | ShapeInfo
class | SolidFill
struct | TableInfo
struct | TextParagraph
struct | TextRectangle
struct | TextSpan
struct | Vector2D
class | VectorTransformation2D
struct | Vertex

## Enumerations
enum | ArrowStyle { NO_ARROW, TRIANGLE_ARROW, STEALTH_ANGLE_ARROW, ROTATED_SQUARE_ARROW, CIRCLE_ARROW, LINE_ARROW }
enum | ArrowSize { SMALL, MEDIUM, LARGE }
enum | DotStyle { RECT_DOT, ROUND_DOT }
enum | MSPUBDashStyle { MSPUB_DS_SOLID, DASH_SYS, DOT_SYS, DASH_DOT_SYS, DASH_DOT_DOT_SYS, DOT_GEL, DASH_GEL, LONG_DASH_GEL, DASH_DOT_GEL, LONG_DASH_DOT_GEL, LONG_DASH_DOT_DOT_GEL }
enum | FillType { SOLID = 0x00, PATTERN = 0x01, TEXTURE = 0x02, BITMAP = 0x03, SHADE = 0x04, SHADE_CENTER = 0x05, SHADE_SHAPE = 0x06, SHADE_SCALE = 0x07, SHADE_TITLE = 0x08, BACKGROUND = 0x09 }
enum | ListType { ORDERED, UNORDERED }
enum | MSPUBBlockID { DOCUMENT_SIZE = 0x12, DOCUMENT_WIDTH = 0x1, DOCUMENT_HEIGHT = 0x2, DOCUMENT_PAGE_LIST = 0x2, PAGE_BG_SHAPE = 0xa, PAGE_SHAPES = 0x2, CHUNK_TYPE = 0x2, CHUNK_OFFSET = 0x4, CHUNK_PARENT_SEQNUM = 0x5, SHAPE_CROP = 0xb7, SHAPE_WIDTH = 0xaa, SHAPE_HEIGHT = 0xab, SHAPE_DONT_STRETCH_BA = 0x07, SHAPE_TEXT_ID = 0x27, SHAPE_BORDER_IMAGE_ID = 0x09, SUPER_SUB_TYPE_ID = 0x0F, BOLD_1_ID = 0x02, BOLD_2_ID = 0x37, ITALIC_1_ID = 0x03, ITALIC_2_ID = 0x38, UNDERLINE_ID = 0x1E, TEXT_SIZE_1_ID = 0x0C, TEXT_SIZE_2_ID = 0x39, COLOR_INDEX_CONTAINER_ID = 0x44, BARE_COLOR_INDEX_ID = 0x2E, FONT_INDEX_CONTAINER_ID = 0x24, COLOR_INDEX_ID = 0x0, PARAGRAPH_ALIGNMENT = 0x04, PARAGRAPH_DEFAULT_CHAR_STYLE = 0x19, PARAGRAPH_LINE_SPACING = 0x34, PARAGRAPH_SPACE_BEFORE = 0x12, PARAGRAPH_SPACE_AFTER = 0x13, PARAGRAPH_FIRST_LINE_INDENT = 0xC, PARAGRAPH_LEFT_INDENT = 0xD, PARAGRAPH_RIGHT_INDENT = 0xE, PARAGRAPH_DROP_CAP_LINES = 0x8, PARAGRAPH_DROP_CAP_UP = 0x2C, PARAGRAPH_DROP_CAP_LETTERS = 0x2D, THIS_MASTER_NAME = 0xE, APPLIED_MASTER_NAME = 0xD, BA_ARRAY = 0x02, BA_IMAGE_ARRAY = 0x0A, BA_IMAGE_CONTAINER = 0x00, BA_IMAGE = 0x01, BA_OFFSET_CONTAINER = 0x08, BA_OFFSET_ENTRY = 0x00, PARAGRAPH_LIST_NUMBER_RESTART = 0x15, PARAGRAPH_LIST_INFO = 0x57, PARAGRAPH_LIST_BULLET_CHAR = 0x01, PARAGRAPH_LIST_NUMBERING_TYPE = 0x00, PARAGRAPH_LIST_NUMBERING_DELIMITER = 0x58, SHAPE_VALIGN = 0x35, TABLE_WIDTH = 0x68, TABLE_HEIGHT = 0x69, TABLE_CELLS_SEQNUM = 0x6B, TABLE_NUM_ROWS = 0x66, TABLE_NUM_COLS = 0x67, TABLE_ROWCOL_ARRAY = 0x6D, TABLE_ROWCOL_OFFSET = 0x01, FONT_CONTAINER_ARRAY = 0x02, EMBEDDED_EOT = 0x0C, EMBEDDED_FONT_NAME = 0x04, PARAGRAPH_TABS = 0x32, TAB_ARRAY = 0x28, TAB_ENTRY = 0x0, TAB_AMOUNT = 0x0 }
enum | MSPUBBlockType { TRAILER_DIRECTORY = 0x90, GENERAL_CONTAINER = 0x88, STRING_CONTAINER = 0xc0, DUMMY = 0x78, SHAPE_SEQNUM = 0x70 }
enum | MSPUBContentChunkType { UNKNOWN_CHUNK = 0, SHAPE = 0x01, ALTSHAPE = 0x20, DOCUMENT = 0x44, PAGE = 0x43, PALETTE = 0x5C, BORDER_ART = 0x46, GROUP = 0x30, LOGO = 0x31, TABLE = 0x10, CELLS = 0x63, FONT = 0x6C, IMAGE_2K, IMAGE_2K_DATA }
enum | BorderPosition { INSIDE_SHAPE, HALF_INSIDE_SHAPE, OUTSIDE_SHAPE }
enum | SuperSubType { NO_SUPER_SUB, SUPERSCRIPT, SUBSCRIPT }
enum | Alignment { LEFT = 0, CENTER = 2, RIGHT = 1, JUSTIFY = 6 }
enum | LineSpacingType { LINE_SPACING_SP, LINE_SPACING_PT }
enum | PageType { MASTER, NORMAL, DUMMY_PAGE }
enum | ImgType { UNKNOWN, PNG, JPEG, WMF, EMF, TIFF, DIB, PICT, JPEGCMYK }
enum | NumberingDelimiter { NO_DELIMITER = -1, PARENTHESIS = 0, PARENTHESES_SURROUND = 1, PERIOD = 2, SQUARE_BRACKET = 4, COLON = 5, SQUARE_BRACKET_SURROUND = 6, HYPHEN_SURROUND = 7, IDEOGRAPHIC_HALF_COMMA = 8 }
enum | NumberingType { STANDARD_WESTERN, UPPERCASE_ROMAN, LOWERCASE_ROMAN, UPPERCASE_LETTERS, LOWERCASE_LETTERS, ORDINALS, SPELLED_CARDINALS, SPELLED_ORDINALS, STANDARD_WESTERN_AT_LEAST_TWO_DIGITS = 0x16 }
enum | ShadowType { OFFSET, DOUBLE, RICH, SHADOW_SHAPE, DRAWING, EMBOSS_OR_ENGRAVE }
enum | ShapeType { UNKNOWN_SHAPE = -1, NOT_PRIMITIVE = 0, RECTANGLE = 1, ROUND_RECTANGLE = 2, ELLIPSE = 3, DIAMOND = 4, ISOCELES_TRIANGLE = 5, RIGHT_TRIANGLE = 6, PARALLELOGRAM = 7, TRAPEZOID = 8, HEXAGON = 9, OCTAGON = 10, PLUS = 11, STAR = 12, ARROW = 13, HOME_PLATE = 15, CUBE = 16, BALLOON = 17, ARC_SHAPE = 19, LINE = 20, PLAQUE = 21, CAN = 22, DONUT = 23, TEXT_SIMPLE = 24, STRAIGHT_CONNECTOR_1 = 32, BENT_CONNECTOR_2 = 33, BENT_CONNECTOR_3 = 34, BENT_CONNECTOR_4 = 35, BENT_CONNECTOR_5 = 36, CURVED_CONNECTOR_2 = 37, CURVED_CONNECTOR_3 = 38, CURVED_CONNECTOR_4 = 39, CURVED_CONNECTOR_5 = 40, CALLOUT_1 = 41, CALLOUT_2 = 42, CALLOUT_3 = 43, RIBBON = 53, RIBBON_2 = 54, CHEVRON = 55, PENTAGON = 56, NO_SMOKING = 57, SEAL_8 = 58, SEAL_16 = 59, SEAL_32 = 60, WAVE = 64, FOLDED_CORNER = 65, LEFT_ARROW = 66, DOWN_ARROW = 67, UP_ARROW = 68, LEFT_RIGHT_ARROW = 69, UP_DOWN_ARROW = 70, IRREGULAR_SEAL_1 = 71, IRREGULAR_SEAL_2 = 72, LIGHTNING_BOLT = 73, HEART = 74, PICTURE_FRAME = 75, QUAD_ARROW = 76, BEVEL = 84, LEFT_BRACKET = 85, RIGHT_BRACKET = 86, LEFT_BRACE = 87, RIGHT_BRACE = 88, LEFT_UP_ARROW = 89, BENT_UP_ARROW = 90, BENT_ARROW = 91, SEAL_24 = 92, STRIPED_RIGHT_ARROW = 93, NOTCHED_RIGHT_ARROW = 94, BLOCK_ARC = 95, SMILEY_FACE = 96, VERTICAL_SCROLL = 97, HORIZONTAL_SCROLL = 98, CIRCULAR_ARROW = 99, CUSTOM = 100, U_TURN_ARROW = 101, CURVED_RIGHT_ARROW = 102, CURVED_LEFT_ARROW = 103, CURVED_UP_ARROW = 104, CURVED_DOWN_ARROW = 105, FLOW_CHART_PROCESS = 109, FLOW_CHART_DECISION = 110, FLOW_CHART_IO = 111, FLOW_CHART_PREDEFINED_PROCESS = 112, FLOW_CHART_INTERNAL_STORAGE = 113, FLOW_CHART_DOCUMENT = 114, FLOW_CHART_MULTI_DOCUMENT = 115, FLOW_CHART_TERMINATOR = 116, FLOW_CHART_PREPARATION = 117, FLOW_CHART_MANUAL_INPUT = 118, FLOW_CHART_MANUAL_OPERATION = 119, FLOW_CHART_CONNECTOR = 120, FLOW_CHART_PUNCHED_CARD = 121, FLOW_CHART_PUNCHED_TAPE = 122, FLOW_CHART_SUMMING_JUNCTION = 123, FLOW_CHART_OR = 124, FLOW_CHART_COLLATE = 125, FLOW_CHART_SORT = 126, FLOW_CHART_EXTRACT = 127, FLOW_CHART_MERGE = 128, FLOW_CHART_ONLINE_STORAGE = 130, FLOW_CHART_MAGNETIC_TAPE = 131, FLOW_CHART_MAGNETIC_DISK = 132, FLOW_CHART_MAGNETIC_DRUM = 133, FLOW_CHART_DISPLAY = 134, FLOW_CHART_DELAY = 135, TEXT_PLAIN_TEXT = 136, TEXT_STOP = 137, TEXT_TRIANGLE = 138, TEXT_TRIANGLE_INVERTED = 139, TEXT_CHEVRON = 140, TEXT_CHEVRON_INVERTED = 141, TEXT_RING_OUTSIDE = 143, TEXT_ARCH_UP_CURVE = 144, TEXT_ARCH_DOWN_CURVE = 145, TEXT_CIRCLE_CURVE = 146, TEXT_BUTTON_CURVE = 147, TEXT_ARCH_UP_POUR = 148, TEXT_ARCH_DOWN_POUR = 149, TEXT_CIRCLE_POUR = 150, TEXT_BUTTON_POUR = 151, TEXT_CURVE_UP = 152, TEXT_CURVE_DOWN = 153, TEXT_CASCADE_UP = 154, TEXT_CASCADE_DOWN = 155, TEXT_WAVE_1 = 156, TEXT_WAVE_2 = 157, TEXT_WAVE_3 = 158, TEXT_WAVE_4 = 159, TEXT_INFLATE = 160, TEXT_DEFLATE = 161, TEXT_INFLATE_BOTTOM = 162, TEXT_DEFLATE_BOTTOM = 163, TEXT_INFLATE_TOP = 164, TEXT_DEFLATE_TOP = 165, TEXT_DEFLATE_INFLATE = 166, TEXT_DEFLATE_INFLATE_DEFLATE = 167, TEXT_FADE_RIGHT = 168, TEXT_FADE_LEFT = 169, TEXT_FADE_UP = 170, TEXT_FADE_DOWN = 171, TEXT_SLANT_UP = 172, TEXT_SLANT_DOWN = 173, TEXT_CAN_UP = 174, TEXT_CAN_DOWN = 175, FLOW_CHART_ALTERNATE_PROCESS = 176, FLOW_CHART_OFFPAGE_CONNECTOR = 177, LEFT_RIGHT_UP_ARROW = 182, SUN = 183, MOON = 184, BRACKET_PAIR = 185, BRACE_PAIR = 186, SEAL_4 = 187, DOUBLE_WAVE = 188, ACTION_BUTTON_BLANK = 189, ACTION_BUTTON_HOME = 190, ACTION_BUTTON_HELP = 191, ACTION_BUTTON_INFORMATION = 192, ACTION_BUTTON_FORWARD_NEXT = 193, ACTION_BUTTON_BACK_PREVIOUS = 194, ACTION_BUTTON_END = 195, ACTION_BUTTON_BEGINNING = 196, ACTION_BUTTON_RETURN = 197, ACTION_BUTTON_DOCUMENT = 198, ACTION_BUTTON_SOUND = 199, ACTION_BUTTON_MOVIE = 200, TEXT_BOX = 202 }
enum | VerticalAlign { TOP, MIDDLE, BOTTOM }

## Functions
bool | operator== (const libmspub::ColorReference &l, const libmspub::ColorReference &r)
bool | operator!= (const Dot &lhs, const Dot &rhs)
bool | operator== (const Dot &lhs, const Dot &rhs)
bool | operator== (const Dash &lhs, const Dash &rhs)
Dash | getDash (MSPUBDashStyle style, unsigned shapeLineWidthInEmu, DotStyle dotStyle)
const char * | mimeByImgType (ImgType type)
const char * | windowsCharsetNameByOriginalCharset (const char *name)
uint8_t | readU8 (librevenge::RVNGInputStream *input)
uint16_t | readU16 (librevenge::RVNGInputStream *input)
uint32_t | readU32 (librevenge::RVNGInputStream *input)
uint64_t | readU64 (librevenge::RVNGInputStream *input)
int8_t | readS8 (librevenge::RVNGInputStream *input)
int16_t | readS16 (librevenge::RVNGInputStream *input)
int32_t | readS32 (librevenge::RVNGInputStream *input)
double | readFixedPoint (librevenge::RVNGInputStream *input)
double | toFixedPoint (int fp)
void | readNBytes (librevenge::RVNGInputStream *input, unsigned long length, std::vector< unsigned char > &out)
void | appendCharacters (librevenge::RVNGString &text, std::vector< unsigned char > characters, const char *encoding)
bool | stillReading (librevenge::RVNGInputStream *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)
librevenge::RVNGBinaryData | inflateData (librevenge::RVNGBinaryData)
boost::shared_ptr< const CustomShape > | getFromDynamicCustomShape (const DynamicCustomShape &dcs)
const CustomShape * | getCustomShape (ShapeType type)
bool | isShapeTypeRectangle (ShapeType type)
librevenge::RVNGPropertyList | calcClipPath (const std::vector< libmspub::Vertex > &verts, double x, double y, double height, double width, VectorTransformation2D transform, boost::shared_ptr< const CustomShape > shape)
void | writeCustomShape (ShapeType shapeType, librevenge::RVNGPropertyList &graphicsProps, librevenge::RVNGDrawingInterface *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, boost::shared_ptr< const CustomShape > shape)
bool | needsEmulation (const Shadow &shadow)
void | noop (const CustomShape *)
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

## Enumeration Type Documentation

enum libmspub::Alignment

Enumerator
LEFT |
CENTER |
RIGHT |
JUSTIFY |

enum libmspub::ArrowSize

Enumerator
SMALL |
MEDIUM |
LARGE |

enum libmspub::ArrowStyle

Enumerator
NO_ARROW |
TRIANGLE_ARROW |
STEALTH_ANGLE_ARROW |
ROTATED_SQUARE_ARROW |
CIRCLE_ARROW |
LINE_ARROW |

enum libmspub::BorderPosition

Enumerator
INSIDE_SHAPE |
HALF_INSIDE_SHAPE |
OUTSIDE_SHAPE |

enum libmspub::DotStyle

Enumerator
RECT_DOT |
ROUND_DOT |

enum libmspub::FillType

Enumerator
SOLID |
PATTERN |
TEXTURE |
BITMAP |
SHADE |
SHADE_CENTER |
SHADE_SHAPE |
SHADE_SCALE |
SHADE_TITLE |
BACKGROUND |

enum libmspub::ImgType

Enumerator
UNKNOWN |
PNG |
JPEG |
WMF |
EMF |
TIFF |
DIB |
PICT |
JPEGCMYK |

enum libmspub::LineSpacingType

Enumerator
LINE_SPACING_SP |
LINE_SPACING_PT |

enum libmspub::ListType

Enumerator
ORDERED |
UNORDERED |

enum libmspub::MSPUBBlockID

Enumerator
DOCUMENT_SIZE |
DOCUMENT_WIDTH |
DOCUMENT_HEIGHT |
DOCUMENT_PAGE_LIST |
PAGE_BG_SHAPE |
PAGE_SHAPES |
CHUNK_TYPE |
CHUNK_OFFSET |
CHUNK_PARENT_SEQNUM |
SHAPE_CROP |
SHAPE_WIDTH |
SHAPE_HEIGHT |
SHAPE_DONT_STRETCH_BA |
SHAPE_TEXT_ID |
SHAPE_BORDER_IMAGE_ID |
SUPER_SUB_TYPE_ID |
BOLD_1_ID |
BOLD_2_ID |
ITALIC_1_ID |
ITALIC_2_ID |
UNDERLINE_ID |
TEXT_SIZE_1_ID |
TEXT_SIZE_2_ID |
COLOR_INDEX_CONTAINER_ID |
BARE_COLOR_INDEX_ID |
FONT_INDEX_CONTAINER_ID |
COLOR_INDEX_ID |
PARAGRAPH_ALIGNMENT |
PARAGRAPH_DEFAULT_CHAR_STYLE |
PARAGRAPH_LINE_SPACING |
PARAGRAPH_SPACE_BEFORE |
PARAGRAPH_SPACE_AFTER |
PARAGRAPH_FIRST_LINE_INDENT |
PARAGRAPH_LEFT_INDENT |
PARAGRAPH_RIGHT_INDENT |
PARAGRAPH_DROP_CAP_LINES |
PARAGRAPH_DROP_CAP_UP |
PARAGRAPH_DROP_CAP_LETTERS |
THIS_MASTER_NAME |
APPLIED_MASTER_NAME |
BA_ARRAY |
BA_IMAGE_ARRAY |
BA_IMAGE_CONTAINER |
BA_IMAGE |
BA_OFFSET_CONTAINER |
BA_OFFSET_ENTRY |
PARAGRAPH_LIST_NUMBER_RESTART |
PARAGRAPH_LIST_INFO |
PARAGRAPH_LIST_BULLET_CHAR |
PARAGRAPH_LIST_NUMBERING_TYPE |
PARAGRAPH_LIST_NUMBERING_DELIMITER |
SHAPE_VALIGN |
TABLE_WIDTH |
TABLE_HEIGHT |
TABLE_CELLS_SEQNUM |
TABLE_NUM_ROWS |
TABLE_NUM_COLS |
TABLE_ROWCOL_ARRAY |
TABLE_ROWCOL_OFFSET |
FONT_CONTAINER_ARRAY |
EMBEDDED_EOT |
EMBEDDED_FONT_NAME |
PARAGRAPH_TABS |
TAB_ARRAY |
TAB_ENTRY |
TAB_AMOUNT |

enum libmspub::MSPUBBlockType

Enumerator
TRAILER_DIRECTORY |
GENERAL_CONTAINER |
STRING_CONTAINER |
DUMMY |
SHAPE_SEQNUM |

enum libmspub::MSPUBContentChunkType

Enumerator
UNKNOWN_CHUNK |
SHAPE |
ALTSHAPE |
DOCUMENT |
PAGE |
PALETTE |
BORDER_ART |
GROUP |
LOGO |
TABLE |
CELLS |
FONT |
IMAGE_2K |
IMAGE_2K_DATA |

enum libmspub::MSPUBDashStyle

Enumerator
MSPUB_DS_SOLID |
DASH_SYS |
DOT_SYS |
DASH_DOT_SYS |
DASH_DOT_DOT_SYS |
DOT_GEL |
DASH_GEL |
LONG_DASH_GEL |
DASH_DOT_GEL |
LONG_DASH_DOT_GEL |
LONG_DASH_DOT_DOT_GEL |

enum libmspub::NumberingDelimiter

Enumerator
NO_DELIMITER |
PARENTHESIS |
PARENTHESES_SURROUND |
PERIOD |
SQUARE_BRACKET |
COLON |
SQUARE_BRACKET_SURROUND |
HYPHEN_SURROUND |
IDEOGRAPHIC_HALF_COMMA |

enum libmspub::NumberingType

Enumerator
STANDARD_WESTERN |
UPPERCASE_ROMAN |
LOWERCASE_ROMAN |
UPPERCASE_LETTERS |
LOWERCASE_LETTERS |
ORDINALS |
SPELLED_CARDINALS |
SPELLED_ORDINALS |
STANDARD_WESTERN_AT_LEAST_TWO_DIGITS |

enum libmspub::PageType

Enumerator
MASTER |
NORMAL |
DUMMY_PAGE |

enum libmspub::ShadowType

Enumerator
OFFSET |
DOUBLE |
RICH |
SHADOW_SHAPE |
DRAWING |
EMBOSS_OR_ENGRAVE |

enum libmspub::ShapeType

Enumerator
UNKNOWN_SHAPE |
NOT_PRIMITIVE |
RECTANGLE |
ROUND_RECTANGLE |
ELLIPSE |
DIAMOND |
ISOCELES_TRIANGLE |
RIGHT_TRIANGLE |
PARALLELOGRAM |
TRAPEZOID |
HEXAGON |
OCTAGON |
PLUS |
STAR |
ARROW |
HOME_PLATE |
CUBE |
BALLOON |
ARC_SHAPE |
LINE |
PLAQUE |
CAN |
DONUT |
TEXT_SIMPLE |
STRAIGHT_CONNECTOR_1 |
BENT_CONNECTOR_2 |
BENT_CONNECTOR_3 |
BENT_CONNECTOR_4 |
BENT_CONNECTOR_5 |
CURVED_CONNECTOR_2 |
CURVED_CONNECTOR_3 |
CURVED_CONNECTOR_4 |
CURVED_CONNECTOR_5 |
CALLOUT_1 |
CALLOUT_2 |
CALLOUT_3 |
RIBBON |
RIBBON_2 |
CHEVRON |
PENTAGON |
NO_SMOKING |
SEAL_8 |
SEAL_16 |
SEAL_32 |
WAVE |
FOLDED_CORNER |
LEFT_ARROW |
DOWN_ARROW |
UP_ARROW |
LEFT_RIGHT_ARROW |
UP_DOWN_ARROW |
IRREGULAR_SEAL_1 |
IRREGULAR_SEAL_2 |
LIGHTNING_BOLT |
HEART |
PICTURE_FRAME |
QUAD_ARROW |
BEVEL |
LEFT_BRACKET |
RIGHT_BRACKET |
LEFT_BRACE |
RIGHT_BRACE |
LEFT_UP_ARROW |
BENT_UP_ARROW |
BENT_ARROW |
SEAL_24 |
STRIPED_RIGHT_ARROW |
NOTCHED_RIGHT_ARROW |
BLOCK_ARC |
SMILEY_FACE |
VERTICAL_SCROLL |
HORIZONTAL_SCROLL |
CIRCULAR_ARROW |
CUSTOM |
U_TURN_ARROW |
CURVED_RIGHT_ARROW |
CURVED_LEFT_ARROW |
CURVED_UP_ARROW |
CURVED_DOWN_ARROW |
FLOW_CHART_PROCESS |
FLOW_CHART_DECISION |
FLOW_CHART_IO |
FLOW_CHART_PREDEFINED_PROCESS |
FLOW_CHART_INTERNAL_STORAGE |
FLOW_CHART_DOCUMENT |
FLOW_CHART_MULTI_DOCUMENT |
FLOW_CHART_TERMINATOR |
FLOW_CHART_PREPARATION |
FLOW_CHART_MANUAL_INPUT |
FLOW_CHART_MANUAL_OPERATION |
FLOW_CHART_CONNECTOR |
FLOW_CHART_PUNCHED_CARD |
FLOW_CHART_PUNCHED_TAPE |
FLOW_CHART_SUMMING_JUNCTION |
FLOW_CHART_OR |
FLOW_CHART_COLLATE |
FLOW_CHART_SORT |
FLOW_CHART_EXTRACT |
FLOW_CHART_MERGE |
FLOW_CHART_ONLINE_STORAGE |
FLOW_CHART_MAGNETIC_TAPE |
FLOW_CHART_MAGNETIC_DISK |
FLOW_CHART_MAGNETIC_DRUM |
FLOW_CHART_DISPLAY |
FLOW_CHART_DELAY |
TEXT_PLAIN_TEXT |
TEXT_STOP |
TEXT_TRIANGLE |
TEXT_TRIANGLE_INVERTED |
TEXT_CHEVRON |
TEXT_CHEVRON_INVERTED |
TEXT_RING_OUTSIDE |
TEXT_ARCH_UP_CURVE |
TEXT_ARCH_DOWN_CURVE |
TEXT_CIRCLE_CURVE |
TEXT_BUTTON_CURVE |
TEXT_ARCH_UP_POUR |
TEXT_ARCH_DOWN_POUR |
TEXT_CIRCLE_POUR |
TEXT_BUTTON_POUR |
TEXT_CURVE_UP |
TEXT_CURVE_DOWN |
TEXT_CASCADE_UP |
TEXT_CASCADE_DOWN |
TEXT_WAVE_1 |
TEXT_WAVE_2 |
TEXT_WAVE_3 |
TEXT_WAVE_4 |
TEXT_INFLATE |
TEXT_DEFLATE |
TEXT_INFLATE_BOTTOM |
TEXT_DEFLATE_BOTTOM |
TEXT_INFLATE_TOP |
TEXT_DEFLATE_TOP |
TEXT_DEFLATE_INFLATE |
TEXT_DEFLATE_INFLATE_DEFLATE |
TEXT_FADE_RIGHT |
TEXT_FADE_LEFT |
TEXT_FADE_UP |
TEXT_FADE_DOWN |
TEXT_SLANT_UP |
TEXT_SLANT_DOWN |
TEXT_CAN_UP |
TEXT_CAN_DOWN |
FLOW_CHART_ALTERNATE_PROCESS |
FLOW_CHART_OFFPAGE_CONNECTOR |
LEFT_RIGHT_UP_ARROW |
SUN |
MOON |
BRACKET_PAIR |
BRACE_PAIR |
SEAL_4 |
DOUBLE_WAVE |
ACTION_BUTTON_BLANK |
ACTION_BUTTON_HOME |
ACTION_BUTTON_HELP |
ACTION_BUTTON_INFORMATION |
ACTION_BUTTON_FORWARD_NEXT |
ACTION_BUTTON_BACK_PREVIOUS |
ACTION_BUTTON_END |
ACTION_BUTTON_BEGINNING |
ACTION_BUTTON_RETURN |
ACTION_BUTTON_DOCUMENT |
ACTION_BUTTON_SOUND |
ACTION_BUTTON_MOVIE |
TEXT_BOX |

enum libmspub::SuperSubType

Enumerator
NO_SUPER_SUB |
SUPERSCRIPT |
SUBSCRIPT |

enum libmspub::VerticalAlign

Enumerator
TOP |
MIDDLE |
BOTTOM |

## Function Documentation

void libmspub::appendCharacters | ( | librevenge::RVNGString & | text,
|  | std::vector< unsigned char > | characters,
|  | const char * | encoding
| ) |  |

Referenced by libmspub::MSPUBCollector::getCharStyleProps(), libmspub::MSPUBCollector::paintShape(), and libmspub::MSPUBParser::parseFontChunk().

librevenge::RVNGPropertyList libmspub::calcClipPath | ( | const std::vector< libmspub::Vertex > & | verts,
|  | double | x,
|  | double | y,
|  | double | height,
|  | double | width,
|  | VectorTransformation2D | transform,
|  | boost::shared_ptr< const CustomShape > | shape
| ) |  |

Referenced by libmspub::MSPUBCollector::paintShape().

unsigned libmspub::correctModulo | ( | int | x,
|  | unsigned | n
| ) |  |

double libmspub::doubleModulo | ( | double | x,
|  | double | y
| ) |  |

Referenced by libmspub::MSPUBParser::getNewFill(), libmspub::MSPUBParser::parseEscherShape(), libmspub::MSPUBCollector::setupShapeStructures(), and writeCustomShape().

void libmspub::flipIfNecessary | ( | double & | x,
|  | double & | y,
|  | double | centerX,
|  | double | centerY,
|  | bool | flipVertical,
|  | bool | flipHorizontal
| ) |  |

const CustomShape * libmspub::getCustomShape | ( | ShapeType | type | ) |

Referenced by libmspub::ShapeInfo::getCustomShape().

libmspub::Dash libmspub::getDash | ( | MSPUBDashStyle | style,
|  | unsigned | shapeLineWidthInEmu,
|  | DotStyle | dotStyle
| ) |  |

Referenced by libmspub::MSPUBParser::parseEscherShape().

boost::shared_ptr< const libmspub::CustomShape > libmspub::getFromDynamicCustomShape | ( | const DynamicCustomShape & | dcs | ) |

Referenced by libmspub::ShapeInfo::getCustomShape().

template<class MapT >

MapT::mapped_type* libmspub::getIfExists | ( | MapT & | map,
|  | const typename MapT::key_type & | key
| ) |  |

Referenced by libmspub::MSPUBCollector::assignShapesToPages(), libmspub::MSPUBParser::parseEscherShape(), and libmspub::MSPUBCollector::setupShapeStructures().

template<class MapT >

const MapT::mapped_type* libmspub::getIfExists_const | ( | MapT & | map,
|  | const typename MapT::key_type & | key
| ) |  |

Referenced by libmspub::MSPUBCollector::getMasterPageSeqNum(), libmspub::MSPUBParser::getNewFill(), libmspub::MSPUBCollector::getShapeText(), libmspub::MSPUBParser::parseEscherShape(), and libmspub::MSPUBCollector::writePageBackground().

librevenge::RVNGBinaryData libmspub::inflateData | ( | librevenge::RVNGBinaryData | 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(), libmspub::PatternFill::getProperties(), and libmspub::MSPUBCollector::writeImage().

bool libmspub::needsEmulation | ( | const Shadow & | shadow | ) |

Referenced by libmspub::MSPUBCollector::paintShape().

void libmspub::noop | ( | const CustomShape * |  | ) |

Referenced by libmspub::ShapeInfo::getCustomShape().

bool libmspub::operator!= | ( | const Dot & | lhs,
|  | const Dot & | rhs
| ) |  |

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
| ) |  |

Referenced by operator!=().

bool libmspub::operator== | ( | const Dot & | lhs,
|  | const Dot & | rhs
| ) |  |

bool libmspub::operator== | ( | const Dash & | lhs,
|  | const Dash & | rhs
| ) |  |

template<class MapT >

MapT::mapped_type libmspub::ptr_getIfExists | ( | MapT & | map,
|  | const typename MapT::key_type & | key
| ) |  |

double libmspub::readFixedPoint | ( | librevenge::RVNGInputStream * | input | ) |

void libmspub::readNBytes | ( | librevenge::RVNGInputStream * | input,
|  | unsigned long | length,
|  | std::vector< unsigned char > & | out
| ) |  |

Referenced by libmspub::MSPUBParser::extractFOPTValues(), libmspub::MSPUBParser::parseBlock(), and libmspub::MSPUBParser::parseFonts().

int16_t libmspub::readS16 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser97::readCharacterStyle().

int32_t libmspub::readS32 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser2k::parseShapeCoordinates(), and readFixedPoint().

int8_t libmspub::readS8 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser97::readCharacterStyle().

uint16_t libmspub::readU16 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::extractFOPTValues(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseCharacterStyles(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser97::parseContentsTextIfNecessary(), libmspub::MSPUBParser::parseDefaultStyle(), libmspub::MSPUBParser97::parseDocument(), libmspub::MSPUBParser::parseEscherContainer(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseFonts(), libmspub::MSPUBParser::parseParagraphStyles(), libmspub::MSPUBParser::parseQuill(), libmspub::MSPUBParser::parseQuillChunkReference(), libmspub::MSPUBParser2k::parseShapeRotation(), libmspub::MSPUBParser2k::parseShapeType(), and readS16().

uint32_t libmspub::readU32 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::extractFOPTValues(), libmspub::MSPUBParser::getCharacterStyle(), libmspub::MSPUBParser::getParagraphStyle(), libmspub::MSPUBParser97::getSpansInfo(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseBorderArtChunk(), libmspub::MSPUBParser::parseCharacterStyles(), libmspub::MSPUBParser::parseColors(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseContents(), libmspub::MSPUBParser97::parseContentsTextIfNecessary(), libmspub::MSPUBParser::parseDefaultStyle(), libmspub::MSPUBParser97::parseDocument(), libmspub::MSPUBParser2k::parseDocument(), libmspub::MSPUBParser::parseDocumentChunk(), libmspub::MSPUBParser::parseEscher(), libmspub::MSPUBParser::parseEscherContainer(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseEscherShape(), libmspub::MSPUBParser::parseFontChunk(), libmspub::MSPUBParser::parseFonts(), libmspub::MSPUBParser::parsePageChunk(), libmspub::MSPUBParser::parsePaletteChunk(), libmspub::MSPUBParser::parseParagraphStyles(), libmspub::MSPUBParser::parseQuill(), libmspub::MSPUBParser::parseQuillChunkReference(), libmspub::MSPUBParser::parseShape(), libmspub::MSPUBParser2k::parseShapeFill(), libmspub::MSPUBParser2k::parseShapeLine(), libmspub::MSPUBParser::parseTableCellDefinitions(), libmspub::MSPUBParser97::readCharacterStyle(), and readS32().

uint64_t libmspub::readU64 | ( | librevenge::RVNGInputStream * | input | ) |

uint8_t libmspub::readU8 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libmspub::MSPUBParser97::getSpansInfo(), libmspub::MSPUBParser97::getTextInfo(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseQuill(), libmspub::MSPUBParser::parseQuillChunkReference(), libmspub::MSPUBParser2k::parseShapeFill(), libmspub::MSPUBParser2k::parseShapeFlips(), libmspub::MSPUBParser2k::parseShapeLine(), libmspub::MSPUBParser2k::parseShapeType(), libmspub::MSPUBParser97::readCharacterStyle(), readS8(), readU16(), readU32(), and readU64().

void libmspub::rotateCounter | ( | double & | x,
|  | double & | y,
|  | double | centerX,
|  | double | centerY,
|  | short | rotation
| ) |  |

bool libmspub::stillReading | ( | librevenge::RVNGInputStream * | input,
|  | unsigned long | until
| ) |  |

Referenced by libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::extractFOPTValues(), libmspub::MSPUBParser::findEscherContainer(), libmspub::MSPUBParser::findEscherContainerWithTypeInSet(), libmspub::MSPUBParser::getCharacterStyle(), libmspub::MSPUBParser::getColorIndex(), libmspub::MSPUBParser::getFontIndex(), libmspub::MSPUBParser::getParagraphStyle(), libmspub::MSPUBParser97::getSpansInfo(), libmspub::MSPUBParser97::getTextInfo(), libmspub::MSPUBParser::parseBorderArtChunk(), libmspub::MSPUBParser::parseColors(), libmspub::MSPUBParser::parseContentChunkReference(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseContents(), libmspub::MSPUBParser::parseDocumentChunk(), libmspub::MSPUBParser::parseEscher(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseFontChunk(), libmspub::MSPUBParser::parsePageChunk(), libmspub::MSPUBParser::parsePageShapeList(), libmspub::MSPUBParser::parsePaletteChunk(), libmspub::MSPUBParser::parsePaletteEntry(), and libmspub::MSPUBParser::parseShape().

double libmspub::toFixedPoint | ( | int | fp | ) |

Referenced by libmspub::MSPUBParser::getNewFill(), libmspub::MSPUBParser::parseEscherShape(), and readFixedPoint().

const char * libmspub::windowsCharsetNameByOriginalCharset | ( | const char * | name | ) |

Referenced by libmspub::MSPUBCollector::getCalculatedEncoding().

void libmspub::writeCustomShape | ( | ShapeType | shapeType,
|  | librevenge::RVNGPropertyList & | graphicsProps,
|  | librevenge::RVNGDrawingInterface * | 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,
|  | boost::shared_ptr< const CustomShape > | shape
| ) |  |

Referenced by libmspub::MSPUBCollector::paintShape().

## Variable Documentation

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().