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

#include <chartpos.hxx>

Collaboration diagram for ScChartPositioner:
[legend]

Public Member Functions

 ScChartPositioner (ScDocument &rDoc, SCTAB nTab, SCCOL nStartColP, SCROW nStartRowP, SCCOL nEndColP, SCROW nEndRowP)
 
 ScChartPositioner (ScDocument &rDoc, ScRangeListRef xRangeList)
 
 ScChartPositioner (const ScChartPositioner &rPositioner)
 
 ~ScChartPositioner ()
 
const ScRangeListRefGetRangeList () const
 
void SetRangeList (const ScRange &rNew)
 
void SetHeaders (bool bCol, bool bRow)
 
bool HasColHeaders () const
 
bool HasRowHeaders () const
 
void InvalidateGlue ()
 
const ScChartPositionMapGetPositionMap ()
 

Private Member Functions

void CheckColRowHeaders ()
 
void GlueState ()
 
void CreatePositionMap ()
 

Private Attributes

ScRangeListRef aRangeListRef
 
ScDocumentrDocument
 
std::unique_ptr< ScChartPositionMappPositionMap
 
ScChartGlue eGlue
 
SCCOL nStartCol
 
SCROW nStartRow
 
bool bColHeaders
 
bool bRowHeaders
 
bool bDummyUpperLeft
 

Detailed Description

Definition at line 102 of file chartpos.hxx.

Constructor & Destructor Documentation

◆ ScChartPositioner() [1/3]

ScChartPositioner::ScChartPositioner ( ScDocument rDoc,
SCTAB  nTab,
SCCOL  nStartColP,
SCROW  nStartRowP,
SCCOL  nEndColP,
SCROW  nEndRowP 
)

Definition at line 45 of file chartpos.cxx.

References CheckColRowHeaders(), NA, and SetRangeList().

◆ ScChartPositioner() [2/3]

ScChartPositioner::ScChartPositioner ( ScDocument rDoc,
ScRangeListRef  xRangeList 
)

Definition at line 59 of file chartpos.cxx.

References aRangeListRef, CheckColRowHeaders(), tools::SvRef< typename T >::is(), and NA.

◆ ScChartPositioner() [3/3]

ScChartPositioner::ScChartPositioner ( const ScChartPositioner rPositioner)

Definition at line 73 of file chartpos.cxx.

◆ ~ScChartPositioner()

ScChartPositioner::~ScChartPositioner ( )

Definition at line 85 of file chartpos.cxx.

Member Function Documentation

◆ CheckColRowHeaders()

void ScChartPositioner::CheckColRowHeaders ( )
private

◆ CreatePositionMap()

void ScChartPositioner::CreatePositionMap ( )
private

◆ GetPositionMap()

const ScChartPositionMap * ScChartPositioner::GetPositionMap ( )

Definition at line 335 of file chartpos.cxx.

References CreatePositionMap(), and pPositionMap.

Referenced by ScChartArray::GetPositionMap().

◆ GetRangeList()

const ScRangeListRef & ScChartPositioner::GetRangeList ( ) const
inline

Definition at line 128 of file chartpos.hxx.

References aRangeListRef.

Referenced by ScChartArray::GetRangeList().

◆ GlueState()

void ScChartPositioner::GlueState ( )
private

◆ HasColHeaders()

bool ScChartPositioner::HasColHeaders ( ) const
inline

Definition at line 132 of file chartpos.hxx.

References bColHeaders.

Referenced by ScDocShell::Execute(), and ScChartArray::HasColHeaders().

◆ HasRowHeaders()

bool ScChartPositioner::HasRowHeaders ( ) const
inline

Definition at line 133 of file chartpos.hxx.

References bRowHeaders.

Referenced by ScDocShell::Execute(), and ScChartArray::HasRowHeaders().

◆ InvalidateGlue()

void ScChartPositioner::InvalidateGlue ( )

Definition at line 441 of file chartpos.cxx.

References eGlue, NA, and pPositionMap.

Referenced by GlueState(), and SetRangeList().

◆ SetHeaders()

void ScChartPositioner::SetHeaders ( bool  bCol,
bool  bRow 
)
inline

Definition at line 131 of file chartpos.hxx.

References bColHeaders, and bRowHeaders.

Referenced by ScChartArray::SetHeaders().

◆ SetRangeList()

void ScChartPositioner::SetRangeList ( const ScRange rNew)

Definition at line 89 of file chartpos.cxx.

References aRangeListRef, and InvalidateGlue().

Referenced by ScChartPositioner().

Member Data Documentation

◆ aRangeListRef

ScRangeListRef ScChartPositioner::aRangeListRef
private

◆ bColHeaders

bool ScChartPositioner::bColHeaders
private

Definition at line 110 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), CreatePositionMap(), HasColHeaders(), and SetHeaders().

◆ bDummyUpperLeft

bool ScChartPositioner::bDummyUpperLeft
private

Definition at line 112 of file chartpos.hxx.

Referenced by CreatePositionMap(), and GlueState().

◆ bRowHeaders

bool ScChartPositioner::bRowHeaders
private

Definition at line 111 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), CreatePositionMap(), HasRowHeaders(), and SetHeaders().

◆ eGlue

ScChartGlue ScChartPositioner::eGlue
private

Definition at line 107 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), CreatePositionMap(), GlueState(), and InvalidateGlue().

◆ nStartCol

SCCOL ScChartPositioner::nStartCol
private

Definition at line 108 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), and GlueState().

◆ nStartRow

SCROW ScChartPositioner::nStartRow
private

Definition at line 109 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), and GlueState().

◆ pPositionMap

std::unique_ptr<ScChartPositionMap> ScChartPositioner::pPositionMap
private

Definition at line 106 of file chartpos.hxx.

Referenced by CreatePositionMap(), GetPositionMap(), and InvalidateGlue().

◆ rDocument

ScDocument& ScChartPositioner::rDocument
private

Definition at line 105 of file chartpos.hxx.

Referenced by CheckColRowHeaders().


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