/aoo41x/main/sc/source/core/tool/ |
H A D | refupdat.cxx | 788 rRef.Ref2.SetFlag3D( rPos.Tab() != rRef.Ref2.nTab ); in Move() 804 || oldCol2 != rRef.Ref2.nCol in Move() 824 if( rRef.Ref2.IsColRel() ) in MoveRelWrap() 826 rRef.Ref2.nCol = rRef.Ref2.nRelCol + rPos.Col(); in MoveRelWrap() 834 if( rRef.Ref2.IsRowRel() ) in MoveRelWrap() 836 rRef.Ref2.nRow = rRef.Ref2.nRelRow + rPos.Row(); in MoveRelWrap() 845 if( rRef.Ref2.IsTabRel() ) in MoveRelWrap() 847 rRef.Ref2.nTab = rRef.Ref2.nRelTab + rPos.Tab(); in MoveRelWrap() 891 DoTranspose( rRef.Ref2.nCol, rRef.Ref2.nRow, rRef.Ref2.nTab, pDoc, rSource, rDest ); in UpdateTranspose() 923 rRef.Ref2.nCol = sal::static_int_cast<SCsCOL>( rRef.Ref2.nCol + nGrowX ); in UpdateGrow() [all …]
|
H A D | reftokenhelper.cxx | 212 aData.Ref2.nCol = rRange.aEnd.Col(); in getTokenFromRange() 213 aData.Ref2.nRow = rRange.aEnd.Row(); in getTokenFromRange() 214 aData.Ref2.nTab = rRange.aEnd.Tab(); in getTokenFromRange() 215 aData.Ref2.SetColRel(false); in getTokenFromRange() 216 aData.Ref2.SetRowRel(false); in getTokenFromRange() 217 aData.Ref2.SetTabRel(false); in getTokenFromRange() 220 aData.Ref2.SetFlag3D(aData.Ref1.nTab != aData.Ref2.nTab); in getTokenFromRange() 403 if (aData.Ref1.nTab != aOldData.Ref1.nTab || aData.Ref2.nTab != aOldData.Ref2.nTab) in join() 418 aData.Ref1.nCol, aData.Ref2.nCol, aOldData.Ref1.nCol, aOldData.Ref2.nCol, in join() 424 aData.Ref1.nRow, aData.Ref2.nRow, aOldData.Ref1.nRow, aOldData.Ref2.nRow, in join() [all …]
|
H A D | refdata.cxx | 294 lcl_putInOrder( Ref1, Ref2); in PutInOrder() 328 if (aRef.nCol > Ref2.nCol || aRef.nRow > Ref2.nRow || aRef.nTab > Ref2.nTab) in Extend() 331 Ref2.SetFlag3D( true); in Extend() 334 Ref2.SetFlag3D( false); in Extend() 342 if (Ref2.nCol == aRef.nCol) in Extend() 344 if (Ref2.nRow == aRef.nRow) in Extend() 348 if (Ref2.nTab == aRef.nTab) in Extend() 350 Ref2.CalcRelFromAbs( rPos); in Extend() 355 if (Ref2.nTab != Ref1.nTab) in Extend() 356 Ref2.SetFlag3D( true); in Extend() [all …]
|
H A D | compiler.cxx | 923 if (aRef.Ref2.IsFlag3D() || aRef.Ref2.nTab != aRef.Ref1.nTab) in MakeRefStrImpl() 1423 if( aRef.Ref2.IsColDeleted() || aRef.Ref2.IsRowDeleted() ) in MakeRefStr() 1624 if( aRef.Ref2.IsColDeleted() || aRef.Ref2.IsRowDeleted() ) in MakeRefStr() 1750 if (aRef.Ref2.IsColDeleted() || aRef.Ref2.IsRowDeleted()) in makeExternalRefStr() 4460 bRelRef = rRef.Ref2.IsColRel() || rRef.Ref2.IsRowRel() || in UpdateNameReference() 4537 rRef.Ref2.nCol = aBkp.Ref2.nCol; in UpdateSharedFormulaReference() 4538 rRef.Ref2.nRelCol = aBkp.Ref2.nRelCol; in UpdateSharedFormulaReference() 4543 rRef.Ref2.nRow = aBkp.Ref2.nRow; in UpdateSharedFormulaReference() 4544 rRef.Ref2.nRelRow = aBkp.Ref2.nRelRow; in UpdateSharedFormulaReference() 4549 rRef.Ref2.nTab = aBkp.Ref2.nTab; in UpdateSharedFormulaReference() [all …]
|
H A D | token.cxx | 205 aRef.Ref2 = rRef; in SetSingleReference() 241 extref.aRef.Ref2 = rRef; in SetExternalSingleRef() 487 aRef.Ref2 = aRef.Ref1; in lcl_ScToken_InitDoubleRef() 510 aTemp1.Ref2 = aTemp1.Ref1; in TextEqual() 534 aTemp1.Ref2.nCol == aTemp2.Ref2.nCol && in TextEqual() 535 aTemp1.Ref2.nRow == aTemp2.Ref2.nRow && in TextEqual() 536 aTemp1.Ref2.nTab == aTemp2.Ref2.nTab && in TextEqual() 537 aTemp1.Ref2.bFlags == aTemp2.Ref2.bFlags; in TextEqual() 614 aRef.Ref2.SetFlag3D( false); in ExtendRangeReference() 954 return maDoubleRef.Ref2; in GetSingleRef2() [all …]
|
H A D | rangenam.cxx | 224 ScSingleRefData& rRef2 = t->GetDoubleRef().Ref2; in GuessPosition() 302 (!rRef.Ref2.IsColRel() && !rRef.Ref2.IsRowRel() && in UpdateTranspose() 303 (!rRef.Ref2.IsFlag3D() || !rRef.Ref2.IsTabRel())))) in UpdateTranspose() 330 (!rRef.Ref2.IsColRel() && !rRef.Ref2.IsRowRel() && in UpdateGrow() 331 (!rRef.Ref2.IsFlag3D() || !rRef.Ref2.IsTabRel())))) in UpdateGrow() 626 ScSingleRefData& rRef2 = t->GetDoubleRef().Ref2; in TransferTabRef() 687 ScSingleRefData& rRef2 = t->GetDoubleRef().Ref2; in ValidateTabRefs() 715 ScSingleRefData& rRef2 = t->GetDoubleRef().Ref2; in ValidateTabRefs()
|
H A D | interpr4.cxx | 1115 ValidateRef( rRef.Ref2); in ValidateRef() 1673 aRef.Ref2.nCol = nCol2; in PushDoubleRef() 1674 aRef.Ref2.nRow = nRow2; in PushDoubleRef() 1675 aRef.Ref2.nTab = nTab2; in PushDoubleRef() 3122 nCol2 = aRefData.Ref2.nCol; in ScColRowNameAuto() 3123 nRow2 = aRefData.Ref2.nRow; in ScColRowNameAuto() 3141 aRefData.Ref2.nCol = nStartCol; in ScColRowNameAuto() 3144 aRefData.Ref2.nRow = nRow2; in ScColRowNameAuto() 3164 aRefData.Ref2.nRow = nStartRow; in ScColRowNameAuto() 3167 aRefData.Ref2.nCol = nCol2; in ScColRowNameAuto() [all …]
|
H A D | consoli.cxx | 749 aCRef.Ref2.SetColRel(sal_True); aCRef.Ref2.SetRowRel(sal_True); aCRef.Ref2.SetTabRel(sal_True); in OutputToDocument() 795 aCRef.Ref1.nTab = aCRef.Ref2.nTab = nTab; in OutputToDocument() 796 aCRef.Ref1.nCol = aCRef.Ref2.nCol = sal::static_int_cast<SCsCOL>( nCol+nArrX ); in OutputToDocument() 798 aCRef.Ref2.nRow = nRow+nArrY+nNeeded-1; in OutputToDocument()
|
/aoo41x/main/sc/inc/ |
H A D | refdata.hxx | 160 ScSingleRefData Ref2; member 163 { Ref1.InitFlags(); Ref2.InitFlags(); } in InitFlags() 169 Ref2.InitMembers(); in InitMembers() 175 Ref2.InitAddress( rRange.aEnd ); in InitRange() 180 Ref2.InitAddressRel( rRange.aEnd, rPos ); in InitRangeRel() 186 Ref2.InitAddress( nCol2, nRow2, nTab2 ); in InitRange() 197 { return Ref1.Valid() && Ref2.Valid(); } in Valid() 205 { return Ref1 == r.Ref1 && Ref2 == r.Ref2; } in operator ==() 216 Ref2.nCol >= 0 && Ref2.nCol <= MAXCOL && in ValidExternal() 217 Ref2.nRow >= 0 && Ref2.nRow <= MAXROW && in ValidExternal() [all …]
|
H A D | token.hxx | 150 aDoubleRef.Ref2 = r; in ScDoubleRefToken() 459 aDub.Ref1 = aDub.Ref2 = *pS; in SingleDoubleRefModifier() 471 aDub.Ref1 = aDub.Ref2 = *pS; in SingleDoubleRefModifier() 487 const ScSingleRefData& Ref2; member in SingleDoubleRefProvider 491 Ref2( r.GetType() == formula::svDoubleRef ? in SingleDoubleRefProvider() 492 r.GetDoubleRef().Ref2 : Ref1 ) in SingleDoubleRefProvider() 495 : Ref1( r ), Ref2( r ) in SingleDoubleRefProvider() 498 : Ref1( r.Ref1 ), Ref2( r.Ref2 ) in SingleDoubleRefProvider()
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | excform8.cxx | 487 ScSingleRefData &rSRef2 = aCRD.Ref2; in Convert() 570 aCRD.Ref1.nRelTab = aCRD.Ref2.nRelTab = 0; in Convert() 572 aCRD.Ref2.SetTabRel( sal_True ); in Convert() 574 aCRD.Ref2.SetFlag3D( bRangeName ); in Convert() 788 ScSingleRefData &rR2 = aCRD.Ref2; in Convert() 1016 ScSingleRefData &rSRef2 = aCRD.Ref2; in Convert() 1090 aCRD.Ref2.SetTabRel( sal_True ); in Convert() 1092 aCRD.Ref2.SetFlag3D( bRangeName ); in Convert() 1143 aCRD.Ref2.nCol = aSRD.nCol; in Convert() 1144 aCRD.Ref2.nRow = aSRD.nRow; in Convert() [all …]
|
H A D | excform.cxx | 639 aCRD.Ref2.SetTabRel( sal_True ); in Convert() 641 aCRD.Ref2.SetFlag3D( bRangeName ); in Convert() 809 ScSingleRefData& rR2 = aCRD.Ref2; in Convert() 1137 aCRD.Ref2.SetTabRel( sal_True ); in Convert() 1139 aCRD.Ref2.SetFlag3D( bRangeName ); in Convert() 1215 aCRD.Ref2.nCol = aSRD.nCol; in Convert() 1216 aCRD.Ref2.nRow = aSRD.nRow; in Convert() 1219 aCRD.Ref2.SetFlag3D( b3D ); in Convert() 1262 ScSingleRefData &rR2 = aCRD.Ref2; in Convert() 1869 ScSingleRefData &rSRD = rCRD.Ref2; in SetComplCol() [all …]
|
H A D | frmbase.cxx | 114 if( a.Ref1.nTab != a.Ref2.nTab ) in Append() 135 SCsCOL& rCol2 = a.Ref2.nCol; in Append() 141 SCsROW& rRow2 = a.Ref2.nRow; in Append() 151 DBG_ASSERT( a.Ref1.nTab == a.Ref2.nTab, in Append()
|
H A D | tokstack.cxx | 450 aScComplexRefData.Ref2 = *ppP_RefTr[ n + 1 ]; in GetElement() 750 ppP_RefTr[ nP_RefTrAkt ] = new ScSingleRefData( rTr.Ref2 ); in Store() 752 *ppP_RefTr[ nP_RefTrAkt ] = rTr.Ref2; in Store()
|
H A D | xeformula.cxx | 1789 return lclIsRefRel2D( rRefData.Ref1 ) || lclIsRefRel2D( rRefData.Ref2 ); in lclIsRefRel2D() 1794 return lclIsRefDel2D( rRefData.Ref1 ) || lclIsRefDel2D( rRefData.Ref2 ); in lclIsRefDel2D() 1816 return IsRef2D( rRefData.Ref1 ) && IsRef2D( rRefData.Ref2 ); in IsRef2D() 1883 ConvertRefData( rRefData.Ref2, rXclRange.maLast, bNatLangRef, bTruncMaxCol, bTruncMaxRow ); in ConvertRefData() 1979 GetScTab( aRefData.Ref1 ), GetScTab( aRefData.Ref2 ), GetNewRefLogEntry() ); in ProcessRangeRef() 2052 … sal_uInt16 nTabSpan = static_cast< sal_uInt16 >( aRefData.Ref2.nTab - aRefData.Ref1.nTab + 1 ); in ProcessExternalRangeRef() 2577 lclInitOwnTab( aRef.Ref2, rScRange.aEnd, nCurrScTab, b3DRefOnly ); in lclPutRangeToTokenArray()
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | chart2uno.cxx | 555 SCCOLROW n2 = aData.Ref2.nCol; in glueState() 569 n2 = aData.Ref2.nRow; in glueState() 954 setRelative(aData.Ref2); in splitRangeToken() 957 aData.Ref2.SetFlag3D(true); in splitRangeToken() 1338 aData.Ref2.SetColRel(false); in lcl_addUpperLeftCornerIfMissing() 1339 aData.Ref2.SetRowRel(false); in lcl_addUpperLeftCornerIfMissing() 1340 aData.Ref2.SetTabRel(false); in lcl_addUpperLeftCornerIfMissing() 1344 aData.Ref2.nCol = nMaxCol; in lcl_addUpperLeftCornerIfMissing() 1345 aData.Ref2.nRow = nMaxRow; in lcl_addUpperLeftCornerIfMissing() 1346 aData.Ref2.nTab = nTab; in lcl_addUpperLeftCornerIfMissing() [all …]
|
H A D | funcuno.cxx | 396 aRef.Ref2.nTab = 0; in lcl_AddRef() 399 aRef.Ref2.nCol = (SCCOL) (nColCount - 1); in lcl_AddRef() 400 aRef.Ref2.nRow = (SCROW) (nStartRow + nRowCount - 1); in lcl_AddRef()
|
/aoo41x/main/sc/source/core/data/ |
H A D | conditio.cxx | 489 ScSingleRefData& rRef2 = p->GetDoubleRef().Ref2; in lcl_CondUpdateInsertTab() 992 aProv.Ref2.IsColRel() || aProv.Ref2.IsRowRel() || aProv.Ref2.IsTabRel() ) in SourceChanged() 1026 if ( aProv.Ref2.IsColRel() ) in SourceChanged() 1027 nCol1 = rChanged.Col() - aProv.Ref2.nRelCol; in SourceChanged() 1030 bHit &= ( rChanged.Col() <= aProv.Ref2.nCol ); in SourceChanged() 1033 if ( aProv.Ref2.IsRowRel() ) in SourceChanged() 1034 nRow1 = rChanged.Row() - aProv.Ref2.nRelRow; in SourceChanged() 1037 bHit &= ( rChanged.Row() <= aProv.Ref2.nRow ); in SourceChanged() 1040 if ( aProv.Ref2.IsTabRel() ) in SourceChanged() 1041 nTab1 = rChanged.Tab() - aProv.Ref2.nRelTab; in SourceChanged() [all …]
|
H A D | cell2.cxx | 211 && aWhich(rRef1.Ref2) == aWhich(rRef2.Ref2); in lcl_checkRangeDimension() 299 return aWhich(rRef2.Ref1) - aWhich(rRef1.Ref2) == 1; in lcl_isImmediatelyFollowing() 327 SingleDoubleRefProvider(*rReferences.back()).Ref2); in lcl_fillRangeFromRefList() 655 r.aEnd.Set( aProv.Ref2.nCol, in HasOneReference() 656 aProv.Ref2.nRow, in HasOneReference() 657 aProv.Ref2.nTab ); in HasOneReference() 726 t->GetDoubleRef().Ref2.IsRelName()) ) in HasRelNameReference() 1159 ScSingleRefData& rRef2 = p->GetDoubleRef().Ref2; in UpdateInsertTabAbs() 1187 ScSingleRefData& rRef2 = p->GetDoubleRef().Ref2; in TestTabRefAbs() 1224 ScSingleRefData& rRef2 = (bDouble ? t->GetDoubleRef().Ref2 : rRef1); in TransposeReference()
|
H A D | cell.cxx | 252 t->GetDoubleRef().Ref2 : rRef1); in StartListeningTo() 342 t->GetDoubleRef().Ref2 : rRef1); in EndListeningTo() 2013 ScSingleRefData& rRef2 = p->GetDoubleRef().Ref2; in lcl_ScDetectiveRefIter_SkipRef() 2040 rRange.aEnd.Set( aProv.Ref2.nCol, aProv.Ref2.nRow, aProv.Ref2.nTab ); in GetNextRef()
|
/aoo41x/main/sc/source/filter/inc/ |
H A D | formel.hxx | 130 r.Ref2.nCol, r.Ref2.nRow, r.Ref2.nTab ), in Append()
|
/aoo41x/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 444 pSingRef = &aComplRef.Ref2; in LotusRangeList() 496 pSingRef = &aComplRef.Ref2; in Append() 548 register const ScSingleRefData& rRef2 = rCRD.Ref2; in Add() 618 pRef = &pFind->aScComplexRefDataRel.Ref2; in FindAbs()
|
H A D | lotform.cxx | 425 aCRD.Ref2 = rR; in Convert() 511 LotusRelToScRel( nColE, nRowE, aCRD.Ref2 ); in Convert() 518 rR.nCol, rR.nRow, aCRD.Ref2.nCol, aCRD.Ref2.nRow ); in Convert()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svddrgmt.cxx | 1077 pH2->SetPos(Ref2()+aDif); in MoveSdrDrag() 1168 Ref2()=DragStat().GetNow(); in EndSdrDrag() 1173 Ref2()+=DragStat().GetNow()-DragStat().GetStart(); in EndSdrDrag() 2608 DragStat().Ref2()=pH2->GetPos(); in BeginSdrDrag() 2610 Ref2()=pH2->GetPos(); in BeginSdrDrag() 2716 DragStat().Ref2() = pIAOHandle->Get2ndPos(); in BeginSdrDrag() 2794 pIAOHandle->Set2ndPos(DragStat().Ref2() + aMoveDiff); in MoveSdrDrag() 2802 pIAOHandle->Set2ndPos(DragStat().Ref2() + aMoveDiff); in MoveSdrDrag() 2820 Ref2() = pIAOHandle->Get2ndPos(); in EndSdrDrag() 2832 pIAOHandle->Set2ndPos(DragStat().Ref2()); in CancelSdrDrag() [all …]
|
/aoo41x/main/sc/source/filter/qpro/ |
H A D | qproform.cxx | 320 ReadSRD( aCRD.Ref2, nPage, nCol, nRelBits ); in Convert() 322 if (aCRD.Ref1.IsFlag3D() && aCRD.Ref1.nTab == aCRD.Ref2.nTab && in Convert() 323 aCRD.Ref1.IsTabRel() == aCRD.Ref2.IsTabRel()) in Convert() 324 aCRD.Ref2.SetFlag3D( sal_False); in Convert()
|