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 ScDocument &rDoc) 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 29 of file refdata.hxx.
SCCOL ScSingleRefData::Col | ( | ) | const |
Definition at line 247 of file refdata.cxx.
Referenced by LotusToSc::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScRangeData::GuessPosition(), ScComplexRefData::IncEndColSticky(), ScComplexRefData::IsEntireRow(), lcl_SingleRefToApi(), lcl_TransposeReference(), ScInterpreter::PopRangeMatrix(), r1c1_add_col(), and ScInterpreter::SingleRefToVars().
bool ScSingleRefData::ColValid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 135 of file refdata.cxx.
References Flags, ScDocument::MaxCol(), and mnCol.
Referenced by Valid(), ValidExternal(), and ScComplexRefData::ValidExternal().
|
inline |
Definition at line 62 of file refdata.hxx.
void ScSingleRefData::IncCol | ( | SCCOL | nInc | ) |
Definition at line 71 of file refdata.cxx.
References mnCol.
Referenced by ScTokenArray::AdjustReferenceInName(), ScCompiler::AdjustSumRangeShape(), and ScComplexRefData::IncEndColSticky().
void ScSingleRefData::IncRow | ( | SCROW | nInc | ) |
Definition at line 88 of file refdata.cxx.
References mnRow.
Referenced by ScTokenArray::AdjustReferenceInName(), ScCompiler::AdjustSumRangeShape(), and ScComplexRefData::IncEndRowSticky().
void ScSingleRefData::IncTab | ( | SCTAB | nInc | ) |
Definition at line 105 of file refdata.cxx.
References mnTab.
Referenced by ScCompiler::AdjustSheetLocalNameRelReferences(), ScChart2DataSequence::switchToNext(), and ScFormulaCell::UpdateInsertTabAbs().
void ScSingleRefData::InitAddress | ( | const ScAddress & | rAdr | ) |
InitAddress: InitFlags and set address.
Definition at line 27 of file refdata.cxx.
References ScAddress::Col(), InitAddress(), ScAddress::Row(), and ScAddress::Tab().
Referenced by RangeNameBufferWK3::Add(), ExcelToSc8::Convert(), ScRefTokenHelper::createRefToken(), ScCompiler::HandleColRowName(), InitAddress(), ScComplexRefData::InitRange(), ScCompiler::ParseColRowName(), ScCompiler::ParseSingleReference(), ScCompiler::ParseTableRefColumn(), ScInterpreter::PushExternalSingleRef(), ScInterpreter::PushSingleRef(), QProToSc::ReadSRD(), ScRangeData::ScRangeData(), and sc::CopyFromClipContext::setSingleCell().
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 54 of file refdata.hxx.
Referenced by QProToSc::Convert(), ExcelToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), ScColumn::CopyFromClip(), ScCompiler::HandleTableRef(), InitAddress(), InitAddressRel(), ScComplexRefData::InitFlags(), InitFromRefAddress(), ScDocument::InsertMatrixFormula(), ScConsData::OutputToDocument(), ScCompiler::ParseColRowName(), 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().
Referenced by ScInterpreter::PushSingleRef().
|
inline |
Definition at line 82 of file refdata.hxx.
References Flags.
Referenced by XclExpFmlaCompImpl::ConvertRefData(), IsDeleted(), lcl_SingleRefToApi(), and ScInterpreter::SingleRefToVars().
|
inline |
Definition at line 65 of file refdata.hxx.
References Flags.
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceInName(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ScComplexRefData::Extend(), ScRangeData::GuessPosition(), ScCompiler::HandleColRowName(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), ScComplexRefData::IncEndColSticky(), ScComplexRefData::IsEntireRow(), lcl_HasRelRef(), lcl_SingleRefToApi(), ScRefUpdate::MoveRelWrap(), ScInterpreter::PopRangeMatrix(), XclExpFmlaCompImpl::ProcessCellRef(), r1c1_add_col(), ScCompiler::ReplaceDoubleRefII(), ScInterpreter::ScColRowNameAuto(), ExcelToSc::SetComplCol(), ScCompiler::SetRelNameReference(), ScInterpreter::SingleRefToVars(), 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(), ScComplexRefData::IsDeleted(), ScInterpreter::PopSingleRef(), and Valid().
|
inline |
Definition at line 90 of file refdata.hxx.
References Flags.
Referenced by ScTokenArray::AdjustReferenceOnMove(), QProToSc::Convert(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), extendRangeReference(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_SingleRefToApi(), ScTokenArray::ReadjustAbsolute3DReferences(), ScRangeData::UpdateGrow(), ScRangeData::UpdateTranspose(), and ScFormulaCell::UpdateTranspose().
|
inline |
Definition at line 92 of file refdata.hxx.
References Flags.
Referenced by ScComplexRefData::Extend(), and lcl_SingleRefToApi().
|
inline |
Definition at line 84 of file refdata.hxx.
References Flags.
Referenced by XclExpFmlaCompImpl::ConvertRefData(), IsDeleted(), lcl_SingleRefToApi(), and ScInterpreter::SingleRefToVars().
|
inline |
Definition at line 67 of file refdata.hxx.
References Flags.
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(), ScInterpreter::PopRangeMatrix(), XclExpFmlaCompImpl::ProcessCellRef(), r1c1_add_row(), ScCompiler::ReplaceDoubleRefII(), ExcelToSc::SetComplRow(), ScCompiler::SetRelNameReference(), ScInterpreter::SingleRefToVars(), sc::SharedFormulaUtil::startListeningAsGroup(), ScFormulaCell::TransposeReference(), ScRangeData::UpdateGrow(), and ScRangeData::UpdateTranspose().
|
inline |
Definition at line 86 of file refdata.hxx.
References Flags.
Referenced by XclExpFmlaCompImpl::GetScTab(), ScConditionEntry::GetValidSrcPos(), IsDeleted(), XclExpFmlaCompImpl::IsRef2D(), lcl_SingleRefToApi(), ScInterpreter::SingleRefToVars(), and ScRangeData::ValidateTabRefs().
|
inline |
Definition at line 69 of file refdata.hxx.
References Flags.
Referenced by ScTokenArray::AdjustReferenceInMovedName(), ScTokenArray::AdjustReferenceOnMove(), ScTokenArray::AdjustSheetLocalNameReferences(), ScCompiler::AdjustSheetLocalNameRelReferences(), QProToSc::Convert(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), ScInterpreter::GetExternalDoubleRef(), XclExpFmlaCompImpl::GetScTab(), ScRangeData::GuessPosition(), HasOneSingleFullyRelativeReference(), HasRelRefIgnoringSheet0Relative(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_HasRelRef(), lcl_SingleRefToApi(), ScRefUpdate::MoveRelWrap(), ScInterpreter::PopExternalSingleRef(), ScTokenArray::ReadjustAbsolute3DReferences(), ScTokenArray::ReferencesSheet(), ScCompiler::ReplaceDoubleRefII(), ScCompiler::SetRelNameReference(), ScInterpreter::SingleRefToVars(), ScFormulaCell::TestTabRefAbs(), ScRangeData::UpdateGrow(), ScFormulaCell::UpdateInsertTabAbs(), ScRangeData::UpdateTranspose(), ScFormulaCell::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 bColDeleted, bColRel, bRelName, bRowDeleted, bRowRel, bTabDeleted, bTabRel, 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.
Referenced by ScGroupTokenConverter::convert(), LotusToSc::Convert(), XclExpFmlaCompImpl::ConvertRefData(), ExcelToSc::ExcRelToScRel(), ScRangeData::GuessPosition(), ScComplexRefData::IncEndRowSticky(), ScComplexRefData::IsEntireCol(), lcl_SingleRefToApi(), lcl_TransposeReference(), ScInterpreter::PopRangeMatrix(), r1c1_add_row(), and ScInterpreter::SingleRefToVars().
bool ScSingleRefData::RowValid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 151 of file refdata.cxx.
References Flags, ScDocument::MaxRow(), and mnRow.
Referenced by Valid(), ValidExternal(), and ScComplexRefData::ValidExternal().
void ScSingleRefData::SetAbsCol | ( | SCCOL | nVal | ) |
Definition at line 59 of file refdata.cxx.
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().
void ScSingleRefData::SetAbsRow | ( | SCROW | nVal | ) |
Definition at line 76 of file refdata.cxx.
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().
void ScSingleRefData::SetAbsTab | ( | SCTAB | nVal | ) |
Definition at line 93 of file refdata.cxx.
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(), Flags, 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(), ScTokenArray::MoveReferenceColReorder(), ScTokenArray::MoveReferenceRowReorder(), ScConsData::OutputToDocument(), ScCompiler::ParseColRowName(), ScCompiler::ParseSingleReference(), 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.
References Flags.
Referenced by ScTokenArray::AdjustReferenceInName(), ExcelToSc::Convert(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), lcl_InvalidateReference(), ScCompiler::ParseSingleReference(), and SetAddress().
|
inline |
Definition at line 64 of file refdata.hxx.
References Flags.
Referenced by ExcelToSc8::Convert(), ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), LotusRangeList::LotusRangeList(), ScConsData::OutputToDocument(), ScCompiler::ParseColRowName(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseSingleReference(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
|
inline |
Definition at line 89 of file refdata.hxx.
References Flags.
Referenced by RangeNameBufferWK3::Add(), ScTokenArray::AdjustReferenceOnMove(), QProToSc::Convert(), ExcelToSc::Convert(), LotusToSc::Convert(), ExcelToSc8::Convert(), ExcelToSc8::ConvertExternName(), ScColumn::CopyFromClip(), ScComplexRefData::Extend(), extendRangeReference(), ScRefTokenHelper::getDoubleRefDataFromToken(), ScCompiler::HandleTableRef(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScHTMLImport::InsertRangeName(), lcl_EnsureAbs3DToken(), LotusRangeList::LotusRangeList(), ScConsData::OutputToDocument(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseSingleReference(), QProToSc::ReadSRD(), LotusToSc::ReadSRD(), ScRangeData::ScRangeData(), ScFormulaDlg::SetReference(), sc::CopyFromClipContext::setSingleCell(), and ScFormulaCell::UpdateTranspose().
void ScSingleRefData::SetRelCol | ( | SCCOL | nVal | ) |
Definition at line 65 of file refdata.cxx.
Referenced by ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndColSticky(), ScDocument::InsertMatrixFormula(), lcl_TransposeReference(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), and ExcelToSc::SetComplCol().
|
inline |
Definition at line 91 of file refdata.hxx.
References Flags.
Referenced by ScComplexRefData::Extend(), ScCompiler::HandleTableRef(), and ScCompiler::SetRelNameReference().
void ScSingleRefData::SetRelRow | ( | SCROW | nVal | ) |
Definition at line 82 of file refdata.cxx.
Referenced by ExcelToSc::ExcRelToScRel(), ExcelToSc8::ExcRelToScRel8(), ScComplexRefData::IncEndRowSticky(), ScDocument::InsertMatrixFormula(), lcl_TransposeReference(), LotusToSc::LotusRelToScRel(), QProToSc::ReadSRD(), and ExcelToSc::SetComplRow().
void ScSingleRefData::SetRelTab | ( | SCTAB | nVal | ) |
Definition at line 99 of file refdata.cxx.
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.
References Flags.
Referenced by ScTokenArray::AdjustReferenceInName(), ExcelToSc::Convert(), ExcelToSc8::Convert(), XclExpFmlaCompImpl::ConvertRefData(), lcl_InvalidateReference(), ScCompiler::ParseSingleReference(), and SetAddress().
|
inline |
Definition at line 66 of file refdata.hxx.
References Flags.
Referenced by ExcelToSc8::Convert(), ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), ScCompiler::HandleColRowName(), ScCompiler::HandleTableRef(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), LotusRangeList::LotusRangeList(), LotusToSc::LotusRelToScRel(), ScConsData::OutputToDocument(), ScCompiler::ParseColRowName(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseSingleReference(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
void ScSingleRefData::SetTabDeleted | ( | bool | bVal | ) |
Definition at line 120 of file refdata.cxx.
References Flags.
Referenced by ExcelToSc::Convert(), ExcelToSc8::Convert(), lcl_InvalidateReference(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseSingleReference(), and SetAddress().
|
inline |
Definition at line 68 of file refdata.hxx.
References Flags.
Referenced by ScComplexRefData::Extend(), RangeNameBufferWK3::FindAbs(), InitAddressRel(), InitFromRefAddress(), ScComplexRefData::InitFromRefAddresses(), ScConsData::OutputToDocument(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseSingleReference(), LotusToSc::ReadSRD(), ScCompiler::ReplaceDoubleRefII(), and ScDocumentImport::setMatrixCells().
SCTAB ScSingleRefData::Tab | ( | ) | const |
Definition at line 254 of file refdata.cxx.
Referenced by ScTokenArray::AddFormulaToken(), ScTokenArray::AdjustSheetLocalNameReferences(), QProToSc::Convert(), ScTokenConversion::ConvertToTokenSequence(), ScChart2DataProvider::createDataSource(), ExcelToSc::ExcRelToScRel(), ScComplexRefData::Extend(), ScExternalRefManager::getRangeNameTokensFromSrcDoc(), XclExpFmlaCompImpl::GetScTab(), ScRangeData::GuessPosition(), ScHTMLImport::InsertRangeName(), XclExpFmlaCompImpl::IsRef2D(), lcl_EnsureAbs3DToken(), lcl_SingleRefToApi(), ScInterpreter::PopRangeMatrix(), XclExpFmlaCompImpl::ProcessExternalRangeRef(), ScTokenArray::ReadjustAbsolute3DReferences(), ScTokenArray::ReferencesSheet(), ScInterpreter::SingleRefToVars(), ScExternalRefManager::storeRangeNameTokens(), ScFormulaCell::TestTabRefAbs(), ScFormulaCell::UpdateInsertTabAbs(), and ScComplexRefData::ValidExternal().
bool ScSingleRefData::TabValid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 167 of file refdata.cxx.
References Flags, ScDocument::GetTableCount(), MAXTAB, and mnTab.
Referenced by Valid().
ScAddress ScSingleRefData::toAbs | ( | const ScDocument & | rDoc, |
const ScAddress & | rPos | ||
) | const |
Definition at line 188 of file refdata.cxx.
References ScDocument::GetSheetLimits(), and toAbs().
ScAddress ScSingleRefData::toAbs | ( | const ScSheetLimits & | rLimits, |
const ScAddress & | rPos | ||
) | const |
Definition at line 193 of file refdata.cxx.
References ScAddress::Col(), Flags, 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(), 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(), ScInterpreter::PopExternalSingleRef(), XclExpFmlaCompImpl::ProcessExternalCellRef(), XclExpFmlaCompImpl::ProcessExternalName(), QProToSc::ReadSRD(), ScInterpreter::ScColumn(), ScInterpreter::ScOffset(), ScInterpreter::ScRow(), ScFormulaReferenceHelper::ShowFormulaReference(), ScFormulaListener::startListening(), sc::SharedFormulaUtil::startListeningAsGroup(), toAbs(), ScComplexRefData::toAbs(), ScRangeData::ValidateTabRefs(), and ScTokenArray::WrapReference().
bool ScSingleRefData::Valid | ( | const ScDocument & | rDoc | ) | const |
Definition at line 130 of file refdata.cxx.
References ColValid(), IsDeleted(), RowValid(), and TabValid().
Referenced by ScRawToken::IsValidReference(), and 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 { ... } ScSingleRefData::@35 |
bool ScSingleRefData::bColDeleted |
Definition at line 42 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bColRel |
Definition at line 41 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bFlag3D |
3D-Ref
Definition at line 47 of file refdata.hxx.
bool ScSingleRefData::bRelName |
Reference derived from RangeName with relative values.
Definition at line 48 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bRowDeleted |
Definition at line 44 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bRowRel |
Definition at line 43 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bTabDeleted |
Definition at line 46 of file refdata.hxx.
Referenced by PutInOrder().
bool ScSingleRefData::bTabRel |
Definition at line 45 of file refdata.hxx.
Referenced by PutInOrder().
struct { ... } ScSingleRefData::Flags |
Referenced by Col(), ColValid(), PutInOrder(), Row(), RowValid(), SetAbsCol(), SetAbsRow(), SetAbsTab(), SetAddress(), SetColDeleted(), SetRelCol(), SetRelRow(), SetRelTab(), SetRowDeleted(), SetTabDeleted(), Tab(), TabValid(), and toAbs().
|
private |
Definition at line 32 of file refdata.hxx.
Referenced by Col(), ColValid(), IncCol(), InitAddress(), operator==(), PutInOrder(), SetAbsCol(), SetAddress(), SetRelCol(), and toAbs().
sal_uInt8 ScSingleRefData::mnFlagValue |
Definition at line 38 of file refdata.hxx.
Referenced by operator==().
|
private |
Definition at line 33 of file refdata.hxx.
Referenced by IncRow(), InitAddress(), operator==(), PutInOrder(), Row(), RowValid(), SetAbsRow(), SetAddress(), SetRelRow(), and toAbs().
|
private |
Definition at line 34 of file refdata.hxx.
Referenced by IncTab(), InitAddress(), operator==(), PutInOrder(), SetAbsTab(), SetAddress(), SetRelTab(), Tab(), TabValid(), toAbs(), and ValidExternal().