/aoo4110/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 | 82 B3DRange(const B3DRange& rRange) in B3DRange() argument 83 : maRangeX(rRange.maRangeX), in B3DRange() 84 maRangeY(rRange.maRangeY), in B3DRange() 85 maRangeZ(rRange.maRangeZ) in B3DRange() 110 && maRangeY == rRange.maRangeY in operator ==() 111 && maRangeZ == rRange.maRangeZ); in operator ==() 117 || maRangeY != rRange.maRangeY in operator !=() 118 || maRangeZ != rRange.maRangeZ); in operator !=() 123 maRangeX = rRange.maRangeX; in operator =() 124 maRangeY = rRange.maRangeY; in operator =() [all …]
|
H A D | b2drange.hxx | 75 B2DRange(const B2DRange& rRange) in B2DRange() argument 76 : maRangeX(rRange.maRangeX), in B2DRange() 77 maRangeY(rRange.maRangeY) in B2DRange() 99 return (maRangeX == rRange.maRangeX in operator ==() 100 && maRangeY == rRange.maRangeY); in operator ==() 106 || maRangeY != rRange.maRangeY); in operator !=() 111 maRangeX = rRange.maRangeX; in operator =() 112 maRangeY = rRange.maRangeY; in operator =() 232 void expand(const B2DRange& rRange) in expand() argument 234 maRangeX.expand(rRange.maRangeX); in expand() [all …]
|
H A D | b3irange.hxx | 79 B3IRange(const B3IRange& rRange) in B3IRange() argument 80 : maRangeX(rRange.maRangeX), in B3IRange() 81 maRangeY(rRange.maRangeY), in B3IRange() 82 maRangeZ(rRange.maRangeZ) in B3IRange() 101 && maRangeY == rRange.maRangeY in operator ==() 102 && maRangeZ == rRange.maRangeZ); in operator ==() 108 || maRangeY != rRange.maRangeY in operator !=() 109 || maRangeZ != rRange.maRangeZ); in operator !=() 114 maRangeX = rRange.maRangeX; in operator =() 115 maRangeY = rRange.maRangeY; in operator =() [all …]
|
H A D | b1drange.hxx | 54 B1DRange(const B1DRange& rRange) in B1DRange() argument 55 : maRange(rRange.maRange) in B1DRange() 73 return (maRange == rRange.maRange); in operator ==() 78 return (maRange != rRange.maRange); in operator !=() 83 maRange = rRange.maRange; in operator =() 87 bool equal(const B1DRange& rRange) const in equal() 89 return (maRange.equal(rRange.maRange)); in equal() 137 void expand(const B1DRange& rRange) in expand() argument 139 maRange.expand(rRange.maRange); in expand() 142 void intersect(const B1DRange& rRange) in intersect() argument [all …]
|
H A D | b2irange.hxx | 72 B2IRange(const B2IRange& rRange) in B2IRange() argument 73 : maRangeX(rRange.maRangeX), in B2IRange() 74 maRangeY(rRange.maRangeY) in B2IRange() 91 return (maRangeX == rRange.maRangeX in operator ==() 92 && maRangeY == rRange.maRangeY); in operator ==() 98 || maRangeY != rRange.maRangeY); in operator !=() 103 maRangeX = rRange.maRangeX; in operator =() 104 maRangeY = rRange.maRangeY; in operator =() 200 void expand(const B2IRange& rRange) in expand() argument 202 maRangeX.expand(rRange.maRangeX); in expand() [all …]
|
H A D | b1irange.hxx | 52 B1IRange(const B1IRange& rRange) in B1IRange() argument 53 : maRange(rRange.maRange) in B1IRange() 69 return (maRange == rRange.maRange); in operator ==() 74 return (maRange != rRange.maRange); in operator !=() 79 maRange = rRange.maRange; in operator =() 110 return maRange.isInside(rRange.maRange); in isInside() 115 return maRange.overlaps(rRange.maRange); in overlaps() 123 void expand(const B1IRange& rRange) in expand() argument 125 maRange.expand(rRange.maRange); in expand() 128 void intersect(const B1IRange& rRange) in intersect() argument [all …]
|
/aoo4110/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 …]
|
/aoo4110/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 …]
|
/aoo4110/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() 2542 rRange.aEnd.Col(), rRange.aEnd.Row(), in MixDocument() 4387 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 …]
|
/aoo4110/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 …]
|
/aoo4110/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() 662 const B2DRange& rRange ) in clipTriangleListOnRange() argument 674 sp[0].d = -(rRange.getMinX()); in clipTriangleListOnRange() 678 sp[1].d = +(rRange.getMaxX()); in clipTriangleListOnRange() 682 sp[2].d = -(rRange.getMinY()); in clipTriangleListOnRange() 686 sp[3].d = +(rRange.getMaxY()); in clipTriangleListOnRange() [all …]
|
/aoo4110/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 …]
|
/aoo4110/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 …]
|
/aoo4110/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 …]
|
/aoo4110/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()
|
/aoo4110/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 …]
|
/aoo4110/main/basebmp/inc/basebmp/ |
H A D | tools.hxx | 34 inline vigra::Diff2D topLeft( const basegfx::B2IRange& rRange ) in topLeft() argument 35 { return vigra::Diff2D(rRange.getMinX(),rRange.getMinY()); } in topLeft() 37 inline vigra::Diff2D bottomRight( const basegfx::B2IRange& rRange ) in bottomRight() argument 38 { return vigra::Diff2D(rRange.getMaxX(),rRange.getMaxY()); } in bottomRight() 44 const basegfx::B2IRange& rRange) in destIterRange() argument 47 begin + topLeft(rRange), in destIterRange() 48 begin + bottomRight(rRange), in destIterRange() 56 const basegfx::B2IRange& rRange) in srcIterRange() argument 59 begin + topLeft(rRange), in srcIterRange() 60 begin + bottomRight(rRange), in srcIterRange()
|