MWProStructuresInternal::Block Struct Reference

Internal: the data block. More...

List of all members.

Public Types

enum  Type { UNKNOWN, GRAPHIC, TEXT, NOTE }

Public Member Functions

 Block ()
 the constructor
void fillFramePropertyList (WPXPropertyList &extra) const
bool isGraphic () const
bool isText () const
bool isTable () const
bool hasSameBorders () const
bool hasBorders () const
MWAWPosition getPosition () const
MWAWPosition::YPos getRelativeYPos () const
bool contains (Box2f const &box) const
bool intersects (Box2f const &box) const

Public Attributes

int m_type
 the type
Type m_contentType
 the type
int m_fileBlock
 the file block id
int m_id
 the block id
bool m_attachment
 true if this is an attachment
int m_page
 the page (if absolute)
Box2f m_box
 the bdbox
double m_borderWList [4]
 the borders width
MWAWBorder m_borderCellList [4]
 the cell borders
float m_baseline
 the baseline ( in point 0=bottom aligned)
MWAWColor m_surfaceColor
 the background color
MWAWBorder m_lineBorder
 the line border
int m_textPos
 filled for pagebreak pos
bool m_isHeader
 filled for header/footer
int m_row
 number of row, filled for table
int m_col
 number of columns, filled for table
int m_textboxCellType
 filled for textbox : 0: unknown/textbox, 1: cell, 2: textbox(opened)
std::string m_extra
 extra data
bool m_send
 true if we have send the data

Friends

std::ostream & operator<< (std::ostream &o, Block const &bl)
 operator<<

Detailed Description

Internal: the data block.


Member Enumeration Documentation

Enumerator:
UNKNOWN 
GRAPHIC 
TEXT 
NOTE 

Constructor & Destructor Documentation

the constructor


Member Function Documentation

bool MWProStructuresInternal::Block::contains ( Box2f const &  box) const [inline]
void MWProStructuresInternal::Block::fillFramePropertyList ( WPXPropertyList &  extra) const [inline]
bool MWProStructuresInternal::Block::intersects ( Box2f const &  box) const [inline]
bool MWProStructuresInternal::Block::isTable ( ) const [inline]
bool MWProStructuresInternal::Block::isText ( ) const [inline]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Block const &  bl 
) [friend]

operator<<


Member Data Documentation

true if this is an attachment

Referenced by getPosition().

the baseline ( in point 0=bottom aligned)

Referenced by getRelativeYPos().

number of columns, filled for table

the file block id

Referenced by isGraphic(), isTable(), and isText().

filled for header/footer

the page (if absolute)

Referenced by getPosition().

number of row, filled for table

true if we have send the data

filled for textbox : 0: unknown/textbox, 1: cell, 2: textbox(opened)

filled for pagebreak pos


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