a structure used to defined the cell format More...
#include <WPSCell.h>
Public Types | |
| enum | HorizontalAlignment { HALIGN_LEFT, HALIGN_RIGHT, HALIGN_CENTER, HALIGN_FULL, HALIGN_DEFAULT } |
| the default horizontal alignement. More... | |
Public Member Functions | |
| WPSCellFormat () | |
| constructor | |
| virtual | ~WPSCellFormat () |
| HorizontalAlignment | hAlignement () const |
| returns the horizontal alignement | |
| void | setHAlignement (HorizontalAlignment align) |
| sets the horizontal alignement | |
| bool | hasBorders () const |
| return true if the cell has some border | |
| int | borders () const |
| return the cell border: libwps::LeftBorderBit | ... | |
| void | setBorders (int bList) |
| sets the cell border | |
| int | compare (WPSCellFormat const &cell) const |
| a comparison function | |
Protected Attributes | |
| HorizontalAlignment | m_hAlign |
| the cell alignement : by default nothing | |
| int | m_bordersList |
| the cell border : libwps::LeftBorderBit | ... | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, WPSCellFormat const &cell) |
| operator<< | |
a structure used to defined the cell format
|
inline |
constructor
|
inlinevirtual |
|
inline |
return the cell border: libwps::LeftBorderBit | ...
| int WPSCellFormat::compare | ( | WPSCellFormat const & | cell | ) | const |
a comparison function
|
inline |
returns the horizontal alignement
|
inline |
return true if the cell has some border
|
inline |
sets the cell border
|
inline |
sets the horizontal alignement
|
friend |
operator<<
|
protected |
the cell border : libwps::LeftBorderBit | ...
Referenced by borders(), compare(), hasBorders(), operator<<(), and setBorders().
|
protected |
the cell alignement : by default nothing
Referenced by compare(), hAlignement(), operator<<(), and setHAlignement().