LibreOffice Module toolkit (master) 1
Public Member Functions | Protected Member Functions | List of all members
svt::table::ITableDataSort Class Referenceabstract

provides sorting functionality for the data underlying an ITableModel More...

#include <tablesort.hxx>

Inheritance diagram for svt::table::ITableDataSort:
[legend]

Public Member Functions

virtual void sortByColumn (ColPos const i_column, ColumnSortDirection const i_sortDirection)=0
 sorts the rows in the model by the given column's data, in the given direction. More...
 
virtual ColumnSort getCurrentSortOrder () const =0
 retrieves the current sort order of the data More...
 

Protected Member Functions

 ~ITableDataSort ()
 

Detailed Description

provides sorting functionality for the data underlying an ITableModel

Definition at line 57 of file tablesort.hxx.

Constructor & Destructor Documentation

◆ ~ITableDataSort()

svt::table::ITableDataSort::~ITableDataSort ( )
inlineprotected

Definition at line 72 of file tablesort.hxx.

Member Function Documentation

◆ getCurrentSortOrder()

virtual ColumnSort svt::table::ITableDataSort::getCurrentSortOrder ( ) const
pure virtual

retrieves the current sort order of the data

If the nColumnIndex member of the returned structure is COL_INVALID, then the data is currently not sorted.

Implemented in svt::table::UnoControlTableModel.

Referenced by svt::table::ColumnSortHandler::handleMouseUp(), and svt::table::GridTableRenderer::PaintColumnHeader().

◆ sortByColumn()

virtual void svt::table::ITableDataSort::sortByColumn ( ColPos const  i_column,
ColumnSortDirection const  i_sortDirection 
)
pure virtual

sorts the rows in the model by the given column's data, in the given direction.

Implemented in svt::table::UnoControlTableModel.

Referenced by svt::table::ColumnSortHandler::handleMouseUp().


The documentation for this class was generated from the following file: