class to store small data which are potentially a picture More...
#include <MWAWPictData.hxx>
 
  
| Public Member Functions | |
| ~MWAWPictDUnknown () final | |
| destructor  More... | |
| SubType | getSubType () const final | 
| returns the picture subtype  More... | |
| bool | valid () const final | 
| returns true if the picture is valid  More... | |
| int | cmp (MWAWPict const &a) const final | 
| a virtual function used to obtain a strict order, must be redefined in the subs class  More... | |
|  Public Member Functions inherited from MWAWPictData | |
| ~MWAWPictData () override | |
| destructor  More... | |
| Type | getType () const override | 
| returns the picture type  More... | |
| bool | getBinary (MWAWEmbeddedObject &picture) const override | 
| returns the final picture  More... | |
| virtual bool | sure () const | 
| returns true if we are relatively sure that the data are correct  More... | |
| bool | isEmpty () const | 
| returns true if the picture is valid and has size 0 or contains no data  More... | |
|  Public Member Functions inherited from MWAWPict | |
| virtual | ~MWAWPict () | 
| virtual destructor  More... | |
| MWAWBox2f | getBdBox () const | 
| returns the bdbox of the picture  More... | |
| void | setBdBox (MWAWBox2f const &box) | 
| sets the bdbox of the picture  More... | |
| Protected Member Functions | |
| MWAWPictDUnknown () | |
| protected constructor: uses check to construct a picture  More... | |
|  Protected Member Functions inherited from MWAWPictData | |
| MWAWPictData () | |
| protected constructor: use check to construct a picture  More... | |
| MWAWPictData (MWAWBox2f &) | |
|  Protected Member Functions inherited from MWAWPict | |
| void | extendBDBox (float val) | 
| udaptes the bdbox, by extended it by (val-previousVal)  More... | |
| MWAWPict () | |
| protected constructor must not be called directly  More... | |
| MWAWPict (MWAWPict const &p) | |
| protected constructor must not be called directly  More... | |
| MWAWPict & | operator= (MWAWPict const &p) | 
| protected operator= must not be called directly  More... | |
| Static Protected Member Functions | |
| static ReadResult | checkOrGet (MWAWInputStreamPtr input, int size, MWAWPictData **result=nullptr) | 
| checks if the data pointed by input and of given size is a pict  More... | |
|  Static Protected Member Functions inherited from MWAWPictData | |
| static bool | createFileData (librevenge::RVNGBinaryData const &orig, librevenge::RVNGBinaryData &result) | 
| a file pict can be created from the data pict by adding a header with size 512, this function do this conversion needed to return the final picture  More... | |
| static ReadResult | checkOrGet (MWAWInputStreamPtr input, int size, MWAWBox2f &box, MWAWPictData **result=nullptr) | 
| checks if the data pointed by input and of given size is a pict  More... | |
|  Static Protected Member Functions inherited from MWAWPict | |
| static MWAWBox2f | getBdBox (int numPt, MWAWVec2f const *pt) | 
| computes the minimum and maximum of a list of point  More... | |
| Friends | |
| class | MWAWPictData | 
| Additional Inherited Members | |
|  Public Types inherited from MWAWPictData | |
| enum | SubType { PictMac, DB3, Unknown } | 
| the picture subtype  More... | |
|  Public Types inherited from MWAWPict | |
| enum | Type { PictData, Bitmap, Unknown } | 
| the different picture types:  More... | |
| enum | ReadResult { MWAW_R_BAD =0, MWAW_R_OK, MWAW_R_OK_EMPTY, MWAW_R_MAYBE } | 
| an enum to defined the result of a parsing use by some picture's classes which can read their data  More... | |
|  Static Public Member Functions inherited from MWAWPictData | |
| static ReadResult | check (MWAWInputStreamPtr const &input, int size, MWAWBox2f &box) | 
| checks if the data pointed by input is known  More... | |
| static MWAWPictData * | get (MWAWInputStreamPtr const &input, int size) | 
| checks if the data pointed by input is known  More... | |
|  Protected Attributes inherited from MWAWPictData | |
| librevenge::RVNGBinaryData | m_data | 
| the data size (without the empty header of 512 characters)  More... | |
| bool | m_empty | 
| some picture can be valid but empty  More... | |
class to store small data which are potentially a picture
| 
 | final | 
destructor
| 
 | inlineprotected | 
protected constructor: uses check to construct a picture
| 
 | staticprotected | 
checks if the data pointed by input and of given size is a pict
Referenced by MWAWPictData::checkOrGet().
| 
 | inlinefinalvirtual | 
a virtual function used to obtain a strict order, must be redefined in the subs class
Reimplemented from MWAWPictData.
| 
 | inlinefinalvirtual | 
returns the picture subtype
Implements MWAWPictData.
| 
 | inlinefinalvirtual | 
returns true if the picture is valid
Reimplemented from MWAWPictData.
| 
 | friend |