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
FormatAlignment::FormatAlignment | ( | ) |
FormatAlignment::~FormatAlignment | ( | ) |
FormatAlignment::FormatAlignment | ( | const FormatAlignment & | ) |
Member Function Documentation
FormatAlignment & FormatAlignment::operator= | ( | const FormatAlignment & | ) |
FormatAlignment & FormatAlignment::assign | ( | const FormatAlignment & | ) |
bool FormatAlignment::isNull | ( | ) | const |
unsigned FormatAlignment::alignX | ( | ) | const |
Returns horizontal alignment.
Possible values are Format::Left, Format::Right and Format::Center.
- See also:
- setAlignX
Definition at line 291 of file format.cpp.
void FormatAlignment::setAlignX | ( | unsigned | xa | ) |
unsigned FormatAlignment::alignY | ( | ) | const |
Returns horizontal alignment.
Possible values are Format::Top, Format::Middle and Format::Bottom.
- See also:
- setAlignY
Definition at line 302 of file format.cpp.
void FormatAlignment::setAlignY | ( | unsigned | xa | ) |
bool FormatAlignment::wrap | ( | ) | const |
Returns true if the text should be wrapped at right border.
- See also:
- setWrap
Definition at line 313 of file format.cpp.
void FormatAlignment::setWrap | ( | bool | w | ) |
Sets whether the text should be wrapped at right border.
- See also:
- setWrap
Definition at line 318 of file format.cpp.
unsigned FormatAlignment::indentLevel | ( | ) | const |
void FormatAlignment::setIndentLevel | ( | unsigned | i | ) |
unsigned FormatAlignment::rotationAngle | ( | ) | const |
Returns the text rotation angle.
- See also:
- setRotationAngle
Definition at line 335 of file format.cpp.
void FormatAlignment::setRotationAngle | ( | unsigned | r | ) |
bool FormatAlignment::operator== | ( | const FormatAlignment & | f | ) | const |
Returns true if this alignment is equal to f; otherwise returns false.
Definition at line 346 of file format.cpp.
bool FormatAlignment::operator!= | ( | const FormatAlignment & | f | ) | const |
Returns true if this alignment is not equal to f; otherwise returns false.
Definition at line 356 of file format.cpp.
The documentation for this class was generated from the following files: