Home
last modified time | relevance | path

Searched refs:Min (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/aoo4110/main/sc/source/ui/formdlg/
H A Dprivsplt.cxx55 aXMovingRange.Min()=nNewX; in ScPrivatSplit()
57 aYMovingRange.Min()=nNewY; in ScPrivatSplit()
129 if(a2Pos.X()<aXMovingRange.Min()) in MouseButtonUp()
132 a2Pos.X()=aXMovingRange.Min(); in MouseButtonUp()
145 if(a2Pos.Y()<aYMovingRange.Min()) in MouseButtonUp()
148 a2Pos.Y()=aYMovingRange.Min(); in MouseButtonUp()
194 a2Pos.X()=aXMovingRange.Min(); in MouseMove()
210 a2Pos.Y()=aYMovingRange.Min(); in MouseMove()
314 if(a2Pos.X()<aXMovingRange.Min()) in MoveSplitTo()
317 a2Pos.X()=aXMovingRange.Min(); in MoveSplitTo()
[all …]
/aoo4110/main/sc/source/ui/view/
H A Dviewutil.cxx446 rX1 = Min(nNewStartX,nOldStartX); in GetDiff()
447 rY1 = Min(nNewStartY,nOldStartY); in GetDiff()
455 rY1 = Min( nNewEndY, nOldEndY ); in GetDiff()
460 rY1 = Min( nNewStartY, nOldStartY ); in GetDiff()
468 rX1 = Min( nNewEndX, nOldEndX ); in GetDiff()
473 rX1 = Min( nNewStartX, nOldStartX ); in GetDiff()
496 rX1 = Min(nNewStartX,nOldStartX); in GetXorDiff()
497 rY1 = Min(nNewStartY,nOldStartY); in GetXorDiff()
505 rY1 = Min( nNewEndY, nOldEndY ) + 1; in GetXorDiff()
510 rY1 = Min( nNewStartY, nOldStartY ); in GetXorDiff()
[all …]
/aoo4110/main/tools/source/memtools/
H A Dmultisel.cxx65 pSel->aSels.GetObject(nPos)->Min(), in Print()
255 aRg.Min() = nPage; in MultiSelection()
282 aRg.Min() = nPage; in MultiSelection()
457 ++aSels.GetObject(nSubSelPos)->Min(); in Select()
517 nOld = pRange->Min(); in Select()
518 pRange->Min() = (long)nTmpMin; in Select()
650 --( aSels.GetObject(nPos)->Min() ); in Remove()
816 if( pRange->Max() < aTotRange.Min() ) in SetTotalRange()
821 else if( pRange->Min() < aTotRange.Min() ) in SetTotalRange()
823 pRange->Min() = aTotRange.Min(); in SetTotalRange()
[all …]
/aoo4110/main/editeng/source/editeng/
H A Dimpedit4.cxx190 return aSel.Min(); in ReadRTF()
213 return aSel.Min(); in ReadHTML()
1518 aCurSel.Min() = aCurSel.Max(); in Spell()
2055 EditSelection aStartSelection(aSentencePaM.Min(), aCurSel.Min()); in SpellSentence()
2125 if(rSel.Min() != rSel.Max()) in AddPortionIterated()
2690 aStartPaM = aSel.Min(); in Search()
2696 aStartPaM = aSel.Min(); in Search()
3081 if (aSel.Min().GetNode() == rSel.Min().GetNode() && in TransliterateText()
3082 aSel.Min().GetIndex() > rSel.Min().GetIndex()) in TransliterateText()
3083 aSel.Min().SetIndex( rSel.Min().GetIndex() ); in TransliterateText()
[all …]
H A Dimpedit2.cxx509 const sal_Unicode nCharCode = aSel.Min().GetNode()->GetChar( aSel.Min().GetIndex() ); in Command()
2499 return aSel.Min(); in ImpDeleteSelection()
2668 EditPaM aPaM( rCurSel.Min() ); in InsertText()
3473 if ( aCurSel.Min().GetIndex() > aCurSel.Min().GetNode()->Len() ) in UpdateSelections()
3475 aCurSel.Min().GetIndex() = aCurSel.Min().GetNode()->Len(); in UpdateSelections()
3585 aMatchSel.Min() = aTmpSel.Min(); in MatchGroup()
3627 aMatchSel.Min() = aTmpSel.Min(); in MatchGroup()
3642 aSel.Min() = aSel.Max(); in StopSelectionMode()
3854 aRange.Min() += nSBL; in GetInvalidYOffsets()
3861 aRange.Max() = aRange.Min(); in GetInvalidYOffsets()
[all …]
H A Deditundo.cxx107 aNewSel.Min() = aNewSel.Max(); in Undo()
142 aNewSel.Min() = aNewSel.Max(); in Redo()
477 long nTmpDest = aTmpRange.Min(); in Undo()
479 long nDiff = ( nDest - aTmpRange.Min() ); in Undo()
480 aTmpRange.Min() += nDiff; in Undo()
483 if ( nParagraphs.Min() < (long)nDest ) in Undo()
486 aTmpRange.Min() -= nLen; in Undo()
686 aDelSel.Max() = aSel.Min(); in Undo()
699 aNewSel.Min().SetNode( aDelSel.Min().GetNode() ); in Undo()
700 aNewSel.Min().GetIndex() = in Undo()
[all …]
H A Deditview.cxx246 aNewSelection.Min() = EditPaM( pNode, pNode->Len() ); in SetSelection()
400 aPaM1 = aTmpSel.Min(); in InsertText()
592 aNewSel.Min() = aOldSel.Min(); in Read()
782 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
797 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
1246 EditPaM aCursor = pImpEditView->GetEditSelection().Min(); in ExecuteSpellPopup()
1371 if ( ( aSel.Min().GetNode() == aSel.Max().GetNode() ) && in GetFieldAtSelection()
1372 ( ( aSel.Max().GetIndex() == aSel.Min().GetIndex() ) || in GetFieldAtSelection()
1373 ( aSel.Max().GetIndex() == aSel.Min().GetIndex()+1 ) ) ) in GetFieldAtSelection()
1375 EditPaM aPaM = aSel.Min(); in GetFieldAtSelection()
[all …]
H A Dimpedit.cxx95 aEditSelection.Min() = pEng->pImpEditEngine->GetEditDoc().GetStartPaM(); in ImpEditView()
129 pmEnd == rEditSelection.Min() && in SetEditSelection()
192 ContentNode* pStartNode = aTmpSel.Min().GetNode(); in DrawSelection()
215 nStartLine = pTmpPortion->GetLines().FindLine( aTmpSel.Min().GetIndex(), sal_False ); in DrawSelection()
230 nStartIndex = aTmpSel.Min().GetIndex(); in DrawSelection()
261 aTopLeft.X() = aLineXPosStartEnd.Min(); in DrawSelection()
281 Point aPt1( Min( nX1, nX2 ), aTopLeft.Y() ); in DrawSelection()
1405 GetEditSelection().Min() = GetEditSelection().Max(); in CreateAnchor()
1412 GetEditSelection().Min() = GetEditSelection().Max(); in DeselectAll()
1469 if ( aNewEditSelection.Min() != aPaM ) in SetCursorAtPoint()
[all …]
H A Dimpedit5.cxx62 sal_uInt16 nStartPara = aEditDoc.GetPos( aSel.Min().GetNode() ); in SetStyleSheet()
206 sal_uInt16 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in CreateAttribUndo()
350 sal_uInt16 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in GetAttribs()
362 nStartPos = aSel.Min().GetIndex(); in GetAttribs()
537 sal_uInt16 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in SetAttribs()
570 nStartPos = aSel.Min().GetIndex(); in SetAttribs()
641 sal_uInt16 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in RemoveCharAttribs()
668 nStartPos = aSel.Min().GetIndex(); in RemoveCharAttribs()
/aoo4110/main/vcl/source/control/
H A Dedit.cxx745 aSelection.Min() = 0; in ImplDelete()
773 maSelection.Min() = aSelection.Min(); in ImplDelete()
986 maSelection.Min() = aSelection.Min() + aNewText.getLength(); in ImplInsertText()
1011 maSelection.Min() = 0; in ImplSetText()
1723 aSel.Min() = aSel.Max(); in ImplHandleKeyEvent()
2016 maSelection.Min() = 0; in GetFocus()
2646 aNew.Min() = maText.Len(); in ImplSetSelection()
2649 if ( aNew.Min() < 0 ) in ImplSetSelection()
2650 aNew.Min() = 0; in ImplSetSelection()
2664 long nB=aNew.Max(), nA=aNew.Min(),oB=aTemp.Max(), oA=aTemp.Min(); in ImplSetSelection()
[all …]
H A Dfield2.cxx425 if ( aSel.Min() == aSel.Max() ) in ImplPatternProcessStrictModify()
427 aSel.Min() = nMaxPos; in ImplPatternProcessStrictModify()
428 aSel.Max() = aSel.Min(); in ImplPatternProcessStrictModify()
431 aSel.Min() = nMaxPos; in ImplPatternProcessStrictModify()
508 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
522 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
524 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput()
540 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
560 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
562 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput()
[all …]
/aoo4110/main/tools/inc/tools/
H A Dgen.hxx282 long Min() const { return nA; } in Min() function in Range
286 long& Min() { return nA; } in Min() function in Range
331 long Min() const { return nA; } in Min() function in Selection
335 long& Min() { return nA; } in Min() function in Selection
344 long getMin() const { return Min(); } in getMin()
346 void setMin(long nMin) { Min() = nMin; } in setMin()
531 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in TopCenter()
532 Min( nTop, nBottom) ); in TopCenter()
540 return Point( Min( nLeft, nRight ) + Abs( (nRight - nLeft)/2 ), in BottomCenter()
549 return Point( Min( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in LeftCenter()
/aoo4110/main/tools/source/generic/
H A Dgen.cxx234 nLeft = Min( Min( nLeft, rRect.nLeft ), Min( nRight, rRect.nRight ) ); in Union()
236 nTop = Min( Min( nTop, rRect.nTop ), Min( nBottom, rRect.nBottom ) ); in Union()
270 nRight = Min( nRight, aTmpRect.nRight ); in Intersection()
272 nBottom= Min( nBottom, aTmpRect.nBottom ); in Intersection()
/aoo4110/main/formula/source/ui/dlg/
H A Dformula.cxx874 aFuncSel.Min() = nNextFStart; in FillControls()
1123 aSel.Min()=aSel.Max(); in IMPL_LINK()
1384 aSel .Min()=1; in IMPL_LINK()
1392 aSel .Min()+=1; in IMPL_LINK()
1417 if(nPos<aSel.Min()-1) in IMPL_LINK()
1446 if(aSel.Min()==0) in IMPL_LINK()
1448 aSel.Min()=1; in IMPL_LINK()
1452 if(aSel.Min()!=aString.Len()) in IMPL_LINK()
1454 xub_StrLen nPos=(xub_StrLen)aSel.Min(); in IMPL_LINK()
1508 aFuncSel.Min()=PrivStart; in UpdateSelection()
[all …]
/aoo4110/main/sd/source/ui/slidesorter/view/
H A DSlideSorterView.cxx443 aRange.Min() + nScrollBarSize, in UpdateOrientation()
453 aRange.Min() + nScrollBarSize, in UpdateOrientation()
463 mpLayouter->GetValidHorizontalSizeRange().Min() in UpdateOrientation()
466 mpLayouter->GetValidVerticalSizeRange().Min() in UpdateOrientation()
550 ::std::min(maVisiblePageRange.Min(), aRange.Min()), in DeterminePageObjectVisibilities()
559 for (int nIndex=aUnion.Min(); nIndex<=aUnion.Max(); nIndex++) in DeterminePageObjectVisibilities()
799 for (sal_Int32 nIndex=aRange.Min(); nIndex<=aRange.Max(); ++nIndex) in Paint()
/aoo4110/main/vcl/source/gdi/
H A Dalpha.cxx157 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel()
158 const long nHeight = Min( aRectSrc.GetHeight(), aRectDst.GetHeight() ); in CopyPixel()
187 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel()
188 const long nHeight = Min( aRectSrc.GetHeight(), aRectDst.GetHeight() ); in CopyPixel()
325 const long nWidth = Min( pMaskAcc->Width(), pAcc->Width() ); in Replace()
326 const long nHeight = Min( pMaskAcc->Height(), pAcc->Height() ); in Replace()
H A Dbitmap.cxx1026 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel()
1080 const long nWidth = Min( aRectSrc.GetWidth(), aRectDst.GetWidth() ); in CopyPixel()
1081 const long nHeight = Min( aRectSrc.GetHeight(), aRectDst.GetHeight() ); in CopyPixel()
1494 const long nWidth = Min( pMaskAcc->Width(), pAcc->Width() ); in Replace()
1495 const long nHeight = Min( pMaskAcc->Height(), pAcc->Height() ); in Replace()
1573 const long nWidth = Min( pAlphaAcc->Width(), pAcc->Width() ); in Replace()
1574 const long nHeight = Min( pAlphaAcc->Height(), pAcc->Height() ); in Replace()
1839 const long nWidth = Min( pMaskAcc->Width(), pAcc->Width() ); in CombineSimple()
1840 const long nHeight = Min( pMaskAcc->Height(), pAcc->Height() ); in CombineSimple()
1986 const long nWidth = Min( pAlphaAcc->Width(), pAcc->Width() ); in Blend()
[all …]
/aoo4110/main/sc/source/ui/dbgui/
H A Dcsvgrid.cxx393 return GetColumnFromPos( Min( GetLastVisPos(), GetPosCount() ) - 1 ); in GetLastVisColumn()
528 sal_uInt32 nCount = Min( GetColumnCount(), static_cast<sal_uInt32>(MAXCOLCOUNT) ); in FillColumnDataFix()
535 Min( static_cast< sal_Int32 >( STRING_MAXLEN ), GetColumnPos( nColIx ) ) ); in FillColumnDataFix()
868 nPos = Max( Min( nPos, GetPosCount() - sal_Int32( 1 ) ), sal_Int32( 0 ) ); in Tracking()
958 sal_Int32 nX2 = Min( GetColumnX( nColIx + 1 ), GetWidth() ); in Command()
1030 Min( GetColumnX( nColIndex + 1 ), GetLastX() ), GetHeight() - 1 ) ) ); in ImplSetColumnClipRegion()
1111 sal_Int32 nX = Min( GetColumnX( GetLastVisColumn() + 1 ), GetLastX() ); in ImplDrawFirstLineSep()
1286 nFirstColIx = GetColumnFromPos( Min( nOldPos + GetVisPosCount(), GetPosCount() ) - 1 ); in ImplDrawHorzScrolled()
1287 nLastColIx = GetColumnFromPos( Min( nPos + GetVisPosCount(), GetPosCount() ) - 1 ); in ImplDrawHorzScrolled()
1335 sal_Int32 nX2 = Min( GetColumnX( nColIndex + 1 ) - sal_Int32( 1 ), GetLastX() ); in ImplDrawTrackingRect()
[all …]
H A Dcsvruler.cxx172 sal_Int32 nActiveWidth = Min( GetWidth() - GetHdrWidth(), GetPosCount() * GetCharWidth() ); in InitSizeData()
277 nNewPos = Min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos()
327 nNewPos = Min( nPos, FindEmptyPos( 0, MOVE_NEXT ) ); in FindEmptyPos()
424 nPos = Max( Min( nPos, GetPosCount() - sal_Int32( 1 ) ), sal_Int32( 1 ) ); in MouseMove()
563 … aRect.Right() = Min( Min( GetX( GetPosCount() ), GetLastX() ), nPosX + nWidth - sal_Int32( 1 ) ); in ImplDrawArea()
/aoo4110/main/sw/source/ui/envelp/
H A Denvfmt.cxx220 long lHeight = Min(lWVal, lHVal); in IMPL_LINK_INLINE_START()
468 lHeight = Min(aSz.Width(), aSz.Height()); in IMPL_LINK()
505 lHeight = Min(lWVal, lHVal); in SetMinMax()
580 rItem.lHeight = Min(lWVal, lHVal); in FillItem()
587 rItem.lHeight = Min(lWVal, lHVal); in FillItem()
609 Size( Min(rItem.lWidth, rItem.lHeight), in Reset()
621 SetFldVal(aSizeHeightField , Min(rItem.lWidth, rItem.lHeight)); in Reset()
/aoo4110/main/sc/source/ui/miscdlgs/
H A Dsimpref.cxx143 aVal.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in SetReference()
144 aVal.Insert( aRefStr, (xub_StrLen)aSel.Min() ); in SetReference()
145 Selection aNewSel( aSel.Min(), aSel.Min()+aRefStr.Len() ); in SetReference()
/aoo4110/main/svtools/source/control/
H A Dfmtfield.cxx458 if (aNewSel.Min() == 0) in SetTextFormatted()
466 aNewSel.Min() = aNewSel.Max(); in SetTextFormatted()
471 else if (aNewSel.Max() == aNewSel.Min()) in SetTextFormatted()
474 aNewSel.Min() = nNewLen; in SetTextFormatted()
573 if (aSel.Min() == 0) in ImplSetTextImpl()
581 aSel.Min() = aSel.Max(); in ImplSetTextImpl()
586 else if (aSel.Max() == aSel.Min()) in ImplSetTextImpl()
589 aSel.Min() = nNewLen; in ImplSetTextImpl()
/aoo4110/main/svtools/source/edit/
H A Dsvmedit.cxx613 if ( aNewSelection.Min() < 0 ) in SetSelection()
614 aNewSelection.Min() = 0; in SetSelection()
615 else if ( aNewSelection.Min() > aText.Len() ) in SetSelection()
616 aNewSelection.Min() = aText.Len(); in SetSelection()
622 long nEnd = Max( aNewSelection.Min(), aNewSelection.Max() ); in SetSelection()
629 if ( x == aNewSelection.Min() ) in SetSelection()
658 maSelection.Min() += pExtTextEngine->GetTextLen( n ); in GetSelection()
659 maSelection.Min()++; in GetSelection()
663 maSelection.Max() = maSelection.Min(); in GetSelection()
664 maSelection.Min() += aTextSel.GetStart().GetIndex(); in GetSelection()
/aoo4110/main/sw/source/ui/uiview/
H A Dviewport.cxx157 return Max( Min( lMax, lSize ), 0L ); in SetHScrollMax()
165 return Max( Min( lMax, lSize), 0L ); // siehe horz. in SetVScrollMax()
388 nYScroll = Min(nYScroll, nCurHeight - nDesHeight); // wird es knapp, dann nicht zuviel scrollen in CalcPt()
418 pPt->X() = Min( rRect.Left() - nScrollX, pPt->X() ); in CalcPt()
493 aSize.Width() = Min( aSize.Width(), aVisSize.Width() ); in Scroll()
494 aSize.Height()= Min( aSize.Height(),aVisSize.Height()); in Scroll()
503 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
520 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
1362 nFact = static_cast< sal_uInt16 >(Min( 600, nFact + 10 )); in HandleWheelCommands()
/aoo4110/main/sc/source/core/data/
H A Dattarray.cxx372 aAdrEnd .SetRow( Min(nEndRow,pData[nx].nRow) ); in SetPatternArea()
1034 nEndRow - Min( pData[i].nRow, (SCROW)(nEndRow-1) ) ); in MergeBlockFrame()
1122 nTmpEnd = Min( (SCROW)(nEndRow-1), (SCROW)(pData[i].nRow) ); in ApplyBlockFrame()
1514 SCROW nAttrRow = Min( (SCROW)nRow, (SCROW)nEndRow ); in SetPatternAreaSafe()
1571 SCROW nAttrRow = Min( (SCROW)nRow, (SCROW)nEndRow ); in ApplyFlags()
1608 SCROW nAttrRow = Min( (SCROW)nRow, (SCROW)nEndRow ); in RemoveFlags()
1645 SCROW nAttrRow = Min( (SCROW)nRow, (SCROW)nEndRow ); in ClearItems()
1695 SCROW nAttrRow = Min( nThisEnd, nEndRow ); in ChangeIndent()
2271 SCROW nAttrRow = Min( (SCROW)nRow, (SCROW)nEndRow ); in DeleteHardAttr()
2368 Min((SCROW)(pData[i].nRow + nDy), nDestEnd), pNewPattern); in CopyArea()
[all …]

Completed in 258 milliseconds

12345678910>>...15