/aoo42x/main/basegfx/inc/basegfx/range/ |
H A D | basicrange.hxx | 58 mnMaximum(rRange.mnMaximum) in BasicRange() 108 if(rRange.isEmpty()) in isInside() 114 return (rRange.mnMinimum >= mnMinimum) && (rRange.mnMaximum <= mnMaximum); in isInside() 127 if(rRange.isEmpty()) in overlaps() 133 return !((rRange.mnMaximum < mnMinimum) || (rRange.mnMinimum > mnMaximum)); in overlaps() 143 return ((rRange.mnMaximum > mnMinimum) && (rRange.mnMinimum < mnMaximum)); in overlapsMore() 148 return (mnMinimum == rRange.mnMinimum && mnMaximum == rRange.mnMaximum); in operator ==() 153 return (mnMinimum != rRange.mnMinimum || mnMaximum != rRange.mnMaximum); in operator !=() 158 mnMinimum = rRange.mnMinimum; in operator =() 159 mnMaximum = rRange.mnMaximum; in operator =() [all …]
|
H A D | b3drange.hxx | 83 B3DRange(const B3DRange& rRange) in B3DRange() argument 84 : maRangeX(rRange.maRangeX), in B3DRange() 85 maRangeY(rRange.maRangeY), in B3DRange() 86 maRangeZ(rRange.maRangeZ) in B3DRange() 111 && maRangeY == rRange.maRangeY in operator ==() 112 && maRangeZ == rRange.maRangeZ); in operator ==() 118 || maRangeY != rRange.maRangeY in operator !=() 119 || maRangeZ != rRange.maRangeZ); in operator !=() 124 maRangeX = rRange.maRangeX; in operator =() 125 maRangeY = rRange.maRangeY; in operator =() [all …]
|
H A D | b2drange.hxx | 76 B2DRange(const B2DRange& rRange) in B2DRange() argument 77 : maRangeX(rRange.maRangeX), in B2DRange() 78 maRangeY(rRange.maRangeY) in B2DRange() 100 return (maRangeX == rRange.maRangeX in operator ==() 101 && maRangeY == rRange.maRangeY); in operator ==() 107 || maRangeY != rRange.maRangeY); in operator !=() 112 maRangeX = rRange.maRangeX; in operator =() 113 maRangeY = rRange.maRangeY; in operator =() 233 void expand(const B2DRange& rRange) in expand() argument 235 maRangeX.expand(rRange.maRangeX); in expand() [all …]
|
H A D | b3irange.hxx | 80 B3IRange(const B3IRange& rRange) in B3IRange() argument 81 : maRangeX(rRange.maRangeX), in B3IRange() 82 maRangeY(rRange.maRangeY), in B3IRange() 83 maRangeZ(rRange.maRangeZ) in B3IRange() 102 && maRangeY == rRange.maRangeY in operator ==() 103 && maRangeZ == rRange.maRangeZ); in operator ==() 109 || maRangeY != rRange.maRangeY in operator !=() 110 || maRangeZ != rRange.maRangeZ); in operator !=() 115 maRangeX = rRange.maRangeX; in operator =() 116 maRangeY = rRange.maRangeY; in operator =() [all …]
|
H A D | b1drange.hxx | 55 B1DRange(const B1DRange& rRange) in B1DRange() argument 56 : maRange(rRange.maRange) in B1DRange() 74 return (maRange == rRange.maRange); in operator ==() 79 return (maRange != rRange.maRange); in operator !=() 84 maRange = rRange.maRange; in operator =() 88 bool equal(const B1DRange& rRange) const in equal() 90 return (maRange.equal(rRange.maRange)); in equal() 138 void expand(const B1DRange& rRange) in expand() argument 140 maRange.expand(rRange.maRange); in expand() 143 void intersect(const B1DRange& rRange) in intersect() argument [all …]
|
H A D | b2irange.hxx | 73 B2IRange(const B2IRange& rRange) in B2IRange() argument 74 : maRangeX(rRange.maRangeX), in B2IRange() 75 maRangeY(rRange.maRangeY) in B2IRange() 92 return (maRangeX == rRange.maRangeX in operator ==() 93 && maRangeY == rRange.maRangeY); in operator ==() 99 || maRangeY != rRange.maRangeY); in operator !=() 104 maRangeX = rRange.maRangeX; in operator =() 105 maRangeY = rRange.maRangeY; in operator =() 201 void expand(const B2IRange& rRange) in expand() argument 203 maRangeX.expand(rRange.maRangeX); in expand() [all …]
|
H A D | b1irange.hxx | 53 B1IRange(const B1IRange& rRange) in B1IRange() argument 54 : maRange(rRange.maRange) in B1IRange() 70 return (maRange == rRange.maRange); in operator ==() 75 return (maRange != rRange.maRange); in operator !=() 80 maRange = rRange.maRange; in operator =() 111 return maRange.isInside(rRange.maRange); in isInside() 116 return maRange.overlaps(rRange.maRange); in overlaps() 124 void expand(const B1IRange& rRange) in expand() argument 126 maRange.expand(rRange.maRange); in expand() 129 void intersect(const B1IRange& rRange) in intersect() argument [all …]
|
/aoo42x/main/basegfx/source/range/ |
H A D | b2dpolyrange.cxx | 75 maBounds( rRange ), in ImplB2DPolyRange() 76 maRanges( 1, rRange ), in ImplB2DPolyRange() 105 maRanges[nIndex] = rRange; in setElement() 121 maBounds.expand(rRange); in insertElement() 135 maBounds.expand(rRange); in appendElement() 277 mpImpl( rRange.mpImpl ) in B2DPolyRange() 282 mpImpl = rRange.mpImpl; in operator =() 293 if(mpImpl.same_object(rRange.mpImpl)) in operator ==() 301 return !(*this == rRange); in operator !=() 381 return mpImpl->isInside(rRange); in isInside() [all …]
|
H A D | b3drange.cxx | 33 B3DRange::B3DRange(const B3IRange& rRange) : in B3DRange() argument 38 if( !rRange.isEmpty() ) in B3DRange() 40 maRangeX = rRange.getMinX(); in B3DRange() 41 maRangeY = rRange.getMinY(); in B3DRange() 42 maRangeZ = rRange.getMinZ(); in B3DRange() 44 maRangeX.expand( rRange.getMaxX() ); in B3DRange() 45 maRangeY.expand( rRange.getMaxY() ); in B3DRange() 46 maRangeZ.expand( rRange.getMaxZ() ); in B3DRange() 67 B3IRange fround(const B3DRange& rRange ) in fround() argument 69 return rRange.isEmpty() ? in fround() [all …]
|
/aoo42x/main/sc/source/filter/xml/ |
H A D | XMLStylesImportHelper.cxx | 89 pList->Join(rRange); in AddRange() 113 xList->Join(rRange); in AddCurrencyRange() 216 aItr->xRanges->Join(rRange); in AddCurrencyRange() 377 SCCOL nStartCol(rRange.aStart.Col()); in AddDefaultRange() 378 SCCOL nEndCol(rRange.aEnd.Col()); in AddDefaultRange() 388 ScRange aRange(rRange); in AddDefaultRange() 401 ScRange aRange(rRange); in AddDefaultRange() 423 AddSingleRange(rRange); in AddDefaultRange() 494 aPrevRange.aEnd.SetCol(rRange.aEnd.Col()); in AddRange() 516 aPrevRange = rRange; in AddRange() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | bcaslot.cxx | 270 const ScRange& rRange ) const in FindBroadcastArea() 351 if (rAreaRange.Intersects( rRange )) in AreaBroadcastInRange() 383 if (rRange.In( rAreaRange)) in DelBroadcastAreasInRange() 558 ScAddress( rRange.aStart.Col(), rRange.aEnd.Row(), 0 ) ) - rStart; in ComputeAreaPoints() 584 if ( rRange == BCA_LISTEN_ALWAYS ) in StartListeningArea() 633 if ( rRange == BCA_LISTEN_ALWAYS ) in EndListeningArea() 648 SCTAB nEndTab = rRange.aEnd.Tab(); in EndListeningArea() 716 SCTAB nEndTab = rRange.aEnd.Tab(); in AreaBroadcastInRange() 738 const ScRange& rRange ) in DelBroadcastAreasInRange() argument 740 SCTAB nEndTab = rRange.aEnd.Tab(); in DelBroadcastAreasInRange() [all …]
|
H A D | document.cxx | 918 rRange.aEnd.Col(), rRange.aEnd.Tab(), in InsertRow() 919 rRange.aStart.Row(), static_cast<SCSIZE>(rRange.aEnd.Row()-rRange.aStart.Row()+1), in InsertRow() 1004 rRange.aEnd.Col(), rRange.aEnd.Tab(), in DeleteRow() 1005 rRange.aStart.Row(), static_cast<SCSIZE>(rRange.aEnd.Row()-rRange.aStart.Row()+1), in DeleteRow() 1110 rRange.aEnd.Row(), rRange.aEnd.Tab(), in InsertCol() 1194 rRange.aEnd.Row(), rRange.aEnd.Tab(), in DeleteCol() 1195 rRange.aStart.Col(), static_cast<SCSIZE>(rRange.aEnd.Col()-rRange.aStart.Col()+1), in DeleteCol() 1377 rRange.aEnd.Col(), rRange.aEnd.Row(), in DeleteAreaTab() 2544 rRange.aEnd.Col(), rRange.aEnd.Row(), in MixDocument() 4389 return HasAttrib( rRange.aStart.Col(), rRange.aStart.Row(), rRange.aStart.Tab(), in HasAttrib() [all …]
|
H A D | conditio.cxx | 1295 SCTAB nTab = rRange.aStart.Tab(); in lcl_Extend() 1298 SCCOL nStartCol = rRange.aStart.Col(); in lcl_Extend() 1299 SCROW nStartRow = rRange.aStart.Row(); in lcl_Extend() 1300 SCCOL nEndCol = rRange.aEnd.Col(); in lcl_Extend() 1301 SCROW nEndRow = rRange.aEnd.Row(); in lcl_Extend() 1316 rRange.aEnd.Set( nEndCol, nEndRow, nTab ); in lcl_Extend() 1322 rRange.Justify(); in lcl_CutRange() 1331 rRange.aEnd.Tab() >= aCmpRange.aStart.Tab() ) in lcl_CutRange() 1340 rRange.aEnd.SetCol( aCmpRange.aEnd.Col() ); in lcl_CutRange() 1342 rRange.aEnd.SetRow( aCmpRange.aEnd.Row() ); in lcl_CutRange() [all …]
|
/aoo42x/main/sc/source/core/tool/ |
H A D | rangeseq.cxx | 72 SCTAB nTab = rRange.aStart.Tab(); in FillLongArray() 75 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillLongArray() 76 long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row(); in FillLongArray() 128 SCTAB nTab = rRange.aStart.Tab(); in FillDoubleArray() 131 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillDoubleArray() 132 long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row(); in FillDoubleArray() 184 SCTAB nTab = rRange.aStart.Tab(); in FillStringArray() 187 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillStringArray() 188 long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row(); in FillStringArray() 276 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillMixedArray() [all …]
|
H A D | chartlis.cxx | 123 const ScRange& rRange ) : in ScChartListener() argument 134 SetRangeList( rRange ); in ScChartListener() 336 void startListening(const ScRange& rRange) in startListening() argument 338 if (rRange.aStart == rRange.aEnd) in startListening() 344 void endListening(const ScRange& rRange) in endListening() argument 346 if (rRange.aStart == rRange.aEnd) in endListening() 349 mpDoc->EndListeningArea(rRange, &mrParent); in endListening() 465 maRange(rRange), mpListener(p) in RangeListenerItem() 647 if ( rList.Is() && rList->Intersects( rRange ) ) in SetRangeDirty() 660 if (itr->maRange.Intersects(rRange)) in SetRangeDirty() [all …]
|
H A D | reftokenhelper.cxx | 155 rRange.aStart.SetCol(rRefData.nCol); in getRangeFromToken() 156 rRange.aStart.SetRow(rRefData.nRow); in getRangeFromToken() 157 rRange.aStart.SetTab(rRefData.nTab); in getRangeFromToken() 158 rRange.aEnd = rRange.aStart; in getRangeFromToken() 178 rRange.aEnd.SetCol(rRefData.Ref2.nCol); in getRangeFromToken() 204 aData.Ref1.nCol = rRange.aStart.Col(); in getTokenFromRange() 205 aData.Ref1.nRow = rRange.aStart.Row(); in getTokenFromRange() 206 aData.Ref1.nTab = rRange.aStart.Tab(); in getTokenFromRange() 212 aData.Ref2.nCol = rRange.aEnd.Col(); in getTokenFromRange() 213 aData.Ref2.nRow = rRange.aEnd.Row(); in getTokenFromRange() [all …]
|
/aoo42x/main/basegfx/source/polygon/ |
H A D | b3dpolypolygontools.cxx | 221 B3DPolyPolygon createCubePolyPolygonFromB3DRange( const B3DRange& rRange) in createCubePolyPolygonFromB3DRange() argument 225 if(!rRange.isEmpty()) in createCubePolyPolygonFromB3DRange() 229 aTrans.scale(rRange.getWidth(), rRange.getHeight(), rRange.getDepth()); in createCubePolyPolygonFromB3DRange() 230 aTrans.translate(rRange.getMinX(), rRange.getMinY(), rRange.getMinZ()); in createCubePolyPolygonFromB3DRange() 242 if(!rRange.isEmpty()) in createCubeFillPolyPolygonFromB3DRange() 246 aTrans.scale(rRange.getWidth(), rRange.getHeight(), rRange.getDepth()); in createCubeFillPolyPolygonFromB3DRange() 247 aTrans.translate(rRange.getMinX(), rRange.getMinY(), rRange.getMinZ()); in createCubeFillPolyPolygonFromB3DRange() 354 aTrans.scale(rRange.getWidth() / 2.0, rRange.getHeight() / 2.0, rRange.getDepth() / 2.0); in createSpherePolyPolygonFromB3DRange() 355 aTrans.translate(rRange.getMinX(), rRange.getMinY(), rRange.getMinZ()); in createSpherePolyPolygonFromB3DRange() 433 aTrans.scale(rRange.getWidth() / 2.0, rRange.getHeight() / 2.0, rRange.getDepth() / 2.0); in createSphereFillPolyPolygonFromB3DRange() [all …]
|
H A D | b3dpolygonclipper.cxx | 313 aRetval.append(clipPolygonOnRange(rCandidate.getB3DPolygon(a), rRange, bInside, bStroke)); in clipPolyPolygonOnRange() 319 …B3DPolyPolygon clipPolygonOnRange(const B3DPolygon& rCandidate, const B2DRange& rRange, bool bInsi… in clipPolygonOnRange() argument 323 if(rRange.isEmpty()) in clipPolygonOnRange() 339 if(rRange.isInside(aCandidateRange)) in clipPolygonOnRange() 347 else if(!rRange.overlaps(aCandidateRange)) in clipPolygonOnRange() 359 …aRetval = clipPolygonOnOrthogonalPlane(rCandidate, tools::B3DORIENTATION_X, bInside, rRange.getMin… in clipPolygonOnRange() 411 aRetval.append(clipPolygonOnRange(rCandidate.getB3DPolygon(a), rRange, bInside, bStroke)); in clipPolyPolygonOnRange() 421 if(rRange.isEmpty()) in clipPolygonOnRange() 434 if(rRange.isInside(aCandidateRange)) in clipPolygonOnRange() 442 else if(!rRange.overlaps(aCandidateRange)) in clipPolygonOnRange() [all …]
|
H A D | b2dpolygonclipper.cxx | 204 if(rRange.isEmpty()) in clipPolygonOnRange() 220 if(rRange.isInside(aCandidateRange)) in clipPolygonOnRange() 246 const B2DPolygon aClip(createPolygonFromRect(rRange)); in clipPolygonOnRange() 308 if(rRange.isEmpty()) in clipPolyPolygonOnRange() 338 const B2DPolygon aClip(createPolygonFromRect(rRange)); in clipPolyPolygonOnRange() 735 const B2DRange& rRange ) in clipTriangleListOnRange() argument 747 sp[0].d = -(rRange.getMinX()); in clipTriangleListOnRange() 751 sp[1].d = +(rRange.getMaxX()); in clipTriangleListOnRange() 755 sp[2].d = -(rRange.getMinY()); in clipTriangleListOnRange() 759 sp[3].d = +(rRange.getMaxY()); in clipTriangleListOnRange() [all …]
|
/aoo42x/main/basegfx/source/tools/ |
H A D | b2dclipstate.cxx | 122 if( rRange.isEmpty() ) in addRange() 131 rRange, in addRange() 180 addRange(rRange,UNION); in unionRange() 212 addRange(rRange,INTERSECT); in intersectRange() 244 addRange(rRange,SUBTRACT); in subtractRange() 273 addRange(rRange,XOR); in xorRange() 512 mpImpl( ImplB2DClipState(rRange) ) in B2DClipState() 569 mpImpl->unionRange(rRange); in unionRange() 589 mpImpl->intersectRange(rRange); in intersectRange() 609 mpImpl->subtractRange(rRange); in subtractRange() [all …]
|
/aoo42x/main/oox/source/xls/ |
H A D | sheetdatabuffer.cxx | 568 return (rRange.StartRow <= maRowRange.mnLast) && (maRowRange.mnFirst <= rRange.EndRow); in intersects() 633 maRange( rRange ), in MergedRange() 718 …Model.mbRef1Deleted && (rModel.maRef1.getLength() > 0) && (rRange.StartColumn > 0) && (rRange.Star… in finalizeTableOperation() 720 CellRangeAddress aOpRange = rRange; in finalizeTableOperation() 772 size_t nWidth = static_cast< size_t >( rRange.EndColumn - rRange.StartColumn + 1 ); in finalizeTableOperation() 773 size_t nHeight = static_cast< size_t >( rRange.EndRow - rRange.StartRow + 1 ); in finalizeTableOperation() 880 bool bMultiCol = rRange.StartColumn < rRange.EndColumn; in finalizeMergedRange() 881 bool bMultiRow = rRange.StartRow < rRange.EndRow; in finalizeMergedRange() 890 …ence< XCell > xTopLeft( getCell( CellAddress( getSheetIndex(), rRange.StartColumn, rRange.StartRow… in finalizeMergedRange() 896 …opertySet aTopRightProp( getCell( CellAddress( getSheetIndex(), rRange.EndColumn, rRange.StartRow … in finalizeMergedRange() [all …]
|
/aoo42x/main/oox/source/helper/ |
H A D | containerhelper.cxx | 50 …inline bool operator()( const ValueRange& rRange, sal_Int32 nValue ) const { return rRange… in operator ()() 57 void ValueRangeSet::insert( const ValueRange& rRange ) in insert() argument 64 if( (aIt != aEnd) && aIt->contains( rRange ) ) return; in insert() 66 if( (aIt != aBeg) && ((aIt - 1)->mnLast + 1 == rRange.mnFirst) ) --aIt; in insert() 68 if( (aIt != aEnd) && aIt->intersects( rRange ) ) in insert() 71 aIt->mnFirst = ::std::min( aIt->mnFirst, rRange.mnFirst ); in insert() 74 while( (aNext != aEnd) && aNext->intersects( rRange ) ) ++aNext; in insert() 76 aIt->mnLast = ::std::max( (aNext - 1)->mnLast, rRange.mnLast ); in insert() 83 maRanges.insert( aIt, rRange ); in insert() 87 ValueRangeVector ValueRangeSet::getIntersection( const ValueRange& rRange ) const in getIntersection() [all …]
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | olinefun.cxx | 100 SCCOL nEndCol = rRange.aEnd.Col(); in MakeOutline() 101 SCROW nEndRow = rRange.aEnd.Row(); in MakeOutline() 102 SCTAB nTab = rRange.aStart.Tab(); in MakeOutline() 165 SCCOL nEndCol = rRange.aEnd.Col(); in RemoveOutline() 166 SCROW nEndRow = rRange.aEnd.Row(); in RemoveOutline() 167 SCTAB nTab = rRange.aStart.Tab(); in RemoveOutline() 288 SCCOL nEndCol = rRange.aEnd.Col(); in AutoOutline() 289 SCROW nEndRow = rRange.aEnd.Row(); in AutoOutline() 290 SCTAB nTab = rRange.aStart.Tab(); in AutoOutline() 455 SCTAB nTab = rRange.aStart.Tab(); in ShowMarkedOutlines() [all …]
|
H A D | docfunc.cxx | 136 SCROW nRow = rRange.aStart.Row(); in lcl_PaintAbove() 1406 if( rRange.aStart == rRange.aEnd && pDoc->HasAttrib(rRange, HASATTR_MERGED) ) in InsertCells() 1821 if( rRange.aStart == rRange.aEnd && pDoc->HasAttrib(rRange, HASATTR_MERGED) ) in DeleteCells() 3919 pDoc->SetDirty( rRange ); in TabOp() 4038 AdjustRowHeight(rRange); in FillSimple() 4155 AdjustRowHeight(rRange); in FillSeries() 4203 ScRange aSourceArea = rRange; in FillAuto() 4384 pDoc->SetDirty( rRange ); in MergeCells() 4410 ScRange aExtended = rRange; in UnmergeCells() 4427 pDoc->ApplyPatternAreaTab( rRange.aStart.Col(), rRange.aStart.Row(), in UnmergeCells() [all …]
|
/aoo42x/main/sc/source/ui/undo/ |
H A D | undoutil.cxx | 76 const ScRange& rRange ) in MarkSimpleBlock() argument 78 MarkSimpleBlock( pDocShell, rRange.aStart.Col(), rRange.aStart.Row(), rRange.aStart.Tab(), in MarkSimpleBlock() 79 rRange.aEnd.Col(), rRange.aEnd.Row(), rRange.aEnd.Tab() ); in MarkSimpleBlock() 132 const ScRange& rRange ) in PaintMore() argument 134 SCCOL nCol1 = rRange.aStart.Col(); in PaintMore() 135 SCROW nRow1 = rRange.aStart.Row(); in PaintMore() 136 SCCOL nCol2 = rRange.aEnd.Col(); in PaintMore() 137 SCROW nRow2 = rRange.aEnd.Row(); in PaintMore() 143 pDocShell->PostPaint( nCol1,nRow1,rRange.aStart.Tab(), in PaintMore() 144 nCol2,nRow2,rRange.aEnd.Tab(), PAINT_GRID ); in PaintMore()
|