MacDrawProParserInternal::Shape Struct Reference

List of all members.

Public Types

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

Public Member Functions

 Shape ()
 constructor
MWAWBox2f getBdBox () const
 return the shape bdbox
bool isLine () const
 returns true if the object is a line

Public Attributes

Type m_type
 the graphic type
int m_fileType
 the file 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)
int m_flags
 the main shape flag
int m_textZoneId
 the text zone ( for a text box or a note)
int m_numChars
 the number of caracters ( for a text box or a note)
std::map< int, int > m_fontMap
 a map position to font id ( for a text box or a note)
std::set< int > m_lineBreakSet
 the list of line break position ( for a text box or a note)
std::map< int, int > m_paragraphMap
 the paragraphMap ( for a text box or a note) and a Pro file
MWAWParagraph m_paragraph
 the paragraph ( for a text box or a note) and a II file
std::vector< size_t > m_childList
 the child list ( for a group )
MWAWBox2f m_labelBox
MWAWEntry m_labelEntry
int m_numBytesByRow
 the number of bytes by row (for a bitmap)
bool m_bitmapIsColor
 true if the bitmap is a color 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)
int m_bitmapClutId
 the bitmap clut rsrc id
bool m_isSent
 a flag used to know if the object is sent to the listener or not

Friends

std::ostream & operator<< (std::ostream &o, Shape const &shape)
 basic operator<<

Member Enumeration Documentation

the different shape

Enumerator:
Basic 
Bitmap 
Group 
GroupEnd 
Note 
Text 
Unknown 

Constructor & Destructor Documentation

constructor


Member Function Documentation

bool MacDrawProParserInternal::Shape::isLine ( ) const [inline]

returns true if the object is a line


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Shape const &  shape 
) [friend]

basic operator<<


Member Data Documentation

true if the bitmap is a color bitmap

Referenced by MacDrawProParser::sendBitmap().

the child list ( for a group )

Referenced by MacDrawProParser::send().

a map position to font id ( for a text box or a note)

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

Referenced by MacDrawProParser::flushExtra(), MacDrawProParser::send(), and MacDrawProParser::sendText().

the list of line break position ( for a text box or a note)

the number of bytes by row (for a bitmap)

Referenced by MacDrawProParser::sendBitmap().

the number of caracters ( for a text box or a note)

Referenced by MacDrawProParser::sendText().

the paragraph ( for a text box or a note) and a II file

the paragraphMap ( for a text box or a note) and a Pro file


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