LibreOffice Module sc (master)
1
|
Single reference (one address) into the sheet. More...
#include <refdata.hxx>
Public Member Functions | |
void | InitFlags () |
No default ctor, because used in ScRawToken union, set InitFlags! More... | |
void | InitAddress (const ScAddress &rAdr) |
InitAddress: InitFlags and set address. More... | |
void | InitAddress (SCCOL nCol, SCROW nRow, SCTAB nTab) |
void | InitAddressRel (const ScDocument &rDoc, const ScAddress &rAdr, const ScAddress &rPos) |
InitAddressRel: InitFlags and set address, everything relative to rPos. More... | |
void | InitFromRefAddress (const ScDocument &rDoc, const ScRefAddress &rRef, const ScAddress &rPos) |
InitFlags and set address, relative to rPos if rRef says so. More... | |
sal_uInt8 | FlagValue () const |
void | SetColRel (bool bVal) |
bool | IsColRel () const |
void | SetRowRel (bool bVal) |
bool | IsRowRel () const |
void | SetTabRel (bool bVal) |
bool | IsTabRel () const |
void | SetAbsCol (SCCOL nVal) |
void | SetRelCol (SCCOL nVal) |
void | IncCol (SCCOL nInc) |
void | SetAbsRow (SCROW nVal) |
void | SetRelRow (SCROW nVal) |
void | IncRow (SCROW nInc) |
void | SetAbsTab (SCTAB nVal) |
void | SetRelTab (SCTAB nVal) |
void | IncTab (SCTAB nInc) |
void | SetColDeleted (bool bVal) |
bool | IsColDeleted () const |
void | SetRowDeleted (bool bVal) |
bool | IsRowDeleted () const |
void | SetTabDeleted (bool bVal) |
bool | IsTabDeleted () const |
bool | IsDeleted () const |
void | SetFlag3D (bool bVal) |
bool | IsFlag3D () const |
void | SetRelName (bool bVal) |
bool | IsRelName () const |
bool | Valid (const ScDocument &rDoc) const |
bool | ColValid (const ScDocument &rDoc) const |
bool | RowValid (const ScDocument &rDoc) const |
bool | TabValid () const |
bool | ValidExternal (const ScDocument &rDoc) const |
In external references nTab is -1 if the external document was not loaded but the sheet was cached, or >=0 if the external document was loaded. More... | |
ScAddress | toAbs (const ScSheetLimits &rLimits, const ScAddress &rPos) const |
ScAddress | toAbs (const ScDocument &rDoc, const ScAddress &rPos) const |
void | SetAddress (const ScSheetLimits &rLimits, const ScAddress &rAddr, const ScAddress &rPos) |
SCROW | Row () const |
SCCOL | Col () const |
SCTAB | Tab () const |
bool | operator== (const ScSingleRefData &) const |
bool | operator!= (const ScSingleRefData &) const |
Static Public Member Functions | |
static void | PutInOrder (ScSingleRefData &rRef1, ScSingleRefData &rRef2, const ScAddress &rPos) |
Adjust ordering (front-top-left/rear-bottom-right) to a new position. More... | |
Private Attributes | |
SCCOL | mnCol |
SCROW | mnRow |
SCTAB | mnTab |
union { | |
sal_uInt8 mnFlagValue | |
struct { | |
bool bColRel:1 | |
bool bColDeleted:1 | |
bool bRowRel:1 | |
bool bRowDeleted:1 | |
bool bTabRel:1 | |
bool bTabDeleted:1 | |
bool bFlag3D:1 | |
3D-Ref More... | |
bool bRelName:1 | |
Reference derived from RangeName with relative values. More... | |
} Flags | |
}; | |
Single reference (one address) into the sheet.
Definition at line 30 of file refdata.hxx.
SCCOL ScSingleRefData::Col | ( | ) | const |
Definition at line 247 of file refdata.cxx.
References mnCol.
Referenced by LotusToSc::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScRangeData::GuessPosition(), ScComplexRefData::IncEndColSticky(), ScComplexRefData::IsEntireRow(), lcl_SingleRefToApi(), r1c1_add_col(), and ScFormulaCell::TransposeReference().
bool ScSingleRefData::ColValid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 135 of file refdata.cxx.
References ScDocument::MaxCol(), and mnCol.
Referenced by Valid(), ValidExternal(), and ScComplexRefData::ValidExternal().
|
inline |
Definition at line 63 of file refdata.hxx.
Definition at line 71 of file refdata.cxx.
References mnCol.
Referenced by ScTokenArray::AdjustReferenceInName(), ScCompiler::AdjustSumRangeShape(), and ScComplexRefData::IncEndColSticky().
Definition at line 88 of file refdata.cxx.
References mnRow.
Referenced by ScTokenArray::AdjustReferenceInName(), ScCompiler::AdjustSumRangeShape(), and ScComplexRefData::IncEndRowSticky().
Definition at line 105 of file refdata.cxx.
References mnTab.
Referenced by ScCompiler::AdjustSheetLocalNameRelReferences(), ScChart2DataSequence::switchToNext(), and ScFormulaCell::UpdateInsertTabAbs().
InitAddress: InitFlags and set address.
Definition at line 27 of file refdata.cxx.
References ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().
Referenced by RangeNameBufferWK3::Add(), ExcelToSc8::Convert(), ScRefTokenHelper::createRefToken(), ScCompiler::HandleColRowName(), ScComplexRefData::InitRange(), ScCompiler::IsColRowName(), ScCompiler::IsSingleReference(), ScCompiler::IsTableRefColumn(), QProToSc::ReadSRD(), ScRangeData::ScRangeData(), sc::CopyFromClipContext::setSingleCell(), and ScTable::TransposeClip().
Definition at line 32 of file refdata.cxx.
References InitFlags(), mnCol, mnRow, and mnTab.
void ScSingleRefData::InitAddressRel | ( | const ScDocument & | rDoc, |
const ScAddress & | rAdr, | ||
const ScAddress & | rPos | ||
) |
InitAddressRel: InitFlags and set address, everything relative to rPos.
Definition at line 40 of file refdata.cxx.
References ScDocument::GetSheetLimits(), InitFlags(), SetAddress(), SetColRel(), SetRowRel(), and SetTabRel().
Referenced by ScComplexRefData::InitRangeRel().
|
inline |
No default ctor, because used in ScRawToken union, set InitFlags!
all FALSE
Definition at line 55 of file refdata.hxx.
Referenced by ExcelToSc::Convert(), QProToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), ScColumn::CopyFromClip(), ScCompiler::HandleTableRef(), InitAddress(), InitAddressRel(), ScComplexRefData::InitFlags(), InitFromRefAddress(), ScDocument::InsertMatrixFormula(), ScCompiler::IsColRowName(), ScConsData::OutputToDocument(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
void ScSingleRefData::InitFromRefAddress | ( | const ScDocument & | rDoc, |
const ScRefAddress & | rRef, | ||
const ScAddress & | rPos | ||
) |
InitFlags and set address, relative to rPos if rRef says so.
Definition at line 49 of file refdata.cxx.
References ScRefAddress::GetAddress(), ScDocument::GetSheetLimits(), InitFlags(), ScRefAddress::IsRelCol(), ScRefAddress::IsRelRow(), ScRefAddress::IsRelTab(), SetAddress(), SetColRel(), SetFlag3D(), SetRowRel(), SetTabRel(), ScAddress::Tab(), and ScRefAddress::Tab().
|
inline |
Definition at line 83 of file refdata.hxx.
Referenced by XclExpFmlaCompImpl::ConvertRefData(), IsDeleted(), and lcl_SingleRefToApi().
|
inline |
Definition at line 66 of file refdata.hxx.
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceInName(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScComplexRefData::Extend(), ScRangeData::GuessPosition(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), ScComplexRefData::IncEndColSticky(), ScComplexRefData::IsEntireRow(), lcl_HasRelRef(), lcl_SingleRefToApi(), ScRefUpdate::MoveRelWrap(), XclExpFmlaCompImpl::ProcessCellRef(), r1c1_add_col(), ScCompiler::ReplaceDoubleRefII(), ExcelToSc::SetComplCol(), ScCompiler::SetRelNameReference(), ScFormulaListener::startListening(), ScFormulaCell::TransposeReference(), ScRangeData::UpdateGrow(), and ScRangeData::UpdateTranspose().
bool ScSingleRefData::IsDeleted | ( | ) | const |
Definition at line 125 of file refdata.cxx.
References IsColDeleted(), IsRowDeleted(), and IsTabDeleted().
Referenced by ScTokenArray::AdjustReferenceOnShift(), ScGroupTokenConverter::convert(), and ScComplexRefData::IsDeleted().
|
inline |
Definition at line 91 of file refdata.hxx.
Referenced by ScTokenArray::AdjustReferenceOnMove(), QProToSc::Convert(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), extendRangeReference(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_SingleRefToApi(), ScTokenArray::ReadjustAbsolute3DReferences(), ScRangeData::UpdateGrow(), and ScRangeData::UpdateTranspose().
|
inline |
Definition at line 93 of file refdata.hxx.
Referenced by ScComplexRefData::Extend(), ScCompiler::HandleTableRef(), ScFormulaCell::HasRelNameReference(), and lcl_SingleRefToApi().
|
inline |
Definition at line 85 of file refdata.hxx.
Referenced by XclExpFmlaCompImpl::ConvertRefData(), IsDeleted(), and lcl_SingleRefToApi().
|
inline |
Definition at line 68 of file refdata.hxx.
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceInName(), ScTokenArray::CheckExpandReferenceBounds(), ScFormulaCell::CompareByTokenArray(), ScGroupTokenConverter::convert(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScComplexRefData::Extend(), ScRangeData::GuessPosition(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), ScComplexRefData::IncEndRowSticky(), ScComplexRefData::IsEntireCol(), ScTokenArray::IsInvariant(), lcl_HasRelRef(), lcl_SingleRefToApi(), LotusToSc::LotusRelToScRel(), ScRefUpdate::MoveRelWrap(), XclExpFmlaCompImpl::ProcessCellRef(), r1c1_add_row(), ScCompiler::ReplaceDoubleRefII(), ExcelToSc::SetComplRow(), ScCompiler::SetRelNameReference(), sc::SharedFormulaUtil::startListeningAsGroup(), ScFormulaCell::TransposeReference(), ScRangeData::UpdateGrow(), and ScRangeData::UpdateTranspose().
|
inline |
Definition at line 87 of file refdata.hxx.
Referenced by XclExpFmlaCompImpl::GetScTab(), ScConditionEntry::GetValidSrcPos(), IsDeleted(), XclExpFmlaCompImpl::IsRef2D(), lcl_SingleRefToApi(), and ScRangeData::ValidateTabRefs().
|
inline |
Definition at line 70 of file refdata.hxx.
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceOnMove(), ScTokenArray::AdjustSheetLocalNameReferences(), ScCompiler::AdjustSheetLocalNameRelReferences(), QProToSc::Convert(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), XclExpFmlaCompImpl::GetScTab(), ScRangeData::GuessPosition(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_HasRelRef(), lcl_SingleRefToApi(), ScRefUpdate::MoveRelWrap(), ScTokenArray::ReadjustAbsolute3DReferences(), ScTokenArray::ReferencesSheet(), ScCompiler::ReplaceDoubleRefII(), ScCompiler::SetRelNameReference(), ScFormulaCell::TestTabRefAbs(), ScRangeData::UpdateGrow(), ScFormulaCell::UpdateInsertTabAbs(), ScRangeData::UpdateTranspose(), and ScRangeData::ValidateTabRefs().
bool ScSingleRefData::operator!= | ( | const ScSingleRefData & | r | ) | const |
Definition at line 357 of file refdata.cxx.
References operator==().
bool ScSingleRefData::operator== | ( | const ScSingleRefData & | r | ) | const |
Definition at line 352 of file refdata.cxx.
References mnCol, mnFlagValue, mnRow, and mnTab.
Referenced by operator!=().
|
static |
Adjust ordering (front-top-left/rear-bottom-right) to a new position.
Definition at line 262 of file refdata.cxx.
References ScAddress::Col(), Flags, mnCol, mnRow, mnTab, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScComplexRefData::PutInOrder().
SCROW ScSingleRefData::Row | ( | ) | const |
Definition at line 240 of file refdata.cxx.
References mnRow.
Referenced by ScGroupTokenConverter::convert(), LotusToSc::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ExcelToSc::ExcRelToScRel(), ScRangeData::GuessPosition(), ScComplexRefData::IncEndRowSticky(), ScComplexRefData::IsEntireCol(), lcl_SingleRefToApi(), r1c1_add_row(), and ScFormulaCell::TransposeReference().
bool ScSingleRefData::RowValid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 151 of file refdata.cxx.
References ScDocument::MaxRow(), and mnRow.
Referenced by Valid(), ValidExternal(), and ScComplexRefData::ValidExternal().
Definition at line 59 of file refdata.cxx.
References mnCol.
Referenced by ScTokenArray::AdjustReferenceInName(), LotusRangeList::Append(), ExcelToSc::Convert(), ScColumn::CopyFromClip(), ScTable::DoSubTotals(), ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndColSticky(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), ExcelToSc::SetComplCol(), and ScFormulaDlg::SetReference().
Definition at line 76 of file refdata.cxx.
References mnRow.
Referenced by ScTokenArray::AdjustReferenceInName(), LotusRangeList::Append(), ExcelToSc::Convert(), ScColumn::CopyFromClip(), ScTable::DoSubTotals(), ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndRowSticky(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), ExcelToSc::SetComplRow(), and ScFormulaDlg::SetReference().
Definition at line 93 of file refdata.cxx.
References mnTab.
Referenced by ScTokenArray::AddFormulaToken(), ScTokenArray::AdjustSheetLocalNameReferences(), ExcelToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), ScColumn::CopyFromClip(), ScChart2DataProvider::createDataSource(), ScTable::DoSubTotals(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), lcl_EnsureAbs3DToken(), QProToSc::ReadSRD(), ScInterpreter::ScCellExternal(), ScFormulaDlg::SetReference(), ScChart2DataSequence::setToPointInTime(), and ScFormulaCell::TestTabRefAbs().
void ScSingleRefData::SetAddress | ( | const ScSheetLimits & | rLimits, |
const ScAddress & | rAddr, | ||
const ScAddress & | rPos | ||
) |
Definition at line 213 of file refdata.cxx.
References ScAddress::Col(), MAXTAB, mnCol, mnRow, mnTab, ScAddress::Row(), SetColDeleted(), SetRowDeleted(), SetTabDeleted(), ScAddress::Tab(), ScSheetLimits::ValidCol(), ScSheetLimits::ValidRow(), and ValidTab().
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceOnMove(), ScTokenArray::AdjustReferenceOnMovedOrigin(), ScTokenArray::AdjustReferenceOnMovedOriginIfOtherSheet(), ScTokenArray::AdjustReferenceOnMovedTab(), ScTokenArray::AdjustReferenceOnShift(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), InitAddressRel(), InitFromRefAddress(), ScDocument::InsertMatrixFormula(), ScCompiler::IsColRowName(), ScCompiler::IsSingleReference(), ScTokenArray::MoveReferenceColReorder(), ScTokenArray::MoveReferenceRowReorder(), ScConsData::OutputToDocument(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), ScDocumentImport::setMatrixCells(), ScComplexRefData::SetRange(), ScRangeData::ValidateTabRefs(), and ScTokenArray::WrapReference().
void ScSingleRefData::SetColDeleted | ( | bool | bVal | ) |
Definition at line 110 of file refdata.cxx.
Referenced by ScTokenArray::AdjustReferenceInName(), ExcelToSc::Convert(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScCompiler::IsSingleReference(), lcl_InvalidateReference(), and SetAddress().
|
inline |
Definition at line 65 of file refdata.hxx.
Referenced by ExcelToSc8::Convert(), ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScDocument::InsertMatrixFormula(), ScCompiler::IsColRowName(), ScCompiler::IsDoubleReference(), ScCompiler::IsSingleReference(), LotusRangeList::LotusRangeList(), ScConsData::OutputToDocument(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
|
inline |
Definition at line 90 of file refdata.hxx.
Referenced by RangeNameBufferWK3::Add(), ScTokenArray::AdjustReferenceOnMove(), ExcelToSc::Convert(), QProToSc::Convert(), LotusToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), ScColumn::CopyFromClip(), ScComplexRefData::Extend(), extendRangeReference(), ScRefTokenHelper::getDoubleRefDataFromToken(), ScRefTokenHelper::getTokenFromRange(), ScCompiler::HandleTableRef(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScHTMLImport::InsertRangeName(), ScCompiler::IsDoubleReference(), ScCompiler::IsSingleReference(), lcl_EnsureAbs3DToken(), LotusRangeList::LotusRangeList(), ScConsData::OutputToDocument(), QProToSc::ReadSRD(), LotusToSc::ReadSRD(), ScRangeData::ScRangeData(), ScFormulaDlg::SetReference(), sc::CopyFromClipContext::setSingleCell(), and ScTable::TransposeClip().
Definition at line 65 of file refdata.cxx.
References mnCol.
Referenced by ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndColSticky(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), ExcelToSc::SetComplCol(), and ScFormulaCell::TransposeReference().
|
inline |
Definition at line 92 of file refdata.hxx.
Referenced by ScComplexRefData::Extend(), ScCompiler::HandleTableRef(), and ScCompiler::SetRelNameReference().
Definition at line 82 of file refdata.cxx.
References mnRow.
Referenced by ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndRowSticky(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), ExcelToSc::SetComplRow(), and ScFormulaCell::TransposeReference().
Definition at line 99 of file refdata.cxx.
References mnTab.
Referenced by ExcelToSc::Convert(), LotusToSc::Convert(), ExcelToSc8::Convert(), ScComplexRefData::Extend(), ScDocument::InsertMatrixFormula(), LotusRangeList::LotusRangeList(), and QProToSc::ReadSRD().
void ScSingleRefData::SetRowDeleted | ( | bool | bVal | ) |
Definition at line 115 of file refdata.cxx.
Referenced by ScTokenArray::AdjustReferenceInName(), ExcelToSc::Convert(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScCompiler::IsSingleReference(), lcl_InvalidateReference(), and SetAddress().
|
inline |
Definition at line 67 of file refdata.hxx.
Referenced by ExcelToSc8::Convert(), ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScDocument::InsertMatrixFormula(), ScCompiler::IsColRowName(), ScCompiler::IsDoubleReference(), ScCompiler::IsSingleReference(), LotusRangeList::LotusRangeList(), LotusToSc::LotusRelToScRel(), ScConsData::OutputToDocument(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
void ScSingleRefData::SetTabDeleted | ( | bool | bVal | ) |
Definition at line 120 of file refdata.cxx.
Referenced by ExcelToSc::Convert(), ExcelToSc8::Convert(), ScCompiler::IsDoubleReference(), ScCompiler::IsSingleReference(), lcl_InvalidateReference(), and SetAddress().
|
inline |
Definition at line 69 of file refdata.hxx.
Referenced by ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScDocument::InsertMatrixFormula(), ScCompiler::IsDoubleReference(), ScCompiler::IsSingleReference(), ScConsData::OutputToDocument(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
SCTAB ScSingleRefData::Tab | ( | ) | const |
Definition at line 254 of file refdata.cxx.
References mnTab.
Referenced by ScTokenArray::AddFormulaToken(), ScTokenArray::AdjustSheetLocalNameReferences(), ScGroupTokenConverter::convert(), QProToSc::Convert(), ScTokenConversion::ConvertToTokenSequence(), ScChart2DataProvider::createDataSource(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), ScExternalRefManager::getRangeNameTokensFromSrcDoc(), XclExpFmlaCompImpl::GetScTab(), ScRangeData::GuessPosition(), ScHTMLImport::InsertRangeName(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_SingleRefToApi(), XclExpFmlaCompImpl::ProcessExternalRangeRef(), ScTokenArray::ReadjustAbsolute3DReferences(), ScTokenArray::ReferencesSheet(), ScFormulaCell::TestTabRefAbs(), ScFormulaCell::UpdateInsertTabAbs(), and ScComplexRefData::ValidExternal().
bool ScSingleRefData::TabValid | ( | ) | const |
ScAddress ScSingleRefData::toAbs | ( | const ScSheetLimits & | rLimits, |
const ScAddress & | rPos | ||
) | const |
Definition at line 193 of file refdata.cxx.
References ScAddress::Col(), ScAddress::INITIALIZE_INVALID, mnCol, mnRow, mnTab, ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), ScAddress::SetTab(), ScAddress::Tab(), ScSheetLimits::ValidCol(), ScSheetLimits::ValidRow(), and ValidTab().
Referenced by RangeNameBufferWK3::Add(), ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceInName(), ScTokenArray::AdjustReferenceOnMove(), ScTokenArray::AdjustReferenceOnMovedOrigin(), ScTokenArray::AdjustReferenceOnMovedOriginIfOtherSheet(), ScTokenArray::AdjustReferenceOnMovedTab(), ScTokenArray::AdjustReferenceOnShift(), ScGroupTokenConverter::convert(), ExcelToSc::Convert(), ExcelToSc8::Convert(), XclExpChSourceLink::ConvertDataSequence(), XclExpFmlaCompImpl::ConvertRefData(), ScCompiler::CreateStringFromSingleRef(), ScFormulaCell::EndListeningTo(), ScComplexRefData::Extend(), XclExpArrayBuffer::FindArray(), ScTokenArray::GetAdjacentExtendOfOuterFuncRefs(), XclImpChSourceLink::GetCellCount(), ScFormulaCell::GetFormula(), ScFormulaCell::GetMatrixOrigin(), ScDetectiveRefIter::GetNextRef(), ScRefTokenHelper::getRangeFromToken(), XclExpFmlaCompImpl::GetScTab(), ScConditionEntry::GetValidSrcPos(), ScCompiler::HandleColRowName(), ScFormulaCell::HasOneReference(), ScTokenArray::ImplGetReference(), ScFormulaCell::InterpretInvariantFormulaGroup(), lcl_ScDetectiveRefIter_SkipRef(), ScTokenArray::MoveReferenceColReorder(), ScTokenArray::MoveReferenceRowReorder(), ScTokenArray::NeedsWrapReference(), XclExpFmlaCompImpl::ProcessExternalCellRef(), XclExpFmlaCompImpl::ProcessExternalName(), QProToSc::ReadSRD(), ScInterpreter::ScColumn(), ScInterpreter::ScIntersect(), ScInterpreter::ScOffset(), ScInterpreter::ScRow(), ScFormulaListener::startListening(), sc::SharedFormulaUtil::startListeningAsGroup(), ScFormulaCell::StartListeningTo(), toAbs(), ScComplexRefData::toAbs(), ScRangeData::ValidateTabRefs(), and ScTokenArray::WrapReference().
ScAddress ScSingleRefData::toAbs | ( | const ScDocument & | rDoc, |
const ScAddress & | rPos | ||
) | const |
Definition at line 188 of file refdata.cxx.
References ScDocument::GetSheetLimits(), and toAbs().
bool ScSingleRefData::Valid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 130 of file refdata.cxx.
References ColValid(), RowValid(), and TabValid().
Referenced by ScComplexRefData::Valid().
bool ScSingleRefData::ValidExternal | ( | const ScDocument & | rDoc | ) | const |
In external references nTab is -1 if the external document was not loaded but the sheet was cached, or >=0 if the external document was loaded.
Definition at line 183 of file refdata.cxx.
References ColValid(), mnTab, and RowValid().
Referenced by ScComplexRefData::ValidExternal().
union { ... } |
bool ScSingleRefData::bColDeleted |
Definition at line 43 of file refdata.hxx.
bool ScSingleRefData::bColRel |
Definition at line 42 of file refdata.hxx.
bool ScSingleRefData::bFlag3D |
3D-Ref
Definition at line 48 of file refdata.hxx.
bool ScSingleRefData::bRelName |
Reference derived from RangeName with relative values.
Definition at line 49 of file refdata.hxx.
bool ScSingleRefData::bRowDeleted |
Definition at line 45 of file refdata.hxx.
bool ScSingleRefData::bRowRel |
Definition at line 44 of file refdata.hxx.
bool ScSingleRefData::bTabDeleted |
Definition at line 47 of file refdata.hxx.
bool ScSingleRefData::bTabRel |
Definition at line 46 of file refdata.hxx.
struct { ... } ScSingleRefData::Flags |
Referenced by PutInOrder().
|
private |
Definition at line 33 of file refdata.hxx.
Referenced by Col(), ColValid(), IncCol(), InitAddress(), operator==(), PutInOrder(), SetAbsCol(), SetAddress(), SetRelCol(), and toAbs().
sal_uInt8 ScSingleRefData::mnFlagValue |
Definition at line 39 of file refdata.hxx.
Referenced by operator==().
|
private |
Definition at line 34 of file refdata.hxx.
Referenced by IncRow(), InitAddress(), operator==(), PutInOrder(), Row(), RowValid(), SetAbsRow(), SetAddress(), SetRelRow(), and toAbs().
|
private |
Definition at line 35 of file refdata.hxx.
Referenced by IncTab(), InitAddress(), operator==(), PutInOrder(), SetAbsTab(), SetAddress(), SetRelTab(), Tab(), TabValid(), toAbs(), and ValidExternal().