#include <MSPUBParser.h>
Classes | |
struct | TextParagraphReference |
struct | TextSpanReference |
Public Member Functions | |
MSPUBParser (WPXInputStream *input, MSPUBCollector *collector) | |
virtual | ~MSPUBParser () |
virtual bool | parse () |
Protected Types | |
typedef std::vector < ContentChunkReference > ::const_iterator | ccr_iterator_t |
Protected Member Functions | |
virtual unsigned | getColorIndexByQuillEntry (unsigned entry) |
MSPUBParser () | |
MSPUBParser (const MSPUBParser &) | |
MSPUBParser & | operator= (const MSPUBParser &) |
virtual bool | parseContents (WPXInputStream *input) |
bool | parseQuill (WPXInputStream *input) |
bool | parseEscher (WPXInputStream *input) |
bool | parseEscherDelay (WPXInputStream *input) |
MSPUBBlockInfo | parseBlock (WPXInputStream *input, bool skipHierarchicalData=false) |
EscherContainerInfo | parseEscherContainer (WPXInputStream *input) |
ContentChunkReference * | parseContentChunkReference (WPXInputStream *input, MSPUBBlockInfo block) |
QuillChunkReference | parseQuillChunkReference (WPXInputStream *input) |
bool | parseDocumentChunk (WPXInputStream *input, const ContentChunkReference &chunk) |
bool | parsePageChunk (WPXInputStream *input, const ContentChunkReference &chunk) |
bool | parsePaletteChunk (WPXInputStream *input, const ContentChunkReference &chunk) |
bool | parseShapes (WPXInputStream *input, MSPUBBlockInfo block, unsigned pageSeqNum) |
bool | parseShape (WPXInputStream *input, unsigned seqNum, unsigned pageSeqNum, bool parseWithoutDimensions, bool isGroup) |
void | parsePaletteEntry (WPXInputStream *input, MSPUBBlockInfo block) |
void | parseColors (WPXInputStream *input, const QuillChunkReference &chunk) |
void | parseFonts (WPXInputStream *input, const QuillChunkReference &chunk) |
void | parseDefaultStyle (WPXInputStream *input, const QuillChunkReference &chunk) |
void | parseShapeGroup (WPXInputStream *input, const EscherContainerInfo &spgr, bool topLevel, Coordinate &relativeTo, Coordinate &groupCoord) |
void | skipBlock (WPXInputStream *input, MSPUBBlockInfo block) |
void | parseEscherShape (WPXInputStream *input, const EscherContainerInfo &sp, bool topLevel, Coordinate &relativeTo, Coordinate &groupCoord) |
bool | findEscherContainer (WPXInputStream *input, const EscherContainerInfo &parent, EscherContainerInfo &out, unsigned short type) |
bool | findEscherContainerWithTypeInSet (WPXInputStream *input, const EscherContainerInfo &parent, EscherContainerInfo &out, std::set< unsigned short > types) |
std::map< unsigned short, unsigned > | extractEscherValues (WPXInputStream *input, const EscherContainerInfo &record) |
std::vector< TextSpanReference > | parseCharacterStyles (WPXInputStream *input, const QuillChunkReference &chunk) |
std::vector < TextParagraphReference > | parseParagraphStyles (WPXInputStream *input, const QuillChunkReference &chunk) |
int | getColorIndex (WPXInputStream *input, const MSPUBBlockInfo &info) |
unsigned | getFontIndex (WPXInputStream *input, const MSPUBBlockInfo &info) |
CharacterStyle | getCharacterStyle (WPXInputStream *input, bool inStsh=false) |
ParagraphStyle | getParagraphStyle (WPXInputStream *input) |
Fill * | getNewFill (const std::map< unsigned short, unsigned > &foptValues, bool &skipIfNotBg) |
Static Protected Member Functions | |
static short | getBlockDataLength (unsigned type) |
static bool | isBlockDataString (unsigned type) |
static PageType | getPageTypeBySeqNum (unsigned seqNum) |
static unsigned | getEscherElementTailLength (unsigned short type) |
static unsigned | getEscherElementAdditionalHeaderLength (unsigned short type) |
static ImgType | imgTypeByBlipType (unsigned short type) |
static int | getStartOffset (ImgType type, unsigned short initial) |
static bool | lineExistsByFlagPointer (unsigned *) |
Protected Attributes | |
WPXInputStream * | m_input |
MSPUBCollector * | m_collector |
std::vector< MSPUBBlockInfo > | m_blockInfo |
std::vector < ContentChunkReference > | m_pageChunks |
std::vector < ContentChunkReference > | m_shapeChunks |
std::vector < ContentChunkReference > | m_paletteChunks |
std::vector < ContentChunkReference > | m_unknownChunks |
ContentChunkReference | m_documentChunk |
int | m_lastSeenSeqNum |
unsigned | m_lastAddedImage |
bool | m_seenDocumentChunk |
std::vector< int > | m_alternateShapeSeqNums |
std::vector< int > | m_escherDelayIndices |
|
protected |
|
explicit |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in libmspub::MSPUBParser2k.
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
staticprotected |
Reimplemented in libmspub::MSPUBParser2k.
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
virtual |
Reimplemented in libmspub::MSPUBParser2k.
Referenced by libmspub::MSPUBDocument::parse().
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in libmspub::MSPUBParser2k.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |