Internal: the data block. More...
Public Types | |
| enum | Type { UNKNOWN, GRAPHIC, TEXT, NOTE } |
Public Member Functions | |
| Block () | |
| the constructor | |
| void | fillFrame (MWAWGraphicStyle &style) const |
| update the style to include frame style | |
| bool | isGraphic () const |
| returns true is this is a graphic zone | |
| bool | isText () const |
| returns true is this is a text zone (or a not) | |
| bool | isTable () const |
| returns true is this is a table zone | |
| bool | hasSameBorders () const |
| bool | hasBorders () const |
| MWAWPosition | getPosition () const |
| MWAWPosition::YPos | getRelativeYPos () const |
| bool | contains (MWAWBox2f const &box) const |
| bool | intersects (MWAWBox2f 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) | |
| MWAWBox2f | 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<< | |
Internal: the data block.
| MacWrtProStructuresInternal::Block::Block | ( | ) | [inline] |
the constructor
| bool MacWrtProStructuresInternal::Block::contains | ( | MWAWBox2f const & | box | ) | const [inline] |
| void MacWrtProStructuresInternal::Block::fillFrame | ( | MWAWGraphicStyle & | style | ) | const [inline] |
update the style to include frame style
| MWAWPosition MacWrtProStructuresInternal::Block::getPosition | ( | ) | const [inline] |
| MWAWPosition::YPos MacWrtProStructuresInternal::Block::getRelativeYPos | ( | ) | const [inline] |
Referenced by getPosition().
| bool MacWrtProStructuresInternal::Block::hasBorders | ( | ) | const [inline] |
Referenced by fillFrame().
| bool MacWrtProStructuresInternal::Block::hasSameBorders | ( | ) | const [inline] |
| bool MacWrtProStructuresInternal::Block::intersects | ( | MWAWBox2f const & | box | ) | const [inline] |
| bool MacWrtProStructuresInternal::Block::isGraphic | ( | ) | const [inline] |
returns true is this is a graphic zone
| bool MacWrtProStructuresInternal::Block::isTable | ( | ) | const [inline] |
returns true is this is a table zone
| bool MacWrtProStructuresInternal::Block::isText | ( | ) | const [inline] |
returns true is this is a text zone (or a not)
| std::ostream& operator<< | ( | std::ostream & | o, |
| Block const & | bl | ||
| ) | [friend] |
operator<<
true if this is an attachment
Referenced by getPosition().
the baseline ( in point 0=bottom aligned)
Referenced by getRelativeYPos().
the cell borders
Referenced by Block(), and MacWrtProStructuresInternal::Cell::Cell().
the borders width
Referenced by Block(), fillFrame(), hasBorders(), and hasSameBorders().
the bdbox
Referenced by MacWrtProStructuresInternal::Cell::Cell(), contains(), getPosition(), getRelativeYPos(), and intersects().
number of columns, filled for table
the type
Referenced by getPosition(), isGraphic(), and isText().
| std::string MacWrtProStructuresInternal::Block::m_extra |
extra data
the file block id
Referenced by isGraphic(), isTable(), and isText().
the block id
Referenced by MacWrtProStructuresInternal::Cell::Cell().
filled for header/footer
the line border
Referenced by fillFrame(), and hasBorders().
the page (if absolute)
Referenced by getPosition().
number of row, filled for table
true if we have send the data
the background color
Referenced by MacWrtProStructuresInternal::Cell::Cell(), and fillFrame().
filled for textbox : 0: unknown/textbox, 1: cell, 2: textbox(opened)
filled for pagebreak pos
the type
Referenced by isTable().