Home
last modified time | relevance | path

Searched refs:nLeft (Results 1 – 25 of 258) sorted by relevance

1234567891011

/trunk/main/tools/inc/tools/
H A Dgen.hxx387 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 Dsvborder.hxx32 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()
/trunk/main/vcl/source/window/
H A Ddecoview.cxx55 long nLeft; in ImplDrawSymbol() local
121 nLeft = nCenterX-n2; in ImplDrawSymbol()
123 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
127 nLeft++; in ImplDrawSymbol()
129 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
131 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
146 nLeft = nCenterX; in ImplDrawSymbol()
148 pDev->DrawRect( Rectangle( nLeft, nCenterY, nRight, nCenterY ) ); in ImplDrawSymbol()
154 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
156 pDev->DrawRect( Rectangle( nLeft, nTemp, nRight, nTemp ) ); in ImplDrawSymbol()
[all …]
/trunk/main/tools/source/generic/
H A Dgen.cxx201 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 …]
/trunk/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx47 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 …]
/trunk/main/sw/source/core/layout/
H A Dssfrm.cxx200 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 …]
/trunk/main/sw/source/core/table/
H A Dswnewtable.cxx171 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 …]
/trunk/main/sw/source/core/edit/
H A Dedlingu.cxx119 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 …]
/trunk/main/svx/source/table/
H A Dcellrange.cxx45 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 Dtablelayouter.cxx619 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 Dcellcursor.cxx52 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()
/trunk/main/sw/source/ui/table/
H A Dtabledlg.cxx226 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 …]
/trunk/main/vcl/source/gdi/
H A Dregionband.cxx87 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 Doutdev3.cxx3788 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 Dbitmap3.cxx1471 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 …]
/trunk/main/svx/source/dialog/
H A Drulritem.cxx445 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()
/trunk/main/sd/source/ui/view/
H A Dviewshe2.cxx533 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 …]
/trunk/main/oox/inc/oox/dump/
H A Dbiffdumper.hxx170 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()
/trunk/main/svx/inc/svx/
H A Dgrfcrop.hxx35 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 =()
/trunk/main/starmath/source/
H A Drect.cxx273 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()
/trunk/main/sd/source/ui/app/
H A Dsdmod1.cxx786 sal_uInt32 nLeft = 0; in ChangeMedium() local
828 nLeft =1000; in ChangeMedium()
835 nLeft =0; in ChangeMedium()
846 nLeft =0; in ChangeMedium()
856 nLeft =0; in ChangeMedium()
866 nLeft =0; in ChangeMedium()
888 Rectangle aBorderRect(nLeft, nUpper, nRight, nLower); in ChangeMedium()
891 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in ChangeMedium()
911 Rectangle aBorderRect(nLeft, nUpper, nRight, nLower); in ChangeMedium()
914 pPage->SetBorder(nLeft, nUpper, nRight, nLower); in ChangeMedium()
/trunk/main/sw/source/core/unocore/
H A Dunochart.cxx253 rDesc.nTop = rDesc.nLeft = rDesc.nBottom = rDesc.nRight = -1; in FillRangeDescriptor()
254 lcl_GetCellPosition( aTLName, rDesc.nLeft, rDesc.nTop ); in FillRangeDescriptor()
258 rDesc.nLeft != -1 && in FillRangeDescriptor()
262 DBG_ASSERT( rDesc.nTop <= rDesc.nBottom && rDesc.nLeft <= rDesc.nRight, in FillRangeDescriptor()
709 String aNewStartCell( lcl_GetCellName( aDesc.nLeft, aDesc.nTop ) ); in Impl_createDataSource()
910 aLabelDesc.nLeft = oi; in Impl_createDataSource()
915 aDataDesc.nLeft = oi; in Impl_createDataSource()
922 aLabelDesc.nLeft = aLabelIdx[oi]; in Impl_createDataSource()
924 aLabelDesc.nRight = aLabelDesc.nLeft; in Impl_createDataSource()
927 aDataDesc.nLeft = aDataStartIdx[oi]; in Impl_createDataSource()
[all …]
/trunk/main/comphelper/inc/comphelper/
H A Dsequence.hxx74 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()
/trunk/main/sw/inc/
H A Dswrect.hxx53 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()
/trunk/main/writerfilter/source/doctok/
H A DWW8FKPImpl.cxx33 sal_uInt32 nLeft = 0;
36 while (nRight - nLeft > 1)
38 sal_uInt32 nMiddle = (nLeft + nRight) / 2;
43 nLeft = nMiddle;
51 return nLeft;

1234567891011