28typedef std::map<SCROW, std::unique_ptr<ScAddress>>
RowMap;
36 std::unique_ptr<std::unique_ptr<ScAddress>[]>
ppData;
62 {
return static_cast<sal_uInt64
>(nCol) *
nRowCount + nRow; }
74 if (
IsValid( nChartCol, nChartRow ) )
std::map< SCCOL, RowMap > ColumnMap
std::map< SCROW, std::unique_ptr< ScAddress > > RowMap
std::unique_ptr< std::unique_ptr< ScAddress >[]> ppRowHeader
std::unique_ptr< std::unique_ptr< ScAddress >[]> ppColHeader
const ScAddress * GetRowHeaderPosition(SCROW nChartRow) const
bool IsValid(SCCOL nCol, SCROW nRow) const
const ScAddress * GetColHeaderPosition(SCCOL nChartCol) const
ScChartPositionMap(const ScChartPositionMap &)=delete
const ScAddress * GetPosition(sal_uInt64 nIndex) const
SCROW GetRowCount() const
SCCOL GetColCount() const
deletes all ScAddress*
ScChartPositionMap(SCCOL nChartCols, SCROW nChartRows, SCCOL nColAdd, SCROW nRowAdd, ColumnMap &rCols)
const ScAddress * GetPosition(SCCOL nChartCol, SCROW nChartRow) const
might be NULL indicating "no value"
ScChartPositionMap & operator=(const ScChartPositionMap &)=delete
sal_uInt64 GetIndex(SCCOL nCol, SCROW nRow) const
std::unique_ptr< std::unique_ptr< ScAddress >[]> ppData
bool HasColHeaders() const
bool HasRowHeaders() const
void SetHeaders(bool bCol, bool bRow)
void CheckColRowHeaders()
const ScChartPositionMap * GetPositionMap()
void SetRangeList(const ScRange &rNew)
const ScRangeListRef & GetRangeList() const
ScChartPositioner(ScDocument &rDoc, SCTAB nTab, SCCOL nStartColP, SCROW nStartRowP, SCCOL nEndColP, SCROW nEndRowP)
ScRangeListRef aRangeListRef
std::unique_ptr< ScChartPositionMap > pPositionMap