|
LibreOffice Module toolkit (master) 1
|
interface to be implemented by table column models More...
#include <tablemodel.hxx>
Public Member Functions | |
| virtual OUString | getName () const =0 |
| returns the name of the column More... | |
| virtual OUString | getHelpText () const =0 |
| retrieves the help text to be displayed for the column. More... | |
| virtual bool | isResizable () const =0 |
| determines whether the column can be interactively resized More... | |
| virtual sal_Int32 | getFlexibility () const =0 |
| denotes the relative flexibility of the column More... | |
| virtual TableMetrics | getWidth () const =0 |
| returns the width of the column, in app-font units More... | |
| virtual void | setWidth (TableMetrics _nWidth)=0 |
| sets a new width for the column More... | |
| virtual TableMetrics | getMinWidth () const =0 |
| returns the minimum width of the column, in app-font units, or 0 if the column does not have a minimal width More... | |
| virtual TableMetrics | getMaxWidth () const =0 |
| returns the maximum width of the column, in app-font units, or 0 if the column does not have a minimal width More... | |
| virtual css::style::HorizontalAlignment | getHorizontalAlign ()=0 |
| retrieves the horizontal alignment to be used for content in this cell More... | |
| virtual | ~IColumnModel () |
| deletes the column model instance More... | |
interface to be implemented by table column models
Definition at line 157 of file tablemodel.hxx.
|
inlinevirtual |
deletes the column model instance
Definition at line 232 of file tablemodel.hxx.
|
pure virtual |
denotes the relative flexibility of the column
This flexibility is taken into account when a table control auto-resizes its columns, because the available space changed. In this case, the columns grow or shrink according to their flexibility.
A value of 0 means the column is not auto-resized at all.
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
retrieves the help text to be displayed for the column.
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
retrieves the horizontal alignment to be used for content in this cell
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
returns the maximum width of the column, in app-font units, or 0 if the column does not have a minimal width
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
returns the minimum width of the column, in app-font units, or 0 if the column does not have a minimal width
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
returns the name of the column
Column names should be human-readable, but not necessarily unique within a given table.
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
returns the width of the column, in app-font units
The returned value must be a positive ->TableMetrics value.
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
determines whether the column can be interactively resized
Implemented in svt::table::UnoGridColumnFacade.
|
pure virtual |
sets a new width for the column
| _nWidth | the new width, app-font units |
Implemented in svt::table::UnoGridColumnFacade.