MWAWPictDB3 Class Reference

a small table file (known by open office) More...

#include <MWAWPictData.hxx>

Inheritance diagram for MWAWPictDB3:
MWAWPictData MWAWPict

List of all members.

Public Member Functions

virtual SubType getSubType () const
 returns the picture subtype
virtual bool valid () const
 returns true if the picture is valid
virtual int cmp (MWAWPict const &a) const
 a virtual function used to obtain a strict order, must be redefined in the subs class

Protected Member Functions

 MWAWPictDB3 ()
 protected constructor: uses check to construct a picture

Static Protected Member Functions

static ReadResult checkOrGet (MWAWInputStreamPtr input, int size, MWAWPictData **result=0L)
 checks if the data pointed by input and of given size is a pict

Friends

class MWAWPictData

Detailed Description

a small table file (known by open office)


Constructor & Destructor Documentation

MWAWPictDB3::MWAWPictDB3 ( ) [inline, protected]

protected constructor: uses check to construct a picture


Member Function Documentation

MWAWPictDB3::ReadResult MWAWPictDB3::checkOrGet ( MWAWInputStreamPtr  input,
int  size,
MWAWPictData **  result = 0L 
) [static, protected]

checks if the data pointed by input and of given size is a pict

  • if not returns MWAW_R_BAD
  • if true
    • set empty to true if the picture contains no data
    • creates a picture if result is given and if the picture is not empty

Referenced by MWAWPictData::checkOrGet().

virtual int MWAWPictDB3::cmp ( MWAWPict const &  a) const [inline, virtual]

a virtual function used to obtain a strict order, must be redefined in the subs class

Reimplemented from MWAWPictData.

virtual SubType MWAWPictDB3::getSubType ( ) const [inline, virtual]

returns the picture subtype

Implements MWAWPictData.

virtual bool MWAWPictDB3::valid ( ) const [inline, virtual]

returns true if the picture is valid

Reimplemented from MWAWPictData.


Friends And Related Function Documentation

friend class MWAWPictData [friend]

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