| /AOO41X/main/tools/inc/tools/ |
| H A D | gen.hxx | 387 long nLeft; member in Rectangle 394 Rectangle( long nLeft, long nTop, 398 long Left() const { return nLeft; } in Left() 403 long& Left() { return nLeft; } in Left() 459 long getX() const { return nLeft; } in getX() 461 long getWidth() const { return nRight - nLeft; } in getWidth() 463 void setX( long n ) { nRight += n-nLeft; nLeft = n; } in setX() 465 void setWidth( long n ) { nRight = nLeft + n; } in setWidth() 471 nLeft = nTop = 0; in Rectangle() 477 nLeft = rLT.X(); in Rectangle() [all …]
|
| H A D | svborder.hxx | 32 long nTop, nRight, nBottom, nLeft; member in SvBorder 35 { nTop = nRight = nBottom = nLeft = 0; } in SvBorder() 37 { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } in SvBorder() 40 { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; } in SvBorder() 44 nBottom == rObj.nBottom && nLeft == rObj.nLeft; in operator ==() 75 nBottom >= rInside.nBottom && nLeft >= rInside.nLeft; in IsInside() 80 long & Left() { return nLeft; } in Left() 84 long Left() const { return nLeft; } in Left()
|
| /AOO41X/main/vcl/source/window/ |
| H A D | decoview.cxx | 57 long nLeft; in ImplDrawSymbol() local 123 nLeft = nCenterX-n2; in ImplDrawSymbol() 125 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol() 129 nLeft++; in ImplDrawSymbol() 131 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol() 133 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol() 148 nLeft = nCenterX; in ImplDrawSymbol() 150 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol() 156 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol() 158 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol() [all …]
|
| /AOO41X/main/tools/source/generic/ |
| H A D | gen.cxx | 201 nRight = nLeft + rSize.Width() +1; in SetSize() 203 nRight = nLeft + rSize.Width() -1; in SetSize() 234 nLeft = Min( Min( nLeft, rRect.nLeft ), Min( nRight, rRect.nRight ) ); in Union() 235 nRight = Max( Max( nLeft, rRect.nLeft ), Max( nRight, rRect.nRight ) ); in Union() 269 nLeft = Max( nLeft, aTmpRect.nLeft ); in Intersection() 275 if ( nRight < nLeft || nBottom < nTop ) in Intersection() 296 if ( (nRight < nLeft) && (nRight != RECT_EMPTY) ) in Justify() 298 nHelp = nLeft; in Justify() 299 nLeft = nRight; in Justify() 328 if ( nLeft <= nRight ) in IsInside() [all …]
|
| /AOO41X/main/sdext/source/presenter/ |
| H A D | PresenterGeometryHelper.cxx | 47 sal_Int32 Width (const sal_Int32 nLeft, const sal_Int32 nRight) in Width() argument 49 return nRight - nLeft + 1; in Width() 91 const sal_Int32 nLeft (Floor(rBox.X1)); in ConvertRectangle() local 95 return awt::Rectangle (nLeft,nTop,nRight-nLeft,nBottom-nTop); in ConvertRectangle() 142 const sal_Int32 nLeft (::std::max(rBox1.X, rBox2.X)); in Intersection() local 146 if (nLeft >= nRight || nTop >= nBottom) in Intersection() 149 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(nTop,nBottom)); in Intersection() 159 const double nLeft (::std::max(rBox1.X1, rBox2.X1)); in Intersection() local 163 if (nLeft >= nRight || nTop >= nBottom) in Intersection() 166 return geometry::RealRectangle2D(nLeft,nTop, nRight, nBottom); in Intersection() [all …]
|
| /AOO41X/main/sw/source/core/layout/ |
| H A D | ssfrm.cxx | 200 void SwFrm::SetLeftRightMargins( long nLeft, long nRight) in SetLeftRightMargins() argument 202 Prt().Left( nLeft ); in SetLeftRightMargins() 203 Prt().Width( Frm().Width() - nLeft - nRight ); in SetLeftRightMargins() 206 void SwFrm::SetRightLeftMargins( long nRight, long nLeft) in SetRightLeftMargins() argument 208 Prt().Left( nLeft ); in SetRightLeftMargins() 209 Prt().Width( Frm().Width() - nLeft - nRight ); in SetRightLeftMargins() 664 long nLeft = (aRect.*fnRect->fnGetLeft)(); in PaintArea() local 691 if( bLeft || nLeft < nTmpLeft ) in PaintArea() 692 nLeft = nTmpLeft; in PaintArea() 706 if( bLeft || nLeft < nTmpLeft ) in PaintArea() [all …]
|
| /AOO41X/main/sw/source/core/table/ |
| H A D | swnewtable.cxx | 171 long nLeft = 0; in lcl_Box2LeftBorder() local 179 return nLeft; in lcl_Box2LeftBorder() 180 nLeft += pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in lcl_Box2LeftBorder() 183 return nLeft; in lcl_Box2LeftBorder() 202 SwTableBox* lcl_LeftBorder2Box( long nLeft, const SwTableLine* pLine ) in lcl_LeftBorder2Box() argument 212 if( nCurrLeft >= nLeft && pBox->GetFrmFmt()->GetFrmSize().GetWidth() ) in lcl_LeftBorder2Box() 214 ASSERT( nCurrLeft == nLeft, "Wrong box found" ); in lcl_LeftBorder2Box() 383 long nLeft = 0; in CollectBoxSelection() local 391 nLeft = nRight; in CollectBoxSelection() 405 if( nLeft < nMin ) in CollectBoxSelection() [all …]
|
| /AOO41X/main/svx/source/table/ |
| H A D | cellrange.cxx | 45 CellRange::CellRange( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRig… in CellRange() argument 47 , mnLeft(nLeft) in CellRange() 100 Reference< XCellRange > SAL_CALL CellRange::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop… in getCellRangeByPosition() argument 102 if( (nLeft >= 0 ) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) ) in getCellRangeByPosition() 104 nLeft += mnLeft; in getCellRangeByPosition() 111 … if( (nLeft < nMaxColumns) && (nRight < nMaxColumns) && (nTop < nMaxRows) && (nBottom < nMaxRows) ) in getCellRangeByPosition() 113 return mxTable->getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); in getCellRangeByPosition()
|
| H A D | tablelayouter.cxx | 619 sal_Int32 nLeft = rArea.getWidth() - nCurrentWidth; in LayoutTableWidth() local 620 sal_Int32 nDistribute = nLeft / aOptimalColumns.size(); in LayoutTableWidth() 627 nDistribute = nLeft; in LayoutTableWidth() 630 nLeft -= nDistribute; in LayoutTableWidth() 633 DBG_ASSERT( nLeft == 0, "svx::TableLayouter::LayoutTableWidtht(), layouting failed!" ); in LayoutTableWidth() 770 sal_Int32 nLeft = rArea.getHeight() - nCurrentHeight; in LayoutTableHeight() local 771 sal_Int32 nDistribute = nLeft / aOptimalRows.size(); in LayoutTableHeight() 778 nDistribute = nLeft; in LayoutTableHeight() 781 nLeft -= nDistribute; in LayoutTableHeight() 785 DBG_ASSERT( nLeft == 0, "svx::TableLayouter::LayoutTableHeight(), layouting failed!" ); in LayoutTableHeight() [all …]
|
| H A D | cellcursor.cxx | 52 CellCursor::CellCursor( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nR… in CellCursor() argument 53 : CellCursorBase( xTable, nLeft, nTop, nRight, nBottom ) in CellCursor() 74 Reference< XCellRange > SAL_CALL CellCursor::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTo… in getCellRangeByPosition() argument 76 return CellRange::getCellRangeByPosition( nLeft, nTop, nRight, nBottom ); in getCellRangeByPosition() 160 const sal_Int32 nLeft = mnLeft + nColumnOffset; in gotoOffset() local 161 if( (nLeft >= 0) && (nLeft < mxTable->getColumnCount() ) ) in gotoOffset() 162 mnRight = mnLeft = nLeft; in gotoOffset()
|
| /AOO41X/main/sw/source/core/edit/ |
| H A D | edlingu.cxx | 119 sal_uInt16 nLeft; member 1069 xub_StrLen nLeft = 0; in GetCorrection() local 1071 ++nLeft; in GetCorrection() 1077 aPos.nContent = nBegin + nLeft; in GetCorrection() 1081 ExtendSelection( sal_True, nLen - nLeft - nRight ); in GetCorrection() 1083 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetCorrection() 1085 …xub_StrLen nWordEnd = (nBegin + nLen - nLeft - nRight) > nLineEnd ? nLineEnd - 1: (nBegin + nLen -… in GetCorrection() 1213 xub_StrLen nLeft = 0; in GetGrammarCorrection() local 1215 ++nLeft; in GetGrammarCorrection() 1221 aPos.nContent = nBegin + nLeft; in GetGrammarCorrection() [all …]
|
| /AOO41X/main/sw/source/ui/table/ |
| H A D | tabledlg.cxx | 226 sal_Int64 nLeft = aLeftMF.DenormalizePercent(aLeftMF.GetValue(FUNIT_TWIP )); in IMPL_LINK() local 241 aLeftMF.SetPrcntValue(aLeftMF.NormalizePercent(nLeft ), FUNIT_TWIP ); in IMPL_LINK() 363 …SwTwips nLeft = static_cast< SwTwips >(aLeftMF.DenormalizePercent(aLeftMF.GetValue( FUNIT_TWIP ))… in IMPL_LINK_INLINE_END() local 370 nDiff = nRight + nLeft + nCurWidth - pTblData->GetSpace() ; in IMPL_LINK_INLINE_END() 373 nLeft -= nDiff; in IMPL_LINK_INLINE_END() 386 if(nLeft >= nDiff) in IMPL_LINK_INLINE_END() 387 nLeft -= nDiff; in IMPL_LINK_INLINE_END() 390 nRight += nLeft - nDiff; in IMPL_LINK_INLINE_END() 391 nLeft = 0; in IMPL_LINK_INLINE_END() 400 if((nLeft != nRight)) in IMPL_LINK_INLINE_END() [all …]
|
| H A D | swtablerep.cxx | 156 SwTwips nLeft = GetLeftSpace(); in FillTabCols() local 157 rTabCols.SetLeft(nLeft); in FillTabCols() 207 rTabCols[i] = nPos + nLeft; in FillTabCols() 211 rTabCols.SetRight(nLeft + nTblWidth); in FillTabCols() 222 rTabCols.SetRight(nLeft + pTColumns[nAllCols - 1].nWidth + nPos); in FillTabCols()
|
| /AOO41X/main/vcl/source/gdi/ |
| H A D | regionband.cxx | 87 const long nLeft(std::min(rRect.Left(), rRect.Right())); in RegionBand() local 94 mpFirstBand->Union(nLeft, nRight); in RegionBand() 899 void RegionBand::Union(long nLeft, long nTop, long nRight, long nBottom) in Union() argument 901 DBG_ASSERT( nLeft <= nRight, "RegionBand::Union() - nLeft > nRight" ); in Union() 911 pBand->Union( nLeft, nRight ); in Union() 936 void RegionBand::Intersect(long nLeft, long nTop, long nRight, long nBottom) in Intersect() argument 948 pBand->Intersect(nLeft, nRight); in Intersect() 998 void RegionBand::Exclude(long nLeft, long nTop, long nRight, long nBottom) in Exclude() argument 1000 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in Exclude() 1012 pBand->Exclude(nLeft, nRight); in Exclude() [all …]
|
| H A D | outdev3.cxx | 3788 long nLeft = nDistX; in ImplDrawStraightTextLine() local 3794 ImplDrawTextRect( nBaseX, nBaseY, nLeft, nLinePos, nWidth, nLineHeight ); in ImplDrawStraightTextLine() 3797 ImplDrawTextRect( nBaseX, nBaseY, nLeft, nLinePos, nWidth, nLineHeight ); in ImplDrawStraightTextLine() 3798 ImplDrawTextRect( nBaseX, nBaseY, nLeft, nLinePos2, nWidth, nLineHeight ); in ImplDrawStraightTextLine() 3807 long nEnd = nLeft+nWidth; in ImplDrawStraightTextLine() 3808 while ( nLeft < nEnd ) in ImplDrawStraightTextLine() 3810 if ( nLeft+nTempWidth > nEnd ) in ImplDrawStraightTextLine() 3811 nTempWidth = nEnd-nLeft; in ImplDrawStraightTextLine() 3812 … ImplDrawTextRect( nBaseX, nBaseY, nLeft, nLinePos, nTempWidth, nLineHeight ); in ImplDrawStraightTextLine() 3813 nLeft += nDotWidth*2; in ImplDrawStraightTextLine() [all …]
|
| H A D | bitmap3.cxx | 1471 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local 1492 nLeft = bHMirr ? ( nX + 1 ) : nX; in ImplScaleSuper() 1502 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper() 1503 … nRowRange = ( pMapIX[ nRight ] == pMapIX[ nLeft ] )? 1 : ( pMapIX[ nRight ] - pMapIX[ nLeft ] ); in ImplScaleSuper() 1528 nWeightX = (nMax- pMapFX[ nLeft ]) ; in ImplScaleSuper() 1612 long nLeft, nRight, nTop, nBottom, nWeightX, nWeightY ; in ImplScaleSuper() local 1633 nLeft = bHMirr ? ( nX + 1 ) : nX; in ImplScaleSuper() 1643 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper() 1644 … nRowRange = ( pMapIX[ nRight ] == pMapIX[ nLeft ] )? 1 : ( pMapIX[ nRight ] - pMapIX[ nLeft ] ); in ImplScaleSuper() 1670 nWeightX = (nMax- pMapFX[ nLeft ]) ; in ImplScaleSuper() [all …]
|
| /AOO41X/main/svx/source/dialog/ |
| H A D | rulritem.cxx | 445 nLeft != ((const SvxColumnItem&)rCmp).nLeft || in operator ==() 497 nLeft ( 0 ), in SvxColumnItem() 512 nLeft ( left ), in SvxColumnItem() 527 nLeft ( rCopy.nLeft ), in SvxColumnItem() 551 nLeft = rCopy.nLeft; in operator =() 604 case MID_LEFT: rVal <<= nLeft; break; in QueryValue() 625 case MID_LEFT: rVal >>= nLeft; break; in PutValue()
|
| /AOO41X/main/sd/source/ui/view/ |
| H A D | viewshe2.cxx | 533 long nLeft, long nRight, in SetPageSizeAndBorder() argument 566 nLeft, nRight, in SetPageSizeAndBorder() 575 nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0) in SetPageSizeAndBorder() 577 Rectangle aNewBorderRect(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 584 if( nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0 ) in SetPageSizeAndBorder() 586 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 617 nLeft, nRight, in SetPageSizeAndBorder() 626 nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0) in SetPageSizeAndBorder() 628 Rectangle aNewBorderRect(nLeft, nUpper, nRight, nLower); in SetPageSizeAndBorder() 635 if( nLeft >= 0 || nRight >= 0 || nUpper >= 0 || nLower >= 0 ) in SetPageSizeAndBorder() [all …]
|
| /AOO41X/main/svx/inc/svx/ |
| H A D | grfcrop.hxx | 35 sal_Int32 nLeft, nRight, nTop, nBottom; member in SvxGrfCrop 38 SvxGrfCrop( sal_Int32 nLeft, sal_Int32 nRight, 57 void SetLeft( sal_Int32 nVal ) { nLeft = nVal; } in SetLeft() 62 sal_Int32 GetLeft() const { return nLeft; } in GetLeft() 69 nLeft = rCrop.GetLeft(); nTop = rCrop.GetTop(); in operator =()
|
| /AOO41X/main/oox/inc/oox/dump/ |
| H A D | biffdumper.hxx | 170 Type nLeft, Type nTop, Type nWidth, Type nHeight, 246 Type nLeft, Type nTop, Type nWidth, Type nHeight, in writeRectItem() argument 251 writeValueItem( "x-pos", nLeft, eFmtType, rListWrp ); in writeRectItem() 261 Type nLeft, nTop, nWidth, nHeight; in dumpRect() local 262 *mxBiffStrm >> nLeft >> nTop >> nWidth >> nHeight; in dumpRect() 263 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRect() 270 Type nLeft, nTop, nWidth, nHeight; in dumpRectWithGaps() local 271 *mxBiffStrm >> nLeft; in dumpRectWithGaps() 279 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRectWithGaps()
|
| /AOO41X/main/starmath/source/ |
| H A D | rect.cxx | 273 void SmRect::SetLeft(long nLeft) in SetLeft() argument 275 if (nLeft <= GetRight()) in SetLeft() 276 { aSize.Width() = GetRight() - nLeft + 1; in SetLeft() 277 aTopLeft.X() = nLeft; in SetLeft() 635 long nLeft = GetLeft() - nLeftSpace, in Draw() local 641 rDev.DrawLine(Point(nLeft, GetAlignB()) += aOffset, in Draw() 643 rDev.DrawLine(Point(nLeft, GetAlignT()) += aOffset, in Draw() 646 rDev.DrawLine(Point(nLeft, GetBaseline()) += aOffset, in Draw() 650 rDev.DrawLine(Point(nLeft, GetHiAttrFence()) += aOffset, in Draw()
|
| /AOO41X/main/comphelper/inc/comphelper/ |
| H A D | sequence.hxx | 74 sal_Int32 nLeft(_rLeft.getLength()), nRight(_rRight.getLength()); in concatSequences() local 78 sal_Int32 nReturnLen(nLeft + nRight); in concatSequences() 82 internal::implCopySequence(pLeft, pReturn, nLeft); in concatSequences() 93 … sal_Int32 nLeft(_rLeft.getLength()), nMiddle(_rMiddle.getLength()), nRight(_rRight.getLength()); in concatSequences() local 98 sal_Int32 nReturnLen(nLeft + nMiddle + nRight); in concatSequences() 102 internal::implCopySequence(pLeft, pReturn, nLeft); in concatSequences()
|
| /AOO41X/main/svx/source/items/ |
| H A D | grfitem.cxx | 45 nLeft( 0 ), nRight( 0 ), nTop( 0 ), nBottom( 0 ) in SvxGrfCrop() 51 nLeft( nL ), nRight( nR ), nTop( nT ), nBottom( nB ) in SvxGrfCrop() 61 return nLeft == ((const SvxGrfCrop&)rAttr).GetLeft() && in operator ==() 121 aRet.Left = nLeft; in QueryValue() 155 nLeft = aVal.Left ; in PutValue()
|
| /AOO41X/main/writerfilter/source/doctok/ |
| H A D | WW8FKPImpl.cxx | 33 sal_uInt32 nLeft = 0; 36 while (nRight - nLeft > 1) 38 sal_uInt32 nMiddle = (nLeft + nRight) / 2; 43 nLeft = nMiddle; 51 return nLeft;
|
| /AOO41X/main/sw/inc/ |
| H A D | swrect.hxx | 53 inline void Left( const long nLeft ); 115 void _Left( const long nLeft ); 133 void SetLeftAndWidth( long nLeft, long nNew ); 200 inline void SwRect::Left( const long nLeft ) in Left() argument 202 m_Size.Width() += m_Point.getX() - nLeft; in Left() 203 m_Point.setX(nLeft); in Left()
|