Home
last modified time | relevance | path

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

12345678910>>...15

/AOO41X/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()
131 nDeltaX=(short)(aXMovingRange.Min()-a3Pos.X()); in MouseButtonUp()
132 a2Pos.X()=aXMovingRange.Min(); in MouseButtonUp()
145 if(a2Pos.Y()<aYMovingRange.Min()) in MouseButtonUp()
147 nDeltaY=(short)(aYMovingRange.Min()-a3Pos.Y()); in MouseButtonUp()
148 a2Pos.Y()=aYMovingRange.Min(); in MouseButtonUp()
191 if(a2Pos.X()<aXMovingRange.Min()) in MouseMove()
193 nDeltaX=(short)(aXMovingRange.Min()-a3Pos.X()); in MouseMove()
[all …]
/AOO41X/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 …]
/AOO41X/main/tools/source/memtools/
H A Dmultisel.cxx54 pSel->aTotRange.Min(), pSel->aTotRange.Max() ); in Print()
65 pSel->aSels.GetObject(nPos)->Min(), in Print()
111 if ( (aSels.GetObject(nPos1)->Max() + 1) == aSels.GetObject(nPos2)->Min() ) in ImplMergeSubSelections()
255 aRg.Min() = nPage; in MultiSelection()
282 aRg.Min() = nPage; in MultiSelection()
421 aSels.GetObject(nSubSelPos)->Min() == (nIndex+1) ) in Select()
423 aSels.GetObject(nSubSelPos)->Min() = nIndex; in Select()
456 if ( aSels.GetObject(nSubSelPos)->Min() == nIndex ) in Select()
457 ++aSels.GetObject(nSubSelPos)->Min(); in Select()
466 new Range( aSels.GetObject(nSubSelPos)->Min(), nIndex-1 ), in Select()
[all …]
/AOO41X/main/editeng/source/editeng/
H A Dimpedit4.cxx190 return aSel.Min(); in ReadRTF()
213 return aSel.Min(); in ReadHTML()
267 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in WriteText()
287 nStartPos = aSel.Min().GetIndex(); in WriteText()
371 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in WriteRTF()
636 nStartPos = aSel.Min().GetIndex(); in WriteRTF()
1039 aCompleteSelection.Min() = aEditDoc.GetStartPaM(); in CreateTextObject()
1063 nStartNode = aEditDoc.GetPos( aSel.Min().GetNode() ); in CreateBinTextObject()
1066 sal_Bool bOnlyFullParagraphs = ( aSel.Min().GetIndex() || in CreateBinTextObject()
1094 nStartPos = aSel.Min().GetIndex(); in CreateBinTextObject()
[all …]
H A Dimpedit2.cxx302 ContentNode* pStartNode = aSel.Min().GetNode(); in GetSelected()
318 nStartPos = aSel.Min().GetIndex(); in GetSelected()
359 aNewSelection.Min().SetIndex( 0 ); in MouseButtonDown()
360 aNewSelection.Max().SetIndex( aCurSel.Min().GetNode()->Len() ); in MouseButtonDown()
503 aSel.Min().GetIndex() += mpIMEInfos->nLen-1; in Command()
509 … const sal_Unicode nCharCode = aSel.Min().GetNode()->GetChar( aSel.Min().GetIndex() ); in Command()
1020 pEditView->pImpEditView->GetEditSelection().Min() = aPaM; in MoveCursor()
1649 aNewSel.Min().SetIndex( (sal_uInt16)aBoundary.startPos ); in SelectWord()
1660 const EditPaM& rPaM = rCurSel.Min(); in SelectSentence()
1671 aNewSel.Min().SetIndex( (sal_uInt16)nStart ); in SelectSentence()
[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()
697 if ( aNewSel.Min().GetNode() == aDelSel.Max().GetNode() ) in Undo()
699 aNewSel.Min().SetNode( aDelSel.Min().GetNode() ); in Undo()
[all …]
H A Deditview.cxx241 ParaPortion* pPortion = PIMPEE->FindParaPortion( aNewSelection.Min().GetNode() ); in SetSelection()
246 aNewSelection.Min() = EditPaM( pNode, pNode->Len() ); in SetSelection()
270 …aSelection.nStartPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Min().GetNod… in GetSelection()
273 aSelection.nStartPos = pImpEditView->GetEditSelection().Min().GetIndex(); in GetSelection()
400 aPaM1 = aTmpSel.Min(); in InsertText()
592 aNewSel.Min() = aOldSel.Min(); in Read()
731 long nDest = ( nDiff > 0 ? aRange.Max() : aRange.Min() ) + nDiff; in MoveParagraphs()
782 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
797 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
851 sal_uInt16 nStartPara = PIMPEE->GetEditDoc().GetPos( aSel.Min().GetNode() ); in GetStyleSheet()
[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()
228 …if ( ( nPara == nStartPara ) && ( nLine == nStartLine ) && ( nStartIndex != aTmpSel.Min().GetIndex… 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()
1126 …bIsWrong = rPaM.GetNode()->GetWrongList()->HasWrong( aSel.Min().GetIndex(), aSel.Max().GetIndex() … in IsWrongSpelledWord()
1330 …eOrDropInfos.nStartPara = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( aSel.Min().GetNode() ); in Paste()
[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()
/AOO41X/main/vcl/source/control/
H A Dedit.cxx596 if( i >= aTmpSel.Min() && i < aTmpSel.Max() ) in ImplRepaint()
722 (((rSelection.Min() == 0) && (nDirection == EDIT_DEL_LEFT)) || in ImplDelete()
738 …i18n::Boundary aBoundary = xBI->getWordBoundary( maText, aSelection.Min(), GetSettings().GetLocale… in ImplDelete()
739 if ( aBoundary.startPos == aSelection.Min() ) in ImplDelete()
740 …aBoundary = xBI->previousWord( maText, aSelection.Min(), GetSettings().GetLocale(), i18n::WordType… in ImplDelete()
741 aSelection.Min() = aBoundary.startPos; in ImplDelete()
745 aSelection.Min() = 0; in ImplDelete()
750 …aSelection.Min() = xBI->previousCharacters( maText, aSelection.Min(), GetSettings().GetLocale(), i… in ImplDelete()
772 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplDelete()
773 maSelection.Min() = aSelection.Min(); in ImplDelete()
[all …]
H A Dfield2.cxx420 sal_uLong nMaxSel = Max( aSel.Min(), aSel.Max() ); in ImplPatternProcessStrictModify()
425 if ( aSel.Min() == aSel.Max() ) in ImplPatternProcessStrictModify()
427 aSel.Min() = nMaxPos; in ImplPatternProcessStrictModify()
428 aSel.Max() = aSel.Min(); in ImplPatternProcessStrictModify()
430 else if ( aSel.Min() > aSel.Max() ) in ImplPatternProcessStrictModify()
431 aSel.Min() = nMaxPos; in ImplPatternProcessStrictModify()
508 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
519 nCursorPos = (xub_StrLen)aSel.Min(); in ImplPatternProcessKeyInput()
522 aSel.Min() = aOldSel.Min(); in ImplPatternProcessKeyInput()
524 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput()
[all …]
/AOO41X/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()
/AOO41X/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()
/AOO41X/main/formula/source/ui/dlg/
H A Dformula.cxx381 pData->SetFStart((xub_StrLen)pMEdit->GetSelection().Min()); in ~FormulaDlg_Impl()
874 aFuncSel.Min() = nNextFStart; in FillControls()
894 xub_StrLen nEditPos=(xub_StrLen) pMEdit->GetSelection().Min(); in FillControls()
927 nTempStart=(xub_StrLen)pMEdit->GetSelection().Min(); in FillControls()
1123 aSel.Min()=aSel.Max(); in IMPL_LINK()
1384 aSel .Min()=1; in IMPL_LINK()
1392 aSel .Min()+=1; in IMPL_LINK()
1400 m_pHelper->setSelection((xub_StrLen)aSel.Min(),(xub_StrLen)aSel.Max()); in IMPL_LINK()
1402 xub_StrLen nPos=(xub_StrLen)aSel.Min()-1; in IMPL_LINK()
1417 if(nPos<aSel.Min()-1) in IMPL_LINK()
[all …]
/AOO41X/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()
/AOO41X/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()
1027 const long nHeight = Min( aRectSrc.GetHeight(), aRectDst.GetHeight() ); 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()
[all …]
/AOO41X/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()
650 … sal_Int32 nMaxPos = Min( nPosEnd - GetVisPosCount() + CSV_SCROLL_DIST + sal_Int32( 1 ), nMinPos ); in MoveCursor()
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()
[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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()
2302 rAttrArray.SetPatternArea( nStart, Min( (SCROW)pData[i].nRow, (SCROW)nEndRow ), in MoveTo()
[all …]

12345678910>>...15