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 *pDoc, SCTAB nTab, SCCOL nStartColP, SCROW nStartRowP, SCCOL nEndColP, SCROW nEndRowP)
 
 ScChartPositioner (ScDocument *pDoc, const ScRangeListRef &rRangeList)
 
 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
 
ScDocumentpDocument
 
std::unique_ptr< ScChartPositionMappPositionMap
 
ScChartGlue eGlue
 
SCCOL nStartCol
 
SCROW nStartRow
 
bool bColHeaders
 
bool bRowHeaders
 
bool bDummyUpperLeft
 

Detailed Description

Definition at line 103 of file chartpos.hxx.

Constructor & Destructor Documentation

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

Definition at line 44 of file chartpos.cxx.

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

ScChartPositioner::ScChartPositioner ( ScDocument pDoc,
const ScRangeListRef rRangeList 
)

Definition at line 58 of file chartpos.cxx.

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

ScChartPositioner::ScChartPositioner ( const ScChartPositioner rPositioner)

Definition at line 72 of file chartpos.cxx.

ScChartPositioner::~ScChartPositioner ( )

Definition at line 84 of file chartpos.cxx.

Member Function Documentation

void ScChartPositioner::CheckColRowHeaders ( )
private
void ScChartPositioner::CreatePositionMap ( )
private
const ScChartPositionMap * ScChartPositioner::GetPositionMap ( )

Definition at line 334 of file chartpos.cxx.

References CreatePositionMap(), and pPositionMap.

Referenced by ScChartArray::GetPositionMap().

const ScRangeListRef& ScChartPositioner::GetRangeList ( ) const
inline

Definition at line 129 of file chartpos.hxx.

References aRangeListRef.

Referenced by ScChartArray::GetRangeList().

void ScChartPositioner::GlueState ( )
private
bool ScChartPositioner::HasColHeaders ( ) const
inline

Definition at line 133 of file chartpos.hxx.

References bColHeaders.

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

bool ScChartPositioner::HasRowHeaders ( ) const
inline

Definition at line 134 of file chartpos.hxx.

References bRowHeaders.

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

void ScChartPositioner::InvalidateGlue ( )

Definition at line 441 of file chartpos.cxx.

References eGlue, NA, and pPositionMap.

Referenced by GlueState(), and SetRangeList().

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

Definition at line 132 of file chartpos.hxx.

Referenced by ScChartArray::SetHeaders().

void ScChartPositioner::SetRangeList ( const ScRange rNew)

Definition at line 88 of file chartpos.cxx.

References aRangeListRef, and InvalidateGlue().

Referenced by ScChartPositioner().

Member Data Documentation

ScRangeListRef ScChartPositioner::aRangeListRef
private
bool ScChartPositioner::bColHeaders
private

Definition at line 111 of file chartpos.hxx.

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

bool ScChartPositioner::bDummyUpperLeft
private

Definition at line 113 of file chartpos.hxx.

Referenced by CreatePositionMap(), and GlueState().

bool ScChartPositioner::bRowHeaders
private

Definition at line 112 of file chartpos.hxx.

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

ScChartGlue ScChartPositioner::eGlue
private

Definition at line 108 of file chartpos.hxx.

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

SCCOL ScChartPositioner::nStartCol
private

Definition at line 109 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), and GlueState().

SCROW ScChartPositioner::nStartRow
private

Definition at line 110 of file chartpos.hxx.

Referenced by CheckColRowHeaders(), and GlueState().

ScDocument* ScChartPositioner::pDocument
private

Definition at line 106 of file chartpos.hxx.

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

Definition at line 107 of file chartpos.hxx.

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


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