MacDrawParserInternal::Shape Struct Reference

List of all members.

Public Types

enum  Type {
  Basic, Bitmap, Group, GroupEnd,
  Text, Unknown
}
 the different shape More...

Public Member Functions

 Shape ()
 constructor
MWAWBox2f getBdBox () const
 return the shape bdbox

Public Attributes

Type m_type
 the graphic type
MWAWBox2f m_box
 the shape bdbox
MWAWGraphicStyle m_style
 the graphic style
MWAWGraphicShape m_shape
 the graphic shape ( for basic geometric form )
int m_id
 the shape id
int m_nextId
 the following id (if set)
MWAWFont m_font
 the font ( for a text box)
MWAWParagraph m_paragraph
 the paragraph ( for a text box)
MWAWEntry m_textEntry
 the textbox entry (main text)
std::vector< size_t > m_childList
 the child list ( for a group )
int m_numBytesByRow
 the number of bytes by row (for a bitmap)
MWAWBox2i m_bitmapDim
 the bitmap dimension (in page)
MWAWBox2i m_bitmapFileDim
 the bitmap dimension (in the file)
MWAWEntry m_bitmapEntry
 the bitmap entry (data)
bool m_isSent
 a flag used to know if the object is sent to the listener or not

Member Enumeration Documentation

the different shape

Enumerator:
Basic 
Bitmap 
Group 
GroupEnd 
Text 
Unknown 

Constructor & Destructor Documentation

constructor


Member Function Documentation

return the shape bdbox

Referenced by MacDrawParser::send().


Member Data Documentation

the child list ( for a group )

Referenced by MacDrawParser::send().

a flag used to know if the object is sent to the listener or not

Referenced by MacDrawParser::parse(), MacDrawParser::send(), and MacDrawParser::sendText().

the number of bytes by row (for a bitmap)

Referenced by MacDrawParser::readObject(), and MacDrawParser::sendBitmap().

the graphic shape ( for basic geometric form )

Referenced by getBdBox(), MacDrawParser::readObject(), and MacDrawParser::send().


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