Lines Matching refs:rPos
32 void ScSingleRefData::CalcRelFromAbs( const ScAddress& rPos ) in CalcRelFromAbs() argument
34 nRelCol = nCol - rPos.Col(); in CalcRelFromAbs()
35 nRelRow = nRow - rPos.Row(); in CalcRelFromAbs()
36 nRelTab = nTab - rPos.Tab(); in CalcRelFromAbs()
40 void ScSingleRefData::SmartRelAbs( const ScAddress& rPos ) in SmartRelAbs() argument
43 nCol = nRelCol + rPos.Col(); in SmartRelAbs()
45 nRelCol = nCol - rPos.Col(); in SmartRelAbs()
48 nRow = nRelRow + rPos.Row(); in SmartRelAbs()
50 nRelRow = nRow - rPos.Row(); in SmartRelAbs()
53 nTab = nRelTab + rPos.Tab(); in SmartRelAbs()
55 nRelTab = nTab - rPos.Tab(); in SmartRelAbs()
59 void ScSingleRefData::CalcAbsIfRel( const ScAddress& rPos ) in CalcAbsIfRel() argument
63 nCol = nRelCol + rPos.Col(); in CalcAbsIfRel()
69 nRow = nRelRow + rPos.Row(); in CalcAbsIfRel()
75 nTab = nRelTab + rPos.Tab(); in CalcAbsIfRel()
315 ScComplexRefData& ScComplexRefData::Extend( const ScSingleRefData & rRef, const ScAddress & rPos ) in Extend() argument
317 CalcAbsIfRel( rPos); in Extend()
319 aRef.CalcAbsIfRel( rPos); in Extend()
326 aRef.CalcAbsIfRel( rPos); in Extend()
336 aRef.CalcAbsIfRel( rPos); in Extend()
350 Ref2.CalcRelFromAbs( rPos); in Extend()
352 if (Ref1.nTab != rPos.Tab()) in Extend()
365 ScComplexRefData& ScComplexRefData::Extend( const ScComplexRefData & rRef, const ScAddress & rPos ) in Extend() argument
367 return Extend( rRef.Ref1, rPos).Extend( rRef.Ref2, rPos); in Extend()