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

#include <address.hxx>

Collaboration diagram for ScRefAddress:
[legend]

Public Member Functions

 ScRefAddress ()
 
 ScRefAddress (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
 ScRefAddress (const ScRefAddress &rRef)
 
ScRefAddressoperator= (const ScRefAddress &)
 
bool IsRelCol () const
 
bool IsRelRow () const
 
bool IsRelTab () const
 
void SetRelCol (bool bNewRelCol)
 
void SetRelRow (bool bNewRelRow)
 
void SetRelTab (bool bNewRelTab)
 
void Set (const ScAddress &rAdr, bool bNewRelCol, bool bNewRelRow, bool bNewRelTab)
 
void Set (SCCOL nNewCol, SCROW nNewRow, SCTAB nNewTab, bool bNewRelCol, bool bNewRelRow, bool bNewRelTab)
 
const ScAddressGetAddress () const
 
SCCOL Col () const
 
SCROW Row () const
 
SCTAB Tab () const
 
bool operator== (const ScRefAddress &r) const
 
OUString GetRefString (const ScDocument &rDocument, SCTAB nActTab, const ScAddress::Details &rDetails=ScAddress::detailsOOOa1) const
 

Private Attributes

ScAddress aAdr
 
bool bRelCol
 
bool bRelRow
 
bool bRelTab
 

Detailed Description

Definition at line 828 of file address.hxx.

Constructor & Destructor Documentation

◆ ScRefAddress() [1/3]

ScRefAddress::ScRefAddress ( )
inline

Definition at line 836 of file address.hxx.

◆ ScRefAddress() [2/3]

ScRefAddress::ScRefAddress ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)
inline

Definition at line 839 of file address.hxx.

◆ ScRefAddress() [3/3]

ScRefAddress::ScRefAddress ( const ScRefAddress rRef)
inline

Definition at line 843 of file address.hxx.

Member Function Documentation

◆ Col()

SCCOL ScRefAddress::Col ( ) const
inline

◆ GetAddress()

const ScAddress & ScRefAddress::GetAddress ( ) const
inline

◆ GetRefString()

OUString ScRefAddress::GetRefString ( const ScDocument rDocument,
SCTAB  nActTab,
const ScAddress::Details rDetails = ScAddress::detailsOOOa1 
) const

◆ IsRelCol()

bool ScRefAddress::IsRelCol ( ) const
inline

◆ IsRelRow()

bool ScRefAddress::IsRelRow ( ) const
inline

◆ IsRelTab()

bool ScRefAddress::IsRelTab ( ) const
inline

◆ operator=()

ScRefAddress & ScRefAddress::operator= ( const ScRefAddress rRef)
inline

Definition at line 905 of file address.hxx.

References aAdr, bRelCol, bRelRow, and bRelTab.

◆ operator==()

bool ScRefAddress::operator== ( const ScRefAddress r) const
inline

Definition at line 932 of file address.hxx.

References aAdr, bRelCol, bRelRow, and bRelTab.

◆ Row()

SCROW ScRefAddress::Row ( ) const
inline

◆ Set() [1/2]

void ScRefAddress::Set ( const ScAddress rAdr,
bool  bNewRelCol,
bool  bNewRelRow,
bool  bNewRelTab 
)
inline

◆ Set() [2/2]

void ScRefAddress::Set ( SCCOL  nNewCol,
SCROW  nNewRow,
SCTAB  nNewTab,
bool  bNewRelCol,
bool  bNewRelRow,
bool  bNewRelTab 
)
inline

Definition at line 923 of file address.hxx.

References aAdr, bRelCol, bRelRow, bRelTab, and ScAddress::Set().

◆ SetRelCol()

void ScRefAddress::SetRelCol ( bool  bNewRelCol)
inline

◆ SetRelRow()

void ScRefAddress::SetRelRow ( bool  bNewRelRow)
inline

◆ SetRelTab()

void ScRefAddress::SetRelTab ( bool  bNewRelTab)
inline

◆ Tab()

SCTAB ScRefAddress::Tab ( ) const
inline

Member Data Documentation

◆ aAdr

ScAddress ScRefAddress::aAdr
private

Definition at line 831 of file address.hxx.

Referenced by operator=(), operator==(), and Set().

◆ bRelCol

bool ScRefAddress::bRelCol
private

Definition at line 832 of file address.hxx.

Referenced by operator=(), operator==(), and Set().

◆ bRelRow

bool ScRefAddress::bRelRow
private

Definition at line 833 of file address.hxx.

Referenced by operator=(), operator==(), and Set().

◆ bRelTab

bool ScRefAddress::bRelTab
private

Definition at line 834 of file address.hxx.

Referenced by operator=(), operator==(), and Set().


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