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