LibreOffice Module toolkit (master) 1
Classes | Typedefs | Enumerations | Functions
svt::table Namespace Reference

Classes

class  ColumnChangeMultiplexer
 
struct  ColumnInfoPositionLess
 
struct  ColumnMetrics
 
class  ColumnResize
 
struct  ColumnSort
 
class  ColumnSortHandler
 
class  DefaultInputHandler
 
class  GridTableRenderer
 a default implementation for the ->ITableRenderer interface More...
 
struct  GridTableRenderer_Impl
 
class  IColumnModel
 interface to be implemented by table column models More...
 
class  ITableControl
 defines a callback interface to be implemented by a concrete table control More...
 
class  ITableDataSort
 provides sorting functionality for the data underlying an ITableModel More...
 
class  ITableInputHandler
 interface for components handling input in a ->TableControl More...
 
class  ITableModel
 declares the interface to implement by an abstract table model More...
 
class  ITableModelListener
 declares an interface to be implemented by components interested in changes in an ->ITableModel More...
 
class  ITableRenderer
 interface to implement by components rendering a ->TableControl More...
 
class  MouseFunction
 
struct  MutableColumnMetrics
 
class  RowSelection
 
struct  TableCell
 
class  TableCellGeometry
 a helper representing geometry information of a cell More...
 
class  TableColumnGeometry
 
class  TableControl
 a basic control which manages table-like data, i.e. More...
 
class  TableControl_Impl
 
class  TableDataWindow
 the window containing the content area (including headers) of a table control More...
 
class  TableFunctionSet
 
class  TableGeometry
 
class  TableRowGeometry
 
class  UnoControlTableModel
 
class  UnoGridColumnFacade
 

Typedefs

typedef ::std::vector< MutableColumnMetricsColumnPositions
 
typedef ::cppu::WeakImplHelper< XGridColumnListener > ColumnChangeMultiplexer_Base
 
typedef std::shared_ptr< ITableInputHandlerPTableInputHandler
 
typedef std::shared_ptr< ITableModelListenerPTableModelListener
 
typedef std::shared_ptr< IColumnModelPColumnModel
 
typedef std::shared_ptr< ITableModelPTableModel
 
typedef std::shared_ptr< ITableRendererPTableRenderer
 
typedef sal_Int32 TableSize
 a value denoting the size of a table More...
 
typedef sal_Int32 ColPos
 a value denoting a column position within a table More...
 
typedef sal_Int32 RowPos
 a value denoting a row position within a table More...
 
typedef sal_Int32 TableMetrics
 

Enumerations

enum  FunctionResult {
  ActivateFunction ,
  ContinueFunction ,
  DeactivateFunction ,
  SkipFunction
}
 
enum  TableControlAction {
  cursorUp ,
  cursorDown ,
  cursorLeft ,
  cursorRight ,
  cursorToLineStart ,
  cursorToLineEnd ,
  cursorToFirstLine ,
  cursorToLastLine ,
  cursorPageUp ,
  cursorPageDown ,
  cursorTopLeft ,
  cursorBottomRight ,
  cursorSelectRow ,
  cursorSelectRowUp ,
  cursorSelectRowDown ,
  cursorSelectRowAreaTop ,
  cursorSelectRowAreaBottom ,
  invalidTableControlAction
}
 
enum  TableCellArea {
  CellContent ,
  ColumnDivider
}
 
enum class  TableArea {
  ColumnHeaders ,
  RowHeaders ,
  All
}
 
enum  ScrollbarVisibility {
  ScrollbarShowNever ,
  ScrollbarShowSmart ,
  ScrollbarShowAlways
}
 
enum  ColumnSortDirection {
  ColumnSortAscending ,
  ColumnSortDescending
}
 

Functions

 IMPL_LINK_NOARG (TableControl, ImplSelectHdl, LinkParamNone *, void)
 
 IMPL_LINK_NOARG (TableControl_Impl, OnUpdateScrollbars, void *, void)
 
 IMPL_LINK (TableControl_Impl, OnScroll, ScrollBar *, _pScrollbar, void)
 

Typedef Documentation

◆ ColPos

typedef sal_Int32 svt::table::ColPos

a value denoting a column position within a table

Definition at line 32 of file tabletypes.hxx.

◆ ColumnChangeMultiplexer_Base

typedef ::cppu::WeakImplHelper< XGridColumnListener > svt::table::ColumnChangeMultiplexer_Base

Definition at line 82 of file unogridcolumnfacade.cxx.

◆ ColumnPositions

