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...
 

Public Attributes

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

Detailed Description

Definition at line 84 of file sortparam.hxx.

Member Function Documentation

void sc::ReorderParam::reverse ( )

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

Definition at line 272 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

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

List of original column / row positions after reordering.

Definition at line 96 of file sortparam.hxx.

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

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 91 of file sortparam.hxx.

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

bool sc::ReorderParam::mbByRow
bool sc::ReorderParam::mbHasHeaders

Definition at line 101 of file sortparam.hxx.

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

bool sc::ReorderParam::mbHiddenFiltered

Definition at line 99 of file sortparam.hxx.

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

bool sc::ReorderParam::mbPattern

Definition at line 98 of file sortparam.hxx.

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

bool sc::ReorderParam::mbUpdateRefs

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