Internal: the graphic structure. More...
Public Types | |
enum | Type { UNKNOWN , GRAPHIC , TEXT , NOTE } |
Public Member Functions | |
Graphic (int vers) | |
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_version |
the version | |
int | m_type |
the type | |
Type | m_contentType |
the type 1.0 or 1.5 | |
int | m_fileBlock |
the file block id | |
int | m_id |
the graphic id | |
bool | m_attachment |
true if this is an attachment 1.0 or 1.5 | |
int | m_page |
the page (if absolute) | |
MWAWBox2f | m_box |
the bdbox | |
int | m_textPos |
filled for pagebreak pos | |
int | m_textboxType |
the header footer type | |
int | m_headerFooterFlag |
the header footer flag | |
int | m_column |
the number of columns | |
float | m_colSeparator |
the columns separator | |
int | m_lastFlag |
the last flag | |
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 | |
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, Graphic const &bl) |
operator<< | |
Internal: the graphic structure.
|
inlineexplicit |
the constructor
|
inline |
|
inline |
update the style to include frame style
|
inline |
|
inline |
Referenced by getPosition().
|
inline |
Referenced by fillFrame().
|
inline |
|
inline |
|
inline |
returns true is this is a graphic zone
|
inline |
returns true is this is a table zone
|
inline |
returns true is this is a text zone (or a not)
|
friend |
operator<<
bool MacWrtProStructuresInternal::Graphic::m_attachment |
true if this is an attachment 1.0 or 1.5
Referenced by getPosition().
float MacWrtProStructuresInternal::Graphic::m_baseline |
the baseline ( in point 0=bottom aligned)
Referenced by getRelativeYPos().
MWAWBorder MacWrtProStructuresInternal::Graphic::m_borderCellList[4] |
the cell borders
Referenced by MacWrtProStructuresInternal::Cell::Cell().
double MacWrtProStructuresInternal::Graphic::m_borderWList[4] |
the borders width
Referenced by fillFrame(), Graphic(), hasBorders(), and hasSameBorders().
MWAWBox2f MacWrtProStructuresInternal::Graphic::m_box |
the bdbox
Referenced by MacWrtProStructuresInternal::Cell::Cell(), contains(), getPosition(), getRelativeYPos(), intersects(), and MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_col |
number of columns, filled for table
float MacWrtProStructuresInternal::Graphic::m_colSeparator |
the columns separator
Referenced by MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_column |
the number of columns
Referenced by MacWrtProStructures::readGraphicII().
Type MacWrtProStructuresInternal::Graphic::m_contentType |
the type 1.0 or 1.5
Referenced by getPosition(), isGraphic(), and isText().
std::string MacWrtProStructuresInternal::Graphic::m_extra |
extra data
Referenced by MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_fileBlock |
the file block id
Referenced by isGraphic(), isTable(), isText(), and MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_headerFooterFlag |
the header footer flag
Referenced by MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_id |
the graphic id
Referenced by MacWrtProStructuresInternal::Cell::Cell().
bool MacWrtProStructuresInternal::Graphic::m_isHeader |
filled for header/footer
int MacWrtProStructuresInternal::Graphic::m_lastFlag |
the last flag
Referenced by MacWrtProStructures::readGraphicII().
MWAWBorder MacWrtProStructuresInternal::Graphic::m_lineBorder |
the line border
Referenced by fillFrame(), and hasBorders().
int MacWrtProStructuresInternal::Graphic::m_page |
the page (if absolute)
Referenced by getPosition(), and MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_row |
number of row, filled for table
bool MacWrtProStructuresInternal::Graphic::m_send |
true if we have send the data
MWAWColor MacWrtProStructuresInternal::Graphic::m_surfaceColor |
the background color
Referenced by MacWrtProStructuresInternal::Cell::Cell(), and fillFrame().
int MacWrtProStructuresInternal::Graphic::m_textboxCellType |
filled for textbox : 0: unknown/textbox, 1: cell, 2: textbox(opened)
int MacWrtProStructuresInternal::Graphic::m_textboxType |
the header footer type
Referenced by MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_textPos |
filled for pagebreak pos
Referenced by MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_type |
the type
Referenced by isTable(), and MacWrtProStructures::readGraphicII().
int MacWrtProStructuresInternal::Graphic::m_version |
the version