Definition at line 65 of file tablecontrol_impl.hxx.

◆ PColumnModel

typedef std::shared_ptr< IColumnModel > svt::table::PColumnModel

Definition at line 234 of file tablemodel.hxx.

◆ PTableInputHandler

Definition at line 57 of file tableinputhandler.hxx.

◆ PTableModel

typedef std::shared_ptr< ITableModel > svt::table::PTableModel

Definition at line 448 of file tablemodel.hxx.

◆ PTableModelListener

Definition at line 150 of file tablemodel.hxx.

◆ PTableRenderer

typedef std::shared_ptr< ITableRenderer > svt::table::PTableRenderer

Definition at line 243 of file tablerenderer.hxx.

◆ RowPos

typedef sal_Int32 svt::table::RowPos

a value denoting a row position within a table

Definition at line 34 of file tabletypes.hxx.

◆ TableMetrics

typedef sal_Int32 svt::table::TableMetrics

Definition at line 36 of file tabletypes.hxx.

◆ TableSize

typedef sal_Int32 svt::table::TableSize

a value denoting the size of a table

Definition at line 29 of file tabletypes.hxx.

Enumeration Type Documentation

◆ ColumnSortDirection

Enumerator
ColumnSortAscending 
ColumnSortDescending 

Definition at line 30 of file tablesort.hxx.

◆ FunctionResult

Enumerator
ActivateFunction 
ContinueFunction 
DeactivateFunction 
SkipFunction 

Definition at line 34 of file mousefunction.hxx.

◆ ScrollbarVisibility

Enumerator
ScrollbarShowNever 

enumeration value denoting that a scrollbar should never be visible, even if needed normally

ScrollbarShowSmart 

enumeration value denoting that a scrollbar should be visible when needed only

ScrollbarShowAlways 

enumeration value denoting that a scrollbar should always be visible, even if not needed normally

Definition at line 60 of file tablemodel.hxx.

◆ TableArea

enum class svt::table::TableArea
strong
Enumerator
ColumnHeaders 
RowHeaders 
All 

Definition at line 138 of file tablecontrolinterface.hxx.

◆ TableCellArea

Enumerator
CellContent 
ColumnDivider 

Definition at line 76 of file tablecontrolinterface.hxx.

◆ TableControlAction

Enumerator
cursorUp 

moves the cursor in the table control one row up, if possible, by keeping the current column

cursorDown 

moves the cursor in the table control one row down, if possible, by keeping the current column

cursorLeft 

moves the cursor in the table control one column to the left, if possible, by keeping the current row

cursorRight 

moves the cursor in the table control one column to the right, if possible, by keeping the current row

cursorToLineStart 

moves the cursor to the beginning of the current line

cursorToLineEnd 

moves the cursor to the end of the current line

cursorToFirstLine 

moves the cursor to the first row, keeping the current column

cursorToLastLine 

moves the cursor to the last row, keeping the current column

cursorPageUp 

moves the cursor one page up, keeping the current column

cursorPageDown 

moves the cursor one page down, keeping the current column

cursorTopLeft 

moves the cursor to the top-most, left-most cell

cursorBottomRight 

moves the cursor to the bottom-most, right-most cell

cursorSelectRow 

selects the row, where the actual cursor is

cursorSelectRowUp 

selects the rows, above the actual cursor is

cursorSelectRowDown 

selects the row, beneath the actual cursor is

cursorSelectRowAreaTop 

selects the row, from the actual cursor till top

cursorSelectRowAreaBottom 

selects the row, from the actual cursor till bottom

invalidTableControlAction 

invalid and final enumeration value, not to be actually used

Definition at line 32 of file tablecontrolinterface.hxx.

Function Documentation

◆ IMPL_LINK()

svt::table::IMPL_LINK ( TableControl_Impl  ,
OnScroll  ,
ScrollBar ,
_pScrollbar  ,
void   
)

Definition at line 2360 of file tablecontrol_impl.cxx.

References DBG_ASSERT.

◆ IMPL_LINK_NOARG() [1/2]

svt::table::IMPL_LINK_NOARG ( TableControl  ,
ImplSelectHdl  ,
LinkParamNone ,
void   
)

Definition at line 619 of file tablecontrol.cxx.

References Select.

◆ IMPL_LINK_NOARG() [2/2]

svt::table::IMPL_LINK_NOARG ( TableControl_Impl  ,
OnUpdateScrollbars  ,
void *  ,
void   
)

Definition at line 2352 of file tablecontrol_impl.cxx.