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

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

Definition at line 30 of file listenerquery.hxx.

Definition at line 29 of file listenerquery.hxx.

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

Definition at line 31 of file listenerquery.hxx.

Constructor & Destructor Documentation

sc::RefQueryFormulaGroup::RefQueryFormulaGroup ( )

Definition at line 16 of file listenerquery.cxx.

sc::RefQueryFormulaGroup::~RefQueryFormulaGroup ( )
overridevirtual

Definition at line 20 of file listenerquery.cxx.

Member Function Documentation

void sc::RefQueryFormulaGroup::add ( const ScAddress rPos)
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().

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

Definition at line 22 of file listenerquery.cxx.

References maSkipRange.

Referenced by ScTable::SortReorderByRowRefUpdate().

Member Data Documentation

ScRange sc::RefQueryFormulaGroup::maSkipRange
private

Definition at line 46 of file listenerquery.hxx.

Referenced by add(), and setSkipRange().

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: