LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
sc::RefQueryFormulaGroup Class Referencefinal

Used to collect positions of formula cells that belong to a formula group. More...

#include <listenerquery.hxx>

Inheritance diagram for sc::RefQueryFormulaGroup:
[legend]
Collaboration diagram for sc::RefQueryFormulaGroup:
[legend]

Public Types

typedef std::vector< SCROWColType
 
typedef std::unordered_map< SCCOL, ColTypeColsType
 
typedef std::unordered_map< SCTAB, ColsTypeTabsType
 

Public Member Functions

 RefQueryFormulaGroup ()
 
virtual ~RefQueryFormulaGroup () override
 
void setSkipRange (const ScRange &rRange)
 
void add (const ScAddress &rPos)
 
const TabsTypegetAllPositions () const
 Row positions in each column may contain duplicates. More...
 
- Public Member Functions inherited from SvtListener::QueryBase
 QueryBase (sal_uInt16 nId)
 
virtual ~QueryBase ()
 
sal_uInt16 getId () const
 

Private Attributes

ScRange maSkipRange
 
TabsType maTabs
 

Detailed Description

Used to collect positions of formula cells that belong to a formula group.

Definition at line 26 of file listenerquery.hxx.

Member Typedef Documentation

◆ ColsType

typedef std::unordered_map<SCCOL, ColType> sc::RefQueryFormulaGroup::ColsType

Definition at line 30 of file listenerquery.hxx.

◆ ColType

Definition at line 29 of file listenerquery.hxx.

◆ TabsType

typedef std::unordered_map<SCTAB, ColsType> sc::RefQueryFormulaGroup::TabsType

Definition at line 31 of file listenerquery.hxx.

Constructor & Destructor Documentation

◆ RefQueryFormulaGroup()

sc::RefQueryFormulaGroup::RefQueryFormulaGroup ( )

Definition at line 16 of file listenerquery.cxx.

◆ ~RefQueryFormulaGroup()

sc::RefQueryFormulaGroup::~RefQueryFormulaGroup ( )
overridevirtual

Definition at line 20 of file listenerquery.cxx.

Member Function Documentation

◆ add()

void sc::RefQueryFormulaGroup::add ( const ScAddress rPos)

◆ getAllPositions()

const RefQueryFormulaGroup::TabsType & sc::RefQueryFormulaGroup::getAllPositions ( ) const

Row positions in each column may contain duplicates.

Caller must remove duplicates if necessary.

Definition at line 65 of file listenerquery.cxx.

References maTabs.

Referenced by ScTable::SortReorderByRowRefUpdate().

◆ setSkipRange()

void sc::RefQueryFormulaGroup::setSkipRange ( const ScRange rRange)

Definition at line 22 of file listenerquery.cxx.

References maSkipRange.

Referenced by ScTable::SortReorderByRowRefUpdate().

Member Data Documentation

◆ maSkipRange

ScRange sc::RefQueryFormulaGroup::maSkipRange
private

Definition at line 46 of file listenerquery.hxx.

Referenced by add(), and setSkipRange().

◆ maTabs

TabsType sc::RefQueryFormulaGroup::maTabs
private

Definition at line 47 of file listenerquery.hxx.

Referenced by add(), and getAllPositions().


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