libmwaw_applepict1::PictParser Class Reference

internal and low level: map opcode id -> OpCode More...

List of all members.

Public Member Functions

 PictParser ()
 the constructor
void parse (MWAWInputStreamPtr input, libmwaw::DebugFile &dFile)
 internal and low level: parses a picture and stores the parsing in dFile
bool convertToPict2 (WPXBinaryData const &orig, WPXBinaryData &result)
 internal and low level: tries to convert a Pict1.0 picture stored in orig in a Pict2.0 picture

Protected Attributes

std::map< int, OpCode const * > m_mapIdOp
 the map

Detailed Description

internal and low level: map opcode id -> OpCode


Constructor & Destructor Documentation

the constructor


Member Function Documentation

bool libmwaw_applepict1::PictParser::convertToPict2 ( WPXBinaryData const &  orig,
WPXBinaryData &  result 
)

internal and low level: tries to convert a Pict1.0 picture stored in orig in a Pict2.0 picture

Referenced by MWAWPictMac::convertPict1To2().

internal and low level: parses a picture and stores the parsing in dFile

Note:
this is mainly a debugging function but this function can probably serve as model if we want to convert a Pict1.0 in another format

Referenced by MWAWPictMac::parsePict1(), and MWAWPictMac::parsePict2().


Member Data Documentation


The documentation for this class was generated from the following file: