#include <MSPUBParser97.h>
Classes | |
struct | SpanInfo97 |
struct | TextInfo97 |
Public Member Functions | |
MSPUBParser97 (WPXInputStream *input, MSPUBCollector *collector) | |
bool | parse () |
![]() | |
MSPUBParser2k (WPXInputStream *input, MSPUBCollector *collector) | |
virtual | ~MSPUBParser2k () |
![]() | |
MSPUBParser (WPXInputStream *input, MSPUBCollector *collector) | |
virtual | ~MSPUBParser () |
Private Member Functions | |
bool | parseDocument (WPXInputStream *input) |
int | translateCoordinateIfNecessary (int coordinate) const |
unsigned | getFirstLineOffset () const |
unsigned | getSecondLineOffset () const |
unsigned | getShapeFillTypeOffset () const |
unsigned | getShapeFillColorOffset () const |
unsigned short | getTextMarker () const |
unsigned | getTextIdOffset () const |
CharacterStyle | readCharacterStyle (WPXInputStream *input, unsigned length) |
void | parseContentsTextIfNecessary (WPXInputStream *input) |
std::vector< SpanInfo97 > | getSpansInfo (WPXInputStream *input, unsigned prop1Index, unsigned prop2Index, unsigned prop3Index, unsigned prop3End) |
TextInfo97 | getTextInfo (WPXInputStream *input, unsigned length) |
Private Attributes | |
bool | m_isBanner |
Additional Inherited Members | |
![]() | |
typedef std::vector < ContentChunkReference > ::const_iterator | ccr_iterator_t |
![]() | |
bool | parse2kShapeChunk (const ContentChunkReference &chunk, WPXInputStream *input, boost::optional< unsigned > pageSeqNum=boost::optional< unsigned >(), bool topLevelCall=true) |
void | parseShapeLine (WPXInputStream *input, bool isRectangle, unsigned offset, unsigned seqNum) |
void | parseShapeType (WPXInputStream *input, unsigned seqNum, unsigned chunkOffset, bool &isGroup, bool &isLine, bool &isImage, bool &isRectangle, unsigned &flagsOffset) |
void | parseShapeRotation (WPXInputStream *input, bool isGroup, bool isLine, unsigned seqNum, unsigned chunkOffset) |
void | parseShapeFlips (WPXInputStream *input, unsigned flagsOffset, unsigned seqNum, unsigned chunkOffset) |
void | parseShapeCoordinates (WPXInputStream *input, unsigned seqNum, unsigned chunkOffset) |
bool | parseGroup (WPXInputStream *input, unsigned seqNum, unsigned page) |
void | assignShapeImgIndex (unsigned seqNum) |
void | parseShapeFill (WPXInputStream *input, unsigned seqNum, unsigned chunkOffset) |
bool | parseContents (WPXInputStream *input) |
virtual unsigned | getColorIndexByQuillEntry (unsigned entry) |
![]() | |
static Color | getColorBy2kIndex (unsigned char index) |
static Color | getColorBy2kHex (unsigned hex) |
static unsigned | translate2kColorReference (unsigned ref2k) |
static PageType | getPageTypeBySeqNum (unsigned seqNum) |
![]() | |
WPXInputStream * | m_input |
MSPUBCollector * | m_collector |
std::vector< MSPUBBlockInfo > | m_blockInfo |
std::vector < ContentChunkReference > | m_contentChunks |
std::vector< unsigned > | m_cellsChunkIndices |
std::vector< unsigned > | m_pageChunkIndices |
std::vector< unsigned > | m_shapeChunkIndices |
std::vector< unsigned > | m_paletteChunkIndices |
std::vector< unsigned > | m_borderArtChunkIndices |
std::vector< unsigned > | m_fontChunkIndices |
std::vector< unsigned > | m_unknownChunkIndices |
boost::optional< unsigned > | m_documentChunkIndex |
int | m_lastSeenSeqNum |
unsigned | m_lastAddedImage |
std::vector< int > | m_alternateShapeSeqNums |
std::vector< int > | m_escherDelayIndices |
libmspub::MSPUBParser97::MSPUBParser97 | ( | WPXInputStream * | input, |
MSPUBCollector * | collector | ||
) |
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
private |
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
private |
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
virtual |
Reimplemented from libmspub::MSPUBParser2k.
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
private |
|
privatevirtual |
Reimplemented from libmspub::MSPUBParser2k.
|
private |