LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
sc::ReorderParam Struct Reference

#include <sortparam.hxx>

Collaboration diagram for sc::ReorderParam:
[legend]

Public Member Functions

void reverse ()
 Reorder the position indices such that it can be used to undo the original reordering. More...
 
 ReorderParam ()
 

Public Attributes

ScRange maSortRange
 This sort range already takes into account the presence or absence of header row / column i.e. More...
 
ScDataAreaExtras maDataAreaExtras
 
std::vector< SCCOLROWmaOrderIndices
 List of original column / row positions after reordering. More...
 
bool mbByRow
 
bool mbHiddenFiltered
 
bool mbUpdateRefs
 
bool mbHasHeaders
 

Detailed Description

Definition at line 153 of file sortparam.hxx.

Constructor & Destructor Documentation

◆ ReorderParam()

sc::ReorderParam::ReorderParam ( )
inline

Definition at line 178 of file sortparam.hxx.

Member Function Documentation

◆ reverse()

void sc::ReorderParam::reverse ( )

Reorder the position indices such that it can be used to undo the original reordering.

Definition at line 281 of file sortparam.cxx.

References ScRange::aStart, ScAddress::Col(), i, maOrderIndices, maSortRange, mbByRow, n, and ScAddress::Row().

Referenced by sc::UndoSort::Execute().

Member Data Documentation

◆ maDataAreaExtras

ScDataAreaExtras sc::ReorderParam::maDataAreaExtras

◆ maOrderIndices

std::vector<SCCOLROW> sc::ReorderParam::maOrderIndices

List of original column / row positions after reordering.

Definition at line 166 of file sortparam.hxx.

Referenced by ScTable::Reorder(), reverse(), and ScTable::Sort().

◆ maSortRange

ScRange sc::ReorderParam::maSortRange

This sort range already takes into account the presence or absence of header row / column i.e.

if a header row / column is present, it excludes that row / column.

Definition at line 160 of file sortparam.hxx.

Referenced by ScTable::CreateSortInfoArray(), sc::UndoSort::Execute(), ScDocument::Reorder(), ScTable::Reorder(), reverse(), and ScTable::Sort().

◆ mbByRow

bool sc::ReorderParam::mbByRow

◆ mbHasHeaders

bool sc::ReorderParam::mbHasHeaders

Definition at line 170 of file sortparam.hxx.

Referenced by sc::UndoSort::Execute(), and ScTable::Sort().

◆ mbHiddenFiltered

bool sc::ReorderParam::mbHiddenFiltered

Definition at line 168 of file sortparam.hxx.

Referenced by ScTable::CreateSortInfoArray(), and ScTable::Sort().

◆ mbUpdateRefs

bool sc::ReorderParam::mbUpdateRefs

The documentation for this struct was generated from the following files: