/trunk/main/sc/source/core/tool/ |
H A D | refdata.cxx | 207 if ( rRef1.Flags.bRelName ) in lcl_putInOrder() 223 rRef1.nCol = nCol2; in lcl_putInOrder() 225 nCol1 = rRef1.nRelCol; in lcl_putInOrder() 228 if ( rRef1.Flags.bRelName && rRef1.Flags.bColRel ) in lcl_putInOrder() 245 rRef1.nRow = nRow2; in lcl_putInOrder() 247 nRow1 = rRef1.nRelRow; in lcl_putInOrder() 250 if ( rRef1.Flags.bRelName && rRef1.Flags.bRowRel ) in lcl_putInOrder() 267 rRef1.nTab = nTab2; in lcl_putInOrder() 269 nTab1 = rRef1.nRelTab; in lcl_putInOrder() 272 if ( rRef1.Flags.bRelName && rRef1.Flags.bTabRel ) in lcl_putInOrder() [all …]
|
H A D | rangenam.cxx | 215 if ( rRef1.IsColRel() && rRef1.nRelCol < nMinCol ) in GuessPosition() 217 if ( rRef1.IsRowRel() && rRef1.nRelRow < nMinRow ) in GuessPosition() 219 if ( rRef1.IsTabRel() && rRef1.nRelTab < nMinTab ) in GuessPosition() 620 if ( rRef1.IsTabRel() ) in TransferTabRef() 621 rRef1.nTab = sal::static_int_cast<SCsTAB>( rRef1.nTab + nPosDiff ); in TransferTabRef() 623 rRef1.nTab = sal::static_int_cast<SCsTAB>( rRef1.nTab + nTabDiff ); in TransferTabRef() 678 if ( rRef1.IsTabRel() && !rRef1.IsTabDeleted() ) in ValidateTabRefs() 681 nMinTab = rRef1.nTab; in ValidateTabRefs() 683 nMaxTab = rRef1.nTab; in ValidateTabRefs() 711 if ( rRef1.IsTabRel() && !rRef1.IsTabDeleted() ) in ValidateTabRefs() [all …]
|
H A D | compiler.cxx | 4151 if ( rRef1.IsColRel() || rRef1.IsRowRel() || rRef1.IsTabRel() ) in SetRelNameReference() 4634 if ( !(rRef1.IsRelName() && rRef1.IsTabRel()) ) in UpdateInsertTab() 4638 rRef1.nTab = rRef1.nRelTab + nOldPosTab; in UpdateInsertTab() 4644 rRef1.nRelTab = rRef1.nTab - nPosTab; in UpdateInsertTab() 4784 if ( !(rRef1.IsRelName() && rRef1.IsTabRel()) ) in UpdateDeleteTab() 4820 rRef1.nRelTab = rRef1.nTab - nPosTab; in UpdateDeleteTab() 4917 rRef1.nRelTab = rRef1.nTab - nPosTab; in UpdateMoveTab() 4951 rRef1.nRelTab = rRef1.nTab - nPosTab; in UpdateMoveTab() 4972 if ( rRef1.IsRelName() && rRef1.IsTabRel() ) in UpdateMoveTab() 4991 rRef1.nRelTab = rRef1.nTab - nPosTab; in UpdateMoveTab() [all …]
|
H A D | token.cxx | 1293 const ScSingleRefData& rRef1 = rCompl.Ref1; in ImplGetReference() local 1295 rRange.aStart = ScAddress( rRef1.nCol, rRef1.nRow, rRef1.nTab ); in ImplGetReference() 1297 bIs = !bValidOnly || (!rRef1.IsDeleted() && !rRef2.IsDeleted()); in ImplGetReference() 1823 ScSingleRefData& rRef1 = static_cast<ScToken*>(pCode[j])->GetSingleRef(); in ReadjustRelative3DReferences() local 1824 if ( rRef1.IsFlag3D() ) in ReadjustRelative3DReferences() 1826 rRef1.CalcAbsIfRel( rOldPos ); in ReadjustRelative3DReferences() 1827 rRef1.CalcRelFromAbs( rNewPos ); in ReadjustRelative3DReferences() 1840 ScSingleRefData& rRef1 = static_cast<ScToken*>(pCode[j])->GetSingleRef(); in ReadjustRelative3DReferences() local 1841 rRef1.CalcAbsIfRel( rOldPos ); in ReadjustRelative3DReferences() 1842 rRef1.CalcRelFromAbs( rNewPos ); in ReadjustRelative3DReferences()
|
/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 250 ScSingleRefData& rRef1 = t->GetSingleRef(); in StartListeningTo() local 252 t->GetDoubleRef().Ref2 : rRef1); in StartListeningTo() 257 if ( rRef1.Valid() ) in StartListeningTo() 295 rRef1.nCol, in StartListeningTo() 296 rRef1.nRow, in StartListeningTo() 297 rRef1.nTab, in StartListeningTo() 342 t->GetDoubleRef().Ref2 : rRef1); in EndListeningTo() 347 if ( rRef1.Valid() ) in EndListeningTo() 2007 ScSingleRefData& rRef1 = p->GetSingleRef(); in lcl_ScDetectiveRefIter_SkipRef() local 2008 if ( rRef1.IsColDeleted() || rRef1.IsRowDeleted() || rRef1.IsTabDeleted() in lcl_ScDetectiveRefIter_SkipRef() [all …]
|
H A D | cell2.cxx | 205 const SingleDoubleRefProvider& rRef1, in lcl_checkRangeDimension() argument 210 aWhich(rRef1.Ref1) == aWhich(rRef2.Ref1) in lcl_checkRangeDimension() 217 const SingleDoubleRefProvider& rRef1, in lcl_checkRangeDimensions() argument 282 const SingleDoubleRefProvider rRef1(*pRef1); in lcl_lessReferenceBy() local 1155 if( !rRef1.IsTabRel() && (SCsTAB) nTable <= rRef1.nTab ) in UpdateInsertTabAbs() 1156 rRef1.nTab++; in UpdateInsertTabAbs() 1178 if( !rRef1.IsTabRel() ) in TestTabRefAbs() 1183 rRef1.nTab = aPos.Tab(); in TestTabRefAbs() 1221 if ( rRef1.IsColRel() && rRef1.IsRowRel() ) in TransposeReference() 1229 nTemp = rRef1.nRelCol; in TransposeReference() [all …]
|
H A D | conditio.cxx | 76 if ( rRef1.IsColRel() || rRef1.IsRowRel() || rRef1.IsTabRel() ) in lcl_HasRelRef() 480 ScSingleRefData& rRef1 = p->GetSingleRef(); in lcl_CondUpdateInsertTab() local 481 if ( !rRef1.IsTabRel() && nInsTab <= rRef1.nTab ) in lcl_CondUpdateInsertTab() 483 rRef1.nTab += 1; in lcl_CondUpdateInsertTab() 484 rRef1.nRelTab = rRef1.nTab - nPosTab; in lcl_CondUpdateInsertTab() 1080 ScSingleRefData& rRef1 = t->GetSingleRef(); in GetValidSrcPos() local 1081 if ( rRef1.IsTabRel() && !rRef1.IsTabDeleted() ) in GetValidSrcPos() 1083 if ( rRef1.nTab < nMinTab ) in GetValidSrcPos() 1084 nMinTab = rRef1.nTab; in GetValidSrcPos() 1085 if ( rRef1.nTab > nMaxTab ) in GetValidSrcPos() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdtrans.cxx | 166 long mx=rRef2.X()-rRef1.X(); in MirrorPoint() 167 long my=rRef2.Y()-rRef1.Y(); in MirrorPoint() 169 long dx=rRef1.X()-rPnt.X(); in MirrorPoint() 172 long dy=rRef1.Y()-rPnt.Y(); in MirrorPoint() 175 long dx1=rPnt.X()-rRef1.X(); in MirrorPoint() 177 rPnt.X()=rRef1.X()+dy1; in MirrorPoint() 178 rPnt.Y()=rRef1.Y()+dx1; in MirrorPoint() 182 rPnt.X()=rRef1.X()-dy1; in MirrorPoint() 183 rPnt.Y()=rRef1.Y()-dx1; in MirrorPoint() 188 rPnt-=rRef1; in MirrorPoint() [all …]
|
H A D | svdglue.cxx | 198 void SdrGluePoint::Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj) in Mirror() argument 200 Point aPt(rRef2); aPt-=rRef1; in Mirror() 202 Mirror(rRef1,rRef2,nWink,pObj); in Mirror() 205 void SdrGluePoint::Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj) in Mirror() argument 208 MirrorPoint(aPt,rRef1,rRef2); in Mirror() 383 void SdrGluePointList::Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj) in Mirror() argument 385 Point aPt(rRef2); aPt-=rRef1; in Mirror() 387 Mirror(rRef1,rRef2,nWink,pObj); in Mirror() 390 void SdrGluePointList::Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* … in Mirror() argument 394 GetObject(nNum)->Mirror(rRef1,rRef2,nWink,pObj); in Mirror()
|
H A D | svdotxtr.cxx | 301 void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2) in NbcMirror() argument 307 (rRef1.X()==rRef2.X() || rRef1.Y()==rRef2.Y() || in NbcMirror() 308 Abs(rRef1.X()-rRef2.X())==Abs(rRef1.Y()-rRef2.Y()))) { in NbcMirror() 315 MirrorPoint(aPol[i],rRef1,rRef2); in NbcMirror() 350 NbcMirrorGluePoints(rRef1,rRef2); in NbcMirror()
|
H A D | svdogrp.cxx | 507 void SdrObjGroup::NbcMirror(const Point& rRef1, const Point& rRef2) in NbcMirror() argument 510 MirrorPoint(aRefPoint,rRef1,rRef2); // fehlende Implementation in SvdEtc !!! in NbcMirror() 515 pObj->NbcMirror(rRef1,rRef2); in NbcMirror() 517 NbcMirrorGluePoints(rRef1,rRef2); in NbcMirror() 686 void SdrObjGroup::Mirror(const Point& rRef1, const Point& rRef2) in Mirror() argument 690 MirrorPoint(aRefPoint,rRef1,rRef2); // fehlende Implementation in SvdEtc !!! in Mirror() 697 if (pObj->IsEdgeObj()) pObj->Mirror(rRef1,rRef2); in Mirror() 701 if (!pObj->IsEdgeObj()) pObj->Mirror(rRef1,rRef2); in Mirror() 703 NbcMirrorGluePoints(rRef1,rRef2); in Mirror()
|
H A D | svdovirt.cxx | 397 void SdrVirtObj::NbcMirror(const Point& rRef1, const Point& rRef2) in NbcMirror() argument 399 rRefObj.NbcMirror(rRef1-aAnchor,rRef2-aAnchor); in NbcMirror() 443 void SdrVirtObj::Mirror(const Point& rRef1, const Point& rRef2) in Mirror() argument 446 rRefObj.Mirror(rRef1-aAnchor,rRef2-aAnchor); in Mirror()
|
H A D | svdobj.cxx | 1521 void SdrObject::NbcMirror(const Point& rRef1, const Point& rRef2) in NbcMirror() argument 1524 aOutRect.Move(-rRef1.X(),-rRef1.Y()); in NbcMirror() 1526 long dx=rRef2.X()-rRef1.X(); in NbcMirror() 1527 long dy=rRef2.Y()-rRef1.Y(); in NbcMirror() 1545 aOutRect.Move(rRef1.X(),rRef1.Y()); in NbcMirror() 1548 NbcMirrorGluePoints(rRef1,rRef2); in NbcMirror() 1595 void SdrObject::Mirror(const Point& rRef1, const Point& rRef2) in Mirror() argument 1599 NbcMirror(rRef1,rRef2); in Mirror() 2392 void SdrObject::NbcMirrorGluePoints(const Point& rRef1, const Point& rRef2) in NbcMirrorGluePoints() argument 2399 pGPL->Mirror(rRef1,rRef2,this); in NbcMirrorGluePoints()
|
H A D | svdocirc.cxx | 878 void SdrCircObj::NbcMirror(const Point& rRef1, const Point& rRef2) in NbcMirror() argument 911 SdrTextObj::NbcMirror(rRef1,rRef2); in NbcMirror() 913 MirrorPoint(aTmpPt1,rRef1,rRef2); in NbcMirror() 914 MirrorPoint(aTmpPt2,rRef1,rRef2); in NbcMirror()
|
/trunk/main/svx/inc/svx/ |
H A D | svdtrans.hxx | 82 void MirrorRect(Rectangle& rRect, const Point& rRef1, const Point& rRef2, FASTBOOL bNoJustify); // … 83 void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2); 84 void MirrorPoly(Polygon& rPoly, const Point& rRef1, const Point& rRef2); 85 void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2); 86 void MirrorPoly(PolyPolygon& rPoly, const Point& rRef1, const Point& rRef2); 87 void MirrorXPoly(XPolyPolygon& rPoly, const Point& rRef1, const Point& rRef2);
|
H A D | svdglue.hxx | 107 void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj); 108 void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj); 137 void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj); 138 …void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pO…
|
H A D | svdedtv.hxx | 249 void MirrorMarkedObj(const Point& rRef1, const Point& rRef2, bool bCopy=false); 264 …void MirrorAllMarked(const Point& rRef1, const Point& rRef2, sal_Bool bCopy=sal_False) { MirrorMar… in MirrorAllMarked() argument
|
H A D | svdogrp.hxx | 94 virtual void Mirror(const Point& rRef1, const Point& rRef2); 104 virtual void NbcMirror(const Point& rRef1, const Point& rRef2);
|
H A D | svdovirt.hxx | 111 virtual void NbcMirror(const Point& rRef1, const Point& rRef2); 117 virtual void Mirror(const Point& rRef1, const Point& rRef2);
|
H A D | svdobj.hxx | 769 virtual void NbcMirror(const Point& rRef1, const Point& rRef2); 775 virtual void Mirror(const Point& rRef1, const Point& rRef2); 932 void NbcMirrorGluePoints(const Point& rRef1, const Point& rRef2);
|
/trunk/main/sc/source/filter/excel/ |
H A D | xelink.cxx | 479 …virtual void StoreCellRange( const ScSingleRefData& rRef1, const ScSingleRefData& rRef2 ) =… 482 …Range( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef1, const ScSingleRef… 527 … virtual void StoreCellRange( const ScSingleRefData& rRef1, const ScSingleRefData& rRef2 ); 530 …Range( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef1, const ScSingleRef… 597 … virtual void StoreCellRange( const ScSingleRefData& rRef1, const ScSingleRefData& rRef2 ); 600 …Range( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef1, const ScSingleRef… 2155 void XclExpLinkManagerImpl8::StoreCellRange( const ScSingleRefData& rRef1, const ScSingleRefData& r… in StoreCellRange() argument 2157 if( !rRef1.IsDeleted() && !rRef2.IsDeleted() && (rRef1.nTab >= 0) && (rRef2.nTab >= 0) ) in StoreCellRange() 2160 SCTAB nFirstScTab = static_cast< SCTAB >( rRef1.nTab ); in StoreCellRange() 2163 static_cast< SCCOL >( rRef1.nCol ), static_cast< SCROW >( rRef1.nRow ), 0, in StoreCellRange() [all …]
|
H A D | xechart.cxx | 956 const ScSingleRefData& rRef1 = rComplexRef.Ref1; in ConvertDataSequence() local 958 for( SCsTAB nScTab = rRef1.nTab; nScTab <= rRef2.nTab; ++nScTab ) in ConvertDataSequence() 961 if( bSplitToColumns && (rRef1.nCol < rRef2.nCol) && (rRef1.nRow < rRef2.nRow) ) in ConvertDataSequence() 962 for( SCsCOL nScCol = rRef1.nCol; nScCol <= rRef2.nCol; ++nScCol ) in ConvertDataSequence() 963 … lclAddDoubleRefData( aArray, *pToken, nScTab, nScCol, rRef1.nRow, nScTab, nScCol, rRef2.nRow ); in ConvertDataSequence() 965 …lclAddDoubleRefData( aArray, *pToken, nScTab, rRef1.nCol, rRef1.nRow, nScTab, rRef2.nCol, rRef2.nR… in ConvertDataSequence() 967 sal_uInt32 nTabs = static_cast< sal_uInt32 >( rRef2.nTab - rRef1.nTab + 1 ); in ConvertDataSequence() 968 sal_uInt32 nCols = static_cast< sal_uInt32 >( rRef2.nCol - rRef1.nCol + 1 ); in ConvertDataSequence() 969 sal_uInt32 nRows = static_cast< sal_uInt32 >( rRef2.nRow - rRef1.nRow + 1 ); in ConvertDataSequence()
|
/trunk/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 547 register const ScSingleRefData& rRef1 = rCRD.Ref1; in Add() local 550 if( rRef1.nCol == rRef2.nCol && rRef1.nRow == rRef2.nRow && rRef1.nTab == rRef2.nTab ) in Add()
|
/trunk/main/oox/source/xls/ |
H A D | formulaparser.cxx | 545 …void convertReference( ComplexReference& orApiRef, const BinSingleRef2d& rRef1, con… 547 …void convertReference2d( ComplexReference& orApiRef, const BinSingleRef2d& rRef1, c… 549 …rence& orApiRef, const LinkSheetRange& rSheetRange, const BinSingleRef2d& rRef1, const BinSingleRe… 1193 void FormulaParserImpl::convertReference( ComplexReference& orApiRef, const BinSingleRef2d& rRef1, … in convertReference() argument 1195 convertReference( orApiRef.Reference1, rRef1, bDeleted, bRelativeAsOffset ); in convertReference() 1199 …if( !bDeleted && !rRef1.mbColRel && !rRef2.mbColRel && (orApiRef.Reference1.Column == 0) && (orApi… in convertReference() 1201 …if( !bDeleted && !rRef1.mbRowRel && !rRef2.mbRowRel && (orApiRef.Reference1.Row == 0) && (orApiRef… in convertReference() 1211 void FormulaParserImpl::convertReference2d( ComplexReference& orApiRef, const BinSingleRef2d& rRef1… in convertReference2d() argument 1215 convertReference( orApiRef, rRef1, rRef2, bDeleted, bRelativeAsOffset ); in convertReference2d() 1226 …rence& orApiRef, const LinkSheetRange& rSheetRange, const BinSingleRef2d& rRef1, const BinSingleRe… in convertReference3d() argument [all …]
|
/trunk/main/sw/inc/ |
H A D | dcontact.hxx | 333 virtual void NbcMirror(const Point& rRef1, const Point& rRef2); 338 virtual void Mirror(const Point& rRef1, const Point& rRef2);
|