LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ScChartPositionMap Class Reference

#include <chartpos.hxx>

Public Member Functions

 ~ScChartPositionMap ()
 
SCCOL GetColCount () const
 deletes all ScAddress* More...
 
SCROW GetRowCount () const
 
bool IsValid (SCCOL nCol, SCROW nRow) const
 
sal_uLong GetIndex (SCCOL nCol, SCROW nRow) const
 
const ScAddressGetPosition (sal_uLong nIndex) const
 
const ScAddressGetPosition (SCCOL nChartCol, SCROW nChartRow) const
 might be NULL indicating "no value" More...
 
const ScAddressGetColHeaderPosition (SCCOL nChartCol) const
 
const ScAddressGetRowHeaderPosition (SCROW nChartRow) const
 

Private Member Functions

 ScChartPositionMap (SCCOL nChartCols, SCROW nChartRows, SCCOL nColAdd, SCROW nRowAdd, ColumnMap &rCols)
 
 ScChartPositionMap (const ScChartPositionMap &)=delete
 
ScChartPositionMapoperator= (const ScChartPositionMap &)=delete
 

Private Attributes

std::unique_ptr< std::unique_ptr< ScAddress >[]> ppData
 
std::unique_ptr< std::unique_ptr< ScAddress >[]> ppColHeader
 
std::unique_ptr< std::unique_ptr< ScAddress >[]> ppRowHeader
 
sal_uLong nCount
 
SCCOL nColCount
 
SCROW nRowCount
 

Friends

class ScChartPositioner
 

Detailed Description

Definition at line 33 of file chartpos.hxx.

Constructor & Destructor Documentation

ScChartPositionMap::ScChartPositionMap ( SCCOL  nChartCols,
SCROW  nChartRows,
SCCOL  nColAdd,
SCROW  nRowAdd,
ColumnMap rCols 
)
private

Definition at line 447 of file chartpos.cxx.

References nColCount, nColCount, nCount, nIndex, nRowCount, ppColHeader, ppData, and ppRowHeader.

ScChartPositionMap::ScChartPositionMap ( const ScChartPositionMap )
privatedelete
ScChartPositionMap::~ScChartPositionMap ( )

Definition at line 520 of file chartpos.cxx.

Member Function Documentation

SCCOL ScChartPositionMap::GetColCount ( ) const
inline

deletes all ScAddress*

Definition at line 56 of file chartpos.hxx.

References nColCount.

Referenced by ScChartArray::CreateMemChartMulti(), ScCellRangesBase::setColumnDescriptions(), and ScCellRangesBase::setData().

const ScAddress* ScChartPositionMap::GetColHeaderPosition ( SCCOL  nChartCol) const
inline
sal_uLong ScChartPositionMap::GetIndex ( SCCOL  nCol,
SCROW  nRow 
) const
inline

Definition at line 62 of file chartpos.hxx.

Referenced by GetPosition().

const ScAddress* ScChartPositionMap::GetPosition ( sal_uLong  nIndex) const
inline

Definition at line 65 of file chartpos.hxx.

Referenced by ScChartArray::CreateMemChartMulti(), and ScCellRangesBase::setData().

const ScAddress* ScChartPositionMap::GetPosition ( SCCOL  nChartCol,
SCROW  nChartRow 
) const
inline

might be NULL indicating "no value"

Definition at line 73 of file chartpos.hxx.

References GetIndex(), and IsValid().

SCROW ScChartPositionMap::GetRowCount ( ) const
inline
const ScAddress* ScChartPositionMap::GetRowHeaderPosition ( SCROW  nChartRow) const
inline
bool ScChartPositionMap::IsValid ( SCCOL  nCol,
SCROW  nRow 
) const
inline

Definition at line 59 of file chartpos.hxx.

References nRowCount.

Referenced by GetPosition().

ScChartPositionMap& ScChartPositionMap::operator= ( const ScChartPositionMap )
privatedelete

Friends And Related Function Documentation

friend class ScChartPositioner
friend

Definition at line 35 of file chartpos.hxx.

Member Data Documentation

SCCOL ScChartPositionMap::nColCount
private

Definition at line 41 of file chartpos.hxx.

Referenced by GetColCount(), and ScChartPositionMap().

sal_uLong ScChartPositionMap::nCount
private

Definition at line 40 of file chartpos.hxx.

SCROW ScChartPositionMap::nRowCount
private

Definition at line 42 of file chartpos.hxx.

Referenced by GetRowCount(), IsValid(), and ScChartPositionMap().

std::unique_ptr<std::unique_ptr<ScAddress>[]> ScChartPositionMap::ppColHeader
private

Definition at line 38 of file chartpos.hxx.

Referenced by ScChartPositionMap().

std::unique_ptr<std::unique_ptr<ScAddress>[]> ScChartPositionMap::ppData
private

Definition at line 37 of file chartpos.hxx.

Referenced by ScChartPositionMap().

std::unique_ptr<std::unique_ptr<ScAddress>[]> ScChartPositionMap::ppRowHeader
private

Definition at line 39 of file chartpos.hxx.

Referenced by ScChartPositionMap().


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