Home
last modified time | relevance | path

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

1234567891011

/aoo41x/main/tools/inc/tools/
H A Dgen.hxx387 long nLeft; member in Rectangle
463 void setX( long n ) { nRight += n-nLeft; nLeft = n; } in setX()
471 nLeft = nTop = 0; in Rectangle()
477 nLeft = rLT.X(); in Rectangle()
486 nLeft = _nLeft; in Rectangle()
494 nLeft = rLT.X(); in Rectangle()
531 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in TopCenter()
540 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in BottomCenter()
565 return Point( nLeft+(nRight-nLeft)/2 , nTop+(nBottom-nTop)/2 ); in Center()
655 return ((nLeft == rRect.nLeft ) && in operator ==()
[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()
/aoo41x/main/vcl/source/window/
H A Ddecoview.cxx57 long nLeft; in ImplDrawSymbol() local
123 nLeft = nCenterX-n2; in ImplDrawSymbol()
129 nLeft++; in ImplDrawSymbol()
148 nLeft = nCenterX; in ImplDrawSymbol()
214 nLeft = nCenterX-n4; in ImplDrawSymbol()
216 nLeft++; in ImplDrawSymbol()
217 nRight = nLeft+n2; in ImplDrawSymbol()
222 nLeft++; in ImplDrawSymbol()
246 nLeft--; in ImplDrawSymbol()
247 nRight = nLeft+n2; in ImplDrawSymbol()
[all …]
/aoo41x/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()
298 nHelp = nLeft; in Justify()
299 nLeft = nRight; in Justify()
328 if ( nLeft <= nRight ) in IsInside()
422 rRect.nLeft = (sal_Int32)nNum; in operator >>()
[all …]
/aoo41x/main/sdext/source/presenter/
H A DPresenterGeometryHelper.cxx49 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()
211 if (nLeft >= nRight || nTop >= nBottom) in Union()
214 return awt::Rectangle(nLeft,nTop, Width(nLeft,nRight), Height(nTop,nBottom)); in Union()
[all …]
/aoo41x/main/sw/source/core/layout/
H A Dssfrm.cxx202 Prt().Left( nLeft ); in SetLeftRightMargins()
208 Prt().Left( nLeft ); in SetRightLeftMargins()
691 if( bLeft || nLeft < nTmpLeft ) in PaintArea()
692 nLeft = nTmpLeft; in PaintArea()
707 nLeft = nTmpLeft; in PaintArea()
728 nLeft = nTmpLeft; in PaintArea()
741 (aRect.*fnRect->fnSetLeft)( nLeft ); in PaintArea()
768 nLeft += nPrtLeft; in UnionFrm()
771 SwTwips nRight = nLeft + nWidth; in UnionFrm()
799 nWidth = nRight + nAdd - nLeft; in UnionFrm()
[all …]
/aoo41x/main/sw/source/core/table/
H A Dswnewtable.cxx171 long nLeft = 0; in lcl_Box2LeftBorder() local
179 return nLeft; in lcl_Box2LeftBorder()
183 return nLeft; in lcl_Box2LeftBorder()
383 long nLeft = 0; in CollectBoxSelection() local
457 if( nLeft <= nMid || nRight + nLeft <= nMax ) in CollectBoxSelection()
1613 long nLeft = 0; in lcl_SearchSelBox() local
1630 bAdd = nLeft <= nMid || nRight - nMax < nMax - nLeft; in lcl_SearchSelBox()
1649 nLeft = nRight; in lcl_SearchSelBox()
1882 long nLeft = 0; in ExpandColumnSelection() local
1912 long nLeft = 0; in PrepareDeleteCol() local
[all …]
/aoo41x/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()
890 aCellRect.nLeft = aCellArea.getMinX(); in updateCells()
[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()
/aoo41x/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()
1083 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetCorrection()
1213 xub_StrLen nLeft = 0; in GetGrammarCorrection() local
1215 ++nLeft; in GetGrammarCorrection()
1227 xub_StrLen nWordStart = (nBegin + nLeft) < nLineStart ? nLineStart : nBegin + nLeft; in GetGrammarCorrection()
1492 aAdd.nLeft = nStart; in lcl_CollectDeletedRedlines()
1526 aRet.nLeft = aRet.nRight = STRING_MAXLEN; in lcl_FindNextDeletedRedline()
[all …]
/aoo41x/main/sw/source/ui/table/
H A Dtabledlg.cxx373 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()
402 nDiff += nLeft + nRight; in IMPL_LINK_INLINE_END()
403 nLeft = nDiff/2; in IMPL_LINK_INLINE_END()
408 nLeft -= nDiff/2; in IMPL_LINK_INLINE_END()
415 nLeft -= nDiff/2; in IMPL_LINK_INLINE_END()
[all …]
H A Dswtablerep.cxx156 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 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()
948 pBand->Intersect(nLeft, nRight); in Intersect()
1000 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in Exclude()
1012 pBand->Exclude(nLeft, nRight); in Exclude()
1040 void RegionBand::XOr(long nLeft, long nTop, long nRight, long nBottom) in XOr() argument
1042 DBG_ASSERT( nLeft <= nRight, "RegionBand::Exclude() - nLeft > nRight" ); in XOr()
[all …]
H A Doutdev3.cxx3788 long nLeft = nDistX; in ImplDrawStraightTextLine() local
3984 const long& nLeft = nDistX; in ImplDrawStrikeoutLine() local
7631 long nLeft = 0; in GetTextBoundRect() local
7638 for( nLeft = 0; nLeft < nW; ++nLeft ) in GetTextBoundRect()
7641 if( nLeft < nW ) in GetTextBoundRect()
7655 if( nRight < nLeft ) in GetTextBoundRect()
7658 nRight = nLeft; in GetTextBoundRect()
7659 nLeft = nX; in GetTextBoundRect()
7666 for( nX = 0; nX < nLeft; ++nX ) in GetTextBoundRect()
7669 nLeft = nX; in GetTextBoundRect()
[all …]
H A Dbitmap3.cxx1492 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()
1643 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper()
1644 … nRowRange = ( pMapIX[ nRight ] == pMapIX[ nLeft ] )? 1 : ( pMapIX[ nRight ] - pMapIX[ nLeft ] ); in ImplScaleSuper()
1793 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper()
1794 … nRowRange = ( pMapIX[ nRight ] == pMapIX[ nLeft ] )? 1 : ( pMapIX[ nRight ] - pMapIX[ nLeft ] ); in ImplScaleSuper()
1937 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper()
1938 … nRowRange = ( pMapIX[ nRight ] == pMapIX[ nLeft ] )? 1 : ( pMapIX[ nRight ] - pMapIX[ nLeft ] ); in ImplScaleSuper()
2076 nRowStart = pMapIX[ nLeft ]; in ImplScaleSuper()
[all …]
/aoo41x/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()
/aoo41x/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 =()
/aoo41x/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 …]
/aoo41x/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()
/aoo41x/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()
/aoo41x/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()
/aoo41x/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;
/aoo41x/main/svx/source/items/
H A Dgrfitem.cxx45 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/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()

Completed in 168 milliseconds

1234567891011