filters
Swinder::FormatAlignment Class Reference
#include <format.h>
Detailed Description
Defines alignment information for cell format.Class FormatAlignment defines the horizontal and vertical alignment for the text inside a cell.
Definition at line 276 of file kspread/excel/sidewinder/format.h.
Public Member Functions | |
FormatAlignment () | |
~FormatAlignment () | |
FormatAlignment (const FormatAlignment &) | |
FormatAlignment & | operator= (const FormatAlignment &) |
FormatAlignment & | assign (const FormatAlignment &) |
bool | isNull () const |
unsigned | alignX () const |
void | setAlignX (unsigned xa) |
unsigned | alignY () const |
void | setAlignY (unsigned xa) |
bool | wrap () const |
void | setWrap (bool w) |
unsigned | indentLevel () const |
void | setIndentLevel (unsigned i) |
unsigned | rotationAngle () const |
void | setRotationAngle (unsigned r) |
bool | operator== (const FormatAlignment &f) const |
bool | operator!= (const FormatAlignment &f) const |
Constructor & Destructor Documentation
Swinder::FormatAlignment::FormatAlignment | ( | ) |
Creates a default alignment information.
Swinder::FormatAlignment::~FormatAlignment | ( | ) |
Destroys the alignment information.
Swinder::FormatAlignment::FormatAlignment | ( | const FormatAlignment & | ) |
Creates a copy of alignment information.
Member Function Documentation
unsigned Swinder::FormatAlignment::alignX | ( | ) | const |
Returns horizontal alignment.
Possible values are Format::Left, Format::Right and Format::Center.
- See also:
- setAlignX
unsigned Swinder::FormatAlignment::alignY | ( | ) | const |
Returns horizontal alignment.
Possible values are Format::Top, Format::Middle and Format::Bottom.
- See also:
- setAlignY
FormatAlignment& Swinder::FormatAlignment::assign | ( | const FormatAlignment & | ) |
Assigns from another alignment information.
unsigned Swinder::FormatAlignment::indentLevel | ( | ) | const |
bool Swinder::FormatAlignment::isNull | ( | ) | const |
Returns true if it is a default alignment information.
bool Swinder::FormatAlignment::operator!= | ( | const FormatAlignment & | f | ) | const |
Returns true if this alignment is not equal to f; otherwise returns false.
FormatAlignment& Swinder::FormatAlignment::operator= | ( | const FormatAlignment & | ) |
Assigns from another alignment information.
bool Swinder::FormatAlignment::operator== | ( | const FormatAlignment & | f | ) | const |
Returns true if this alignment is equal to f; otherwise returns false.
unsigned Swinder::FormatAlignment::rotationAngle | ( | ) | const |
void Swinder::FormatAlignment::setAlignX | ( | unsigned | xa | ) |
void Swinder::FormatAlignment::setAlignY | ( | unsigned | xa | ) |
void Swinder::FormatAlignment::setIndentLevel | ( | unsigned | i | ) |
void Swinder::FormatAlignment::setRotationAngle | ( | unsigned | r | ) |
void Swinder::FormatAlignment::setWrap | ( | bool | w | ) |
bool Swinder::FormatAlignment::wrap | ( | ) | const |
The documentation for this class was generated from the following file: