kspread
KSpread::ColumnFormat Class Reference
A column style. More...
#include <RowColumnFormat.h>
Public Member Functions | |
| ColumnFormat (const ColumnFormat &other) | |
| ColumnFormat () | |
| ~ColumnFormat () | |
| int | column () const |
| bool | isDefault () const |
| bool | isFiltered () const |
| bool | isHidden () const |
| bool | isHiddenOrFiltered () const |
| bool | load (const KoXmlElement &row, int xshift=0, Paste::Mode mode=Paste::Normal) |
| ColumnFormat * | next () const |
| bool | operator!= (const ColumnFormat &other) const |
| bool | operator== (const ColumnFormat &other) const |
| ColumnFormat * | previous () const |
| QDomElement | save (QDomDocument &, int xshift=0) const |
| void | setColumn (int column) |
| void | setFiltered (bool filtered) |
| void | setHidden (bool _hide) |
| void | setNext (ColumnFormat *c) |
| void | setPrevious (ColumnFormat *c) |
| void | setSheet (Sheet *sheet) |
| void | setWidth (double _w) |
| double | visibleWidth () const |
| double | width () const |
Detailed Description
A column style.
Definition at line 116 of file RowColumnFormat.h.
Constructor & Destructor Documentation
| ColumnFormat::ColumnFormat | ( | ) |
Definition at line 318 of file RowColumnFormat.cpp.
| ColumnFormat::ColumnFormat | ( | const ColumnFormat & | other | ) |
Definition at line 330 of file RowColumnFormat.cpp.
| ColumnFormat::~ColumnFormat | ( | ) |
Definition at line 335 of file RowColumnFormat.cpp.
Member Function Documentation
| int ColumnFormat::column | ( | ) | const |
- Returns:
- the column of this ColumnFormat. May be 0 if this is the default format.
Definition at line 460 of file RowColumnFormat.cpp.
| bool ColumnFormat::isDefault | ( | ) | const |
- Reimplemented from superclass.
Definition at line 532 of file RowColumnFormat.cpp.
| bool ColumnFormat::isFiltered | ( | ) | const |
Definition at line 522 of file RowColumnFormat.cpp.
| bool ColumnFormat::isHidden | ( | ) | const |
Definition at line 512 of file RowColumnFormat.cpp.
| bool ColumnFormat::isHiddenOrFiltered | ( | ) | const |
Definition at line 527 of file RowColumnFormat.cpp.
| bool ColumnFormat::load | ( | const KoXmlElement & | row, | |
| int | xshift = 0, |
|||
| Paste::Mode | mode = Paste::Normal | |||
| ) |
Definition at line 408 of file RowColumnFormat.cpp.
| ColumnFormat * ColumnFormat::next | ( | ) | const |
Definition at line 470 of file RowColumnFormat.cpp.
| bool KSpread::ColumnFormat::operator!= | ( | const ColumnFormat & | other | ) | const [inline] |
Definition at line 173 of file RowColumnFormat.h.
| bool ColumnFormat::operator== | ( | const ColumnFormat & | other | ) | const |
Definition at line 537 of file RowColumnFormat.cpp.
| ColumnFormat * ColumnFormat::previous | ( | ) | const |
Definition at line 475 of file RowColumnFormat.cpp.
| QDomElement ColumnFormat::save | ( | QDomDocument & | doc, | |
| int | xshift = 0 | |||
| ) | const |
Definition at line 386 of file RowColumnFormat.cpp.
| void ColumnFormat::setColumn | ( | int | column | ) |
Definition at line 465 of file RowColumnFormat.cpp.
| void ColumnFormat::setFiltered | ( | bool | filtered | ) |
Definition at line 517 of file RowColumnFormat.cpp.
| void ColumnFormat::setHidden | ( | bool | _hide | ) |
Definition at line 490 of file RowColumnFormat.cpp.
| void ColumnFormat::setNext | ( | ColumnFormat * | c | ) |
Definition at line 480 of file RowColumnFormat.cpp.
| void ColumnFormat::setPrevious | ( | ColumnFormat * | c | ) |
Definition at line 485 of file RowColumnFormat.cpp.
| void ColumnFormat::setSheet | ( | Sheet * | sheet | ) |
Definition at line 344 of file RowColumnFormat.cpp.
| void ColumnFormat::setWidth | ( | double | _w | ) |
Sets the width to _w zoomed pixels as double value.
Use this function to set the width without getting rounding problems.
- Parameters:
-
_w is calculated in display pixels. The function cares for zooming.
Definition at line 349 of file RowColumnFormat.cpp.
| double ColumnFormat::visibleWidth | ( | ) | const |
The visible column height, respecting hiding and filtering attributes.
- Returns:
- the visible column width
Definition at line 379 of file RowColumnFormat.cpp.
| double ColumnFormat::width | ( | ) | const |
- Returns:
- the column's width
Definition at line 374 of file RowColumnFormat.cpp.
The documentation for this class was generated from the following files:
