MsWksGraphInternal::DataBitmap Struct Referencefinal

Internal: the bitmap of a MsWksGraph. More...

Inheritance diagram for MsWksGraphInternal::DataBitmap:
MsWksGraphInternal::Zone

Public Member Functions

 DataBitmap (Zone const &z)
 constructor More...
 
 DataBitmap ()
 empty constructor More...
 
 ~DataBitmap () final
 destructor More...
 
Type type () const final
 return the type More...
 
bool getPictureData (MWAWInputStreamPtr ip, MWAWEmbeddedObject &picture, std::vector< MWAWColor > const &palette) const
 return a binary data (if known) More...
 
void print (std::ostream &o) const final
 operator<< More...
 
- Public Member Functions inherited from MsWksGraphInternal::Zone
 Zone ()
 constructor More...
 
 Zone (Zone const &)=default
 
Zoneoperator= (Zone const &)=default
 
Zoneoperator= (Zone &&)=default
 
virtual ~Zone ()
 destructor More...
 
virtual bool getBinaryData (MWAWInputStreamPtr, MWAWEmbeddedObject &picture) const
 return a binary data (if known) More...
 
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed) More...
 
virtual void fillFrame (MWAWGraphicStyle &) const
 add frame parameters to propList (if needed ) More...
 
MWAWBox2f getLocalBox (bool extendWithBord=true) const
 return the box More...
 
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const
 

Public Attributes

int m_numRows
 the number of rows More...
 
int m_numCols
 the number of columns More...
 
long m_dataSize
 the bitmap data size More...
 
MWAWBox2f m_naturalBox
 the pict box (if known ) More...
 
- Public Attributes inherited from MsWksGraphInternal::Zone
int m_subType
 the type More...
 
int m_zoneId
 the zone id More...
 
MWAWEntry m_pos
 the file position More...
 
long m_dataPos
 the data begin position More...
 
int m_fileId
 the file id More...
 
long m_ids [3]
 the zones id (main, previous, next) More...
 
int m_page
 the page More...
 
MWAWBox2f m_decal
 the local position More...
 
MWAWVec2f m_finalDecal
 the final local position More...
 
MWAWBox2f m_box
 local bdbox More...
 
int m_line
 the line position(v1) More...
 
MsWksGraph::Style m_style
 the style More...
 
int m_order
 the picture order More...
 
std::string m_extra
 extra data More...
 
bool m_doNotSend
 a flag used to know if we need to send the data ( or if this is the part of a sub group) More...
 
bool m_isSent
 true if the zone is send More...
 

Additional Inherited Members

- Public Types inherited from MsWksGraphInternal::Zone
enum  Type {
  Unknown, Shape, ChartZone, Group,
  Pict, Text, Textv4, Bitmap,
  TableZone, OLE
}
 

Detailed Description

Internal: the bitmap of a MsWksGraph.

Constructor & Destructor Documentation

◆ DataBitmap() [1/2]

MsWksGraphInternal::DataBitmap::DataBitmap ( Zone const &  z)
inlineexplicit

constructor

◆ DataBitmap() [2/2]

MsWksGraphInternal::DataBitmap::DataBitmap ( )
inline

empty constructor

◆ ~DataBitmap()

MsWksGraphInternal::DataBitmap::~DataBitmap ( )
final

destructor

Member Function Documentation

◆ getPictureData()

bool MsWksGraphInternal::DataBitmap::getPictureData ( MWAWInputStreamPtr  ip,
MWAWEmbeddedObject picture,
std::vector< MWAWColor > const &  palette 
) const

return a binary data (if known)

◆ print()

void MsWksGraphInternal::DataBitmap::print ( std::ostream &  o) const
inlinefinalvirtual

operator<<

Reimplemented from MsWksGraphInternal::Zone.

◆ type()

Type MsWksGraphInternal::DataBitmap::type ( ) const
inlinefinalvirtual

return the type

Reimplemented from MsWksGraphInternal::Zone.

Member Data Documentation

◆ m_dataSize

long MsWksGraphInternal::DataBitmap::m_dataSize

the bitmap data size

Referenced by getPictureData(), and print().

◆ m_naturalBox

MWAWBox2f MsWksGraphInternal::DataBitmap::m_naturalBox
mutable

the pict box (if known )

◆ m_numCols

int MsWksGraphInternal::DataBitmap::m_numCols

the number of columns

Referenced by getPictureData(), and print().

◆ m_numRows

int MsWksGraphInternal::DataBitmap::m_numRows

the number of rows

Referenced by getPictureData(), and print().


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

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20