Canvas5Structure Namespace Reference

a namespace used to define basic function or structure to read a Canvas v5-v11 file More...

Classes

struct  LWZDecoder
 a basic LWZ decoder More...
 
struct  NIBDecoder
 a basic NIB decoder More...
 
struct  Stream
 a sub stream of Canvas5Structure More...
 
struct  UnpackDecoder
 a basic Unpack decoder More...
 

Functions

std::string getString (unsigned val)
 very low level: debug print some uint32_t either at char4 or sample int
 
bool readBitmap (Stream &stream, int version, MWAWEmbeddedObject &object, MWAWColor *avgColor=nullptr)
 try to read a bitmap(low level)
 
bool readBitmapDAD58Bim (Stream &stream, int version, MWAWEmbeddedObject &object)
 try to read a bitmap followed by DAD5 and 8BIM zones
 
bool readPreview (Canvas5Structure::Stream &stream, bool hasPreviewBitmap)
 try to read the preview bitmap
 
bool decodeZone5 (MWAWInputStreamPtr input, long endPos, int type, unsigned long finalLength, std::shared_ptr< MWAWStringStream > &stream)
 try to decode a zone v5-v6
 

Detailed Description

a namespace used to define basic function or structure to read a Canvas v5-v11 file

Function Documentation

◆ decodeZone5()

bool Canvas5Structure::decodeZone5 ( MWAWInputStreamPtr  input,
long  endPos,
int  type,
unsigned long  finalLength,
std::shared_ptr< MWAWStringStream > &  stream 
)

try to decode a zone v5-v6

Referenced by Canvas5Parser::decode().

◆ getString()

◆ readBitmap()

bool Canvas5Structure::readBitmap ( Stream stream,
int  version,
MWAWEmbeddedObject object,
MWAWColor avgColor 
)

try to read a bitmap(low level)

Referenced by readBitmapDAD58Bim(), and Canvas5Image::readVKFLShapeMainData().

◆ readBitmapDAD58Bim()

bool Canvas5Structure::readBitmapDAD58Bim ( Stream stream,
int  version,
MWAWEmbeddedObject object 
)

try to read a bitmap followed by DAD5 and 8BIM zones

Note
such a bitmap appears in the bitmap lists or in a .cvi bitmap file

Referenced by Canvas5BMParser::createZones(), Canvas5Image::readImages(), and Canvas5Image::readImages9().

◆ readPreview()

bool Canvas5Structure::readPreview ( Stream stream,
bool  hasPreviewBitmap 
)

try to read the preview bitmap

Referenced by Canvas5Parser::readMainBlock(), and Canvas5Parser::readMainBlock9().


Generated on Thu Jan 19 2023 00:00:00 for libmwaw by doxygen 1.9.6