Home
last modified time | relevance | path

Searched refs:Max (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/aoo42x/main/editeng/source/editeng/
H A Dimpedit4.cxx153 return aSel.Max(); in ReadXML()
1067 ( aSel.Max().GetIndex() < aSel.Max().GetNode()->Len() ) ) ? in CreateBinTextObject()
1425 aSel.Max() = aPaM; in InsertBinTextObject()
1516 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in Spell()
1517 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in Spell()
1651 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in Convert()
2052 if(aSentencePaM.Max().GetIndex() < aCurSel.Max().GetIndex()) in SpellSentence()
2053 aSentencePaM.Max() = aCurSel.Max(); in SpellSentence()
2401 if ( aSel.Max().GetIndex() < aSel.Max().GetNode()->Len() ) in DoOnlineSpelling()
3085 aSel.Max().GetIndex() < rSel.Max().GetIndex()) in TransliterateText()
[all …]
H A Deditundo.cxx107 aNewSel.Min() = aNewSel.Max(); in Undo()
142 aNewSel.Min() = aNewSel.Max(); in Redo()
357 aSel.Max().GetIndex() = aSel.Max().GetIndex() + aText.Len(); in Undo()
405 aSel.Max().GetIndex() = aSel.Max().GetIndex() + aText.Len(); in Undo()
414 aSel.Max().GetIndex() = aSel.Max().GetIndex() + aText.Len(); in Redo()
440 aSel.Max().GetIndex()++; in Undo()
454 aSel.Max().GetIndex()++; in Redo()
481 aTmpRange.Max() += nDiff; in Undo()
487 aTmpRange.Max() -= nLen; in Undo()
686 aDelSel.Max() = aSel.Min(); in Undo()
[all …]
H A Dimpedit2.cxx504 aSel.Max().GetIndex() = in Command()
542 aSel.Max().GetIndex() = in Command()
2162 aSel.Max().GetIndex() = aSel.Max().GetIndex() + nChars; in ImpRemoveChars()
2643 aFirstWordSel.Max().GetIndex() <= aSel.Max().GetIndex() && in AutoCorrect()
2661 return aSel.Max(); in AutoCorrect()
2778 aPaM = aCurSel.Max(); in ImpInsertText()
2904 aPaM = aCurSel.Max(); in ImpInsertFeature()
2930 aPaM = rCurSel.Max(); in ImpInsertParaBreak()
3481 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in UpdateSelections()
3483 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in UpdateSelections()
[all …]
H A Deertfpar.cxx112 EditPaM aEnd1PaM( pImpEditEngine->ImpInsertParaBreak( aCurSel.Max() ) ); in CallParser()
131 ContentNode* pCurNode = aCurSel.Max().GetNode(); in CallParser()
137 aSel.Max() = EditPaM( pCurNode, 0 ); in CallParser()
138 aCurSel.Max() = pImpEditEngine->ImpDeleteSelection( aSel ); in CallParser()
140 EditPaM aEnd2PaM( aCurSel.Max() ); in CallParser()
156 aCurSel.Max() = pImpEditEngine->ImpConnectParagraphs( in CallParser()
282 …aCurSel = pImpEditEngine->CursorLeft( aCurSel.Max(), ::com::sun::star::i18n::CharacterIteratorMode… in MovePos()
293 ContentNode* pN = aCurSel.Max().GetNode(); in SetEndPrevPara()
617 return new EditNodeIdx( pImpEditEngine, pCurSel->Max().GetNode() ); in MakeNodeIdx()
622 ContentNode* pN = pCurSel->Max().GetNode(); in GetNodeIdx()
[all …]
H A Dimpedit.cxx130 pmEnd == rEditSelection.Max())//if move cursor to the last para. in SetEditSelection()
193 ContentNode* pEndNode = aTmpSel.Max().GetNode(); in DrawSelection()
235 nEndIndex = aTmpSel.Max().GetIndex(); in DrawSelection()
262 aBottomRight.X() = aLineXPosStartEnd.Max(); in DrawSelection()
282 Point aPt2( Max( nX1, nX2 ), aBottomRight.Y() ); in DrawSelection()
670 EditPaM aPaM( aEditSelection.Max() ); in ShowCursor()
1144 EditPaM aPaM = GetEditSelection().Max(); in SpellIgnoreOrAddWord()
1405 GetEditSelection().Min() = GetEditSelection().Max(); in CreateAnchor()
1412 GetEditSelection().Min() = GetEditSelection().Max(); in DeselectAll()
1460 EditSelection aTmpNewSel( GetEditSelection().Max(), aPaM ); in SetCursorAtPoint()
[all …]
H A Deditview.cxx248 pPortion = PIMPEE->FindParaPortion( aNewSelection.Max().GetNode() ); in SetSelection()
253 aNewSelection.Max() = EditPaM( pNode, pNode->Len() ); in SetSelection()
782 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
797 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText()
927 aSel = PIMPEE->EndOfWord( aSel.Max() ); in CompleteAutoCorrect()
992 EditPaM aPaM = pImpEditView->GetEditSelection().Max(); in IsCursorAtWrongSpelledWord()
1321 aCurSel = PIMPEE->SelectWord( aCurSel.Max(), nWordType ); in SelectCurrentWord()
1372 if ( ( aSel.Min().GetNode() == aSel.Max().GetNode() ) && in GetFieldAtSelection()
1373 ( ( aSel.Max().GetIndex() == aSel.Min().GetIndex() ) || in GetFieldAtSelection()
1374 ( aSel.Max().GetIndex() == aSel.Min().GetIndex()+1 ) ) ) in GetFieldAtSelection()
[all …]
H A Deehtml.cxx228 sal_uInt32 nNode = pImpEditEngine->GetEditDoc().GetPos( aCurSel.Max().GetNode() ); in NextToken()
229 SfxItemSet aItems( aCurSel.Max().GetNode()->GetContentAttribs().GetItems() ); in NextToken()
534 …DBG_ASSERT( pSel || ( aCurSel.Min().GetNode() == aCurSel.Max().GetNode() ), "ImpInsertAttribs: Sel… in ImpSetAttribs()
537 EditPaM aEndPaM( pSel ? pSel->Max() : aCurSel.Max() ); in ImpSetAttribs()
627 sal_uInt32 nNode = pImpEditEngine->GetEditDoc().GetPos( aCurSel.Max().GetNode() ); in ImpSetStyleSheet()
629 SfxItemSet aItems( aCurSel.Max().GetNode()->GetContentAttribs().GetItems() ); in ImpSetStyleSheet()
774 ContentNode* pNode = aCurSel.Max().GetNode(); in ThrowAwayBlank()
782 return aCurSel.Max().GetNode()->Len() ? sal_True : sal_False; in HasTextInCurrentPara()
H A Dimpedit5.cxx63 sal_uInt32 nEndPara = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetStyleSheet()
207 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateAttribUndo()
351 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in GetAttribs()
364 nEndPos = aSel.Max().GetIndex(); in GetAttribs()
538 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetAttribs()
572 nEndPos = aSel.Max().GetIndex(); in SetAttribs()
642 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in RemoveCharAttribs()
670 nEndPos = aSel.Max().GetIndex(); in RemoveCharAttribs()
/aoo42x/main/tools/source/memtools/
H A Dmultisel.cxx114 aSels.GetObject(nPos1)->Max() = aSels.GetObject(nPos2)->Max(); in ImplMergeSubSelections()
256 aRg.Max() = nNum; in MultiSelection()
283 aRg.Max() = nNum; in MultiSelection()
540 nOld = pRange->Max(); in Select()
541 pRange->Max() = (long)nTmpMax; in Select()
615 aTotRange.Max() += nCount; in Insert()
655 aTotRange.Max() -= 1; in Remove()
664 long nPrevLast = aTotRange.Max(); in Append()
665 aTotRange.Max() += nCount; in Append()
842 else if( pRange->Max() > aTotRange.Max() ) in SetTotalRange()
[all …]
/aoo42x/main/sc/source/ui/view/
H A Dviewutil.cxx448 rX2 = Max(nNewEndX,nOldEndX); in GetDiff()
449 rY2 = Max(nNewEndY,nOldEndY); in GetDiff()
456 rY2 = Max( nNewEndY, nOldEndY ); in GetDiff()
461 rY2 = Max( nNewStartY, nOldStartY ); in GetDiff()
469 rX2 = Max( nNewEndX, nOldEndX ); in GetDiff()
474 rX2 = Max( nNewStartX, nOldStartX ); in GetDiff()
498 rX2 = Max(nNewEndX,nOldEndX); in GetXorDiff()
499 rY2 = Max(nNewEndY,nOldEndY); in GetXorDiff()
506 rY2 = Max( nNewEndY, nOldEndY ); in GetXorDiff()
585 rY2 = Max( nNewEndY, nOldEndY ); in GetXorDiff()
[all …]
/aoo42x/main/sc/source/ui/formdlg/
H A Dprivsplt.cxx56 aXMovingRange.Max()=nNewX; in ScPrivatSplit()
58 aYMovingRange.Max()=nNewY; in ScPrivatSplit()
134 else if(a2Pos.X()>aXMovingRange.Max()) in MouseButtonUp()
137 a2Pos.X()=aXMovingRange.Max(); in MouseButtonUp()
150 else if(a2Pos.Y()>aYMovingRange.Max()) in MouseButtonUp()
153 a2Pos.Y()=aYMovingRange.Max(); in MouseButtonUp()
199 a2Pos.X()=aXMovingRange.Max(); in MouseMove()
215 a2Pos.Y()=aYMovingRange.Max(); in MouseMove()
319 else if(a2Pos.X()>aXMovingRange.Max()) in MoveSplitTo()
322 a2Pos.X()=aXMovingRange.Max(); in MoveSplitTo()
[all …]
/aoo42x/main/vcl/source/control/
H A Dedit.cxx1026 maSelection.Max() = 0; in ImplSetText()
1357 aSelection.Max() = nChar; in ImplSetCursorPos()
1715 aSel.Max() = 0; in ImplHandleKeyEvent()
1719 aSel.Max() = 0xFFFF; in ImplHandleKeyEvent()
1723 aSel.Min() = aSel.Max(); in ImplHandleKeyEvent()
2012 maSelection.Max() = 0; in GetFocus()
2651 aNew.Max() = maText.Len(); in ImplSetSelection()
2654 if ( aNew.Max() < 0 ) in ImplSetSelection()
2655 aNew.Max() = 0; in ImplSetSelection()
2667 long nB=aNew.Max(), nA=aNew.Min(),oB=aTemp.Max(), oA=aTemp.Min(); in ImplSetSelection()
[all …]
H A Dfield2.cxx420 sal_uLong nMaxSel = Max( aSel.Min(), aSel.Max() ); in ImplPatternProcessStrictModify()
425 if ( aSel.Min() == aSel.Max() ) in ImplPatternProcessStrictModify()
428 aSel.Max() = aSel.Min(); in ImplPatternProcessStrictModify()
430 else if ( aSel.Min() > aSel.Max() ) in ImplPatternProcessStrictModify()
433 aSel.Max() = nMaxPos; in ImplPatternProcessStrictModify()
498 xub_StrLen nCursorPos = (xub_StrLen)aOldSel.Max(); in ImplPatternProcessKeyInput()
524 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput()
558 aSel.Max() = nNewPos; in ImplPatternProcessKeyInput()
562 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput()
1877 aSelection.Max() = SELECTION_MAX; in ImplNewFieldValue()
[all …]
/aoo42x/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/
H A Dhyphenimp.cxx80 #define Max(a,b) (a > b ? a : b) macro
394Max(dict->clhmin, Max(dict->clhmin, 2) + Max(0, minLead - Max(dict->lhmin, 2))), in hyphenate()
395Max(dict->crhmin, Max(dict->crhmin, 2) + Max(0, minTrail - Max(dict->rhmin, 2))) ); in hyphenate()
654 Max(dict->clhmin, Max(dict->clhmin, 2) + Max(0, minLead - Max(dict->lhmin, 2))), in createPossibleHyphens()
655Max(dict->crhmin, Max(dict->crhmin, 2) + Max(0, minTrail - Max(dict->rhmin, 2))) ); in createPossibleHyphens()
/aoo42x/main/svtools/source/control/
H A Dfmtfield.cxx460 aNewSel.Max() = nNewLen; in SetTextFormatted()
467 aNewSel.Max() = 0; in SetTextFormatted()
473 aNewSel.Max() = nNewLen; in SetTextFormatted()
477 else if (aNewSel.Max() > nNewLen) in SetTextFormatted()
478 aNewSel.Max() = nNewLen; in SetTextFormatted()
575 aSel.Max() = nNewLen; in ImplSetTextImpl()
581 aSel.Min() = aSel.Max(); in ImplSetTextImpl()
582 aSel.Max() = 0; in ImplSetTextImpl()
588 aSel.Max() = nNewLen; in ImplSetTextImpl()
592 else if (aSel.Max() > nNewLen) in ImplSetTextImpl()
[all …]
/aoo42x/main/tools/source/generic/
H A Dgen.cxx235 nRight = Max( Max( nLeft, rRect.nLeft ), Max( nRight, rRect.nRight ) ); in Union()
237 nBottom = Max( Max( nTop, rRect.nTop ), Max( nBottom, rRect.nBottom ) ); in Union()
269 nLeft = Max( nLeft, aTmpRect.nLeft ); in Intersection()
271 nTop = Max( nTop, aTmpRect.nTop ); in Intersection()
/aoo42x/main/svtools/source/brwbox/
H A Dbrwbox2.cxx544 while ( rEvt.GetRow() < aSelRange.Max() ) in ExpandRowSelection()
547 --aSelRange.Max(); in ExpandRowSelection()
549 while ( rEvt.GetRow() > aSelRange.Max() ) in ExpandRowSelection()
552 ++aSelRange.Max(); in ExpandRowSelection()
560 while ( rEvt.GetRow() < aSelRange.Max() ) in ExpandRowSelection()
562 --aSelRange.Max(); in ExpandRowSelection()
563 if ( !IsRowSelected( aSelRange.Max() ) ) in ExpandRowSelection()
569 while ( rEvt.GetRow() > aSelRange.Max() ) in ExpandRowSelection()
571 ++aSelRange.Max(); in ExpandRowSelection()
572 if ( !IsRowSelected( aSelRange.Max() ) ) in ExpandRowSelection()
[all …]
/aoo42x/main/tools/inc/tools/
H A Dgen.hxx283 long Max() const { return nB; } in Max() function in Range
287 long& Max() { return nB; } in Max() function in Range
332 long Max() const { return nB; } in Max() function in Selection
336 long& Max() { return nB; } in Max() function in Selection
345 long getMax() const { return Max(); } in getMax()
347 void setMax(long nMax) { Max() = nMax; } in setMax()
541 Max( nTop, nBottom) ); in BottomCenter()
557 return Point( Max( nLeft, nRight ), nTop + (nBottom - nTop)/2 ); in RightCenter()
/aoo42x/main/svx/source/dialog/
H A Dsvxruler.cxx2326 Max((long)0,pPagePosItem->GetWidth() - in ApplyMargins()
2346 Max((long)0, pPagePosItem->GetHeight() - in ApplyMargins()
2923 Max(GetFirstLineIndent(), GetLeftIndent()) - in CalcMinMax()
2929 Max(GetFirstLineIndent(), GetLeftIndent()) - in CalcMinMax()
2986 Max(GetFirstLineIndent(), GetLeftIndent()); in CalcMinMax()
3056 GetRightIndent() - Max(GetFirstLineIndent(), in CalcMinMax()
3062 GetRightIndent() + Max(GetFirstLineIndent(), in CalcMinMax()
3072 nMaxLeft=Max(nMaxLeft,nNewMaxLeft); in CalcMinMax()
3098 GetRightIndent() - Max(GetFirstLineIndent(), in CalcMinMax()
3304 Max(GetFirstLineIndent(), in CalcMinMax()
[all …]
/aoo42x/main/sc/source/ui/dbgui/
H A Dcsvtablebox.cxx365 maData.mnPosCount = Max( nParam1, sal_Int32( 1 ) ); in IMPL_LINK()
372 maData.mnHdrWidth = Max( nParam1, sal_Int32( 0 ) ); in IMPL_LINK()
376 maData.mnCharWidth = Max( nParam1, sal_Int32( 1 ) ); in IMPL_LINK()
380 maData.mnLineCount = Max( nParam1, sal_Int32( 1 ) ); in IMPL_LINK()
387 maData.mnHdrHeight = Max( nParam1, sal_Int32( 0 ) ); in IMPL_LINK()
391 maData.mnLineHeight = Max( nParam1, sal_Int32( 1 ) ); in IMPL_LINK()
/aoo42x/test/testuno/data/
H A Dlimit_cfg.ini8 /*Max pages in the file*/
13 /*Max pages in the file, including master/layout/normal/notes*/
16 /*Max objects in the file, including all editable object on master/layout/normal/notes*/
21 /*Max row in worksheet*/
/aoo42x/main/sw/source/ui/envelp/
H A Denvfmt.cxx219 long lWidth = Max(lWVal, lHVal); in IMPL_LINK_INLINE_START()
467 lWidth = Max(aSz.Width(), aSz.Height()); in IMPL_LINK()
504 long lWidth = Max(lWVal, lHVal), in SetMinMax()
579 rItem.lWidth = Max(lWVal, lHVal); in FillItem()
586 rItem.lWidth = Max(lWVal, lHVal); in FillItem()
610 Max(rItem.lWidth, rItem.lHeight)), MAP_TWIP, sal_True); in Reset()
620 SetFldVal(aSizeWidthField , Max(rItem.lWidth, rItem.lHeight)); in Reset()
/aoo42x/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()
392 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
397 pPt->Y() = Max( lMin, pPt->Y() ); in CalcPt()
417 pPt->X() = Max( ::GetLeftMargin( *this ) + nLeftOfst, pPt->X() ); in CalcPt()
419 pPt->X() = Max( 0L, pPt->X() ); in CalcPt()
503 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
520 aPt.Y() = Min( Max( nBorder, rRect.Top() ), in Scroll()
544 aPnt.X() = Max( (GetLeftMargin( *this ) - lMin) + nLeftOfst, aPnt.X() ); in Scroll()
600 aPos.Y() = Max(0L, aPos.Y()); in PageUp()
[all …]
/aoo42x/main/sw/source/core/layout/
H A Dtabfrm.cxx576 nMinHeight = Max( nMinHeight, rSz.GetHeight() ); in lcl_PreprocessRowsInCells()
2873 rLeftOffset = Max( rLeftOffset, nWidth ); in CalcFlyOffsets()
2883 rRightOffset = Max( rRightOffset, nWidth ); in CalcFlyOffsets()
2933 long nRightOffset = Max( 0L, nTmpRight ); in Format()
3000 Max( 0L, nWishRight ) ); in Format()
3031 Max( 0L, nWishLeft ) ); in Format()
4145 nFlyAdd = Max( 0L, nFlyAdd - nLowHeight ); in lcl_CalcMinCellHeight()
4227 nHeight = Max( nHeight, rSz.GetHeight() ); in lcl_CalcMinRowHeight()
4249 nTopSpace = Max( nTopSpace, nTmpTopSpace ); in lcl_GetTopSpace()
4270 nTopLineDist = Max( nTopLineDist, nTmpTopLineDist ); in lcl_GetTopLineDist()
[all …]
/aoo42x/main/filter/source/graphicfilter/itiff/
H A Ditiff.cxx843 …nRed = (sal_uInt8) Max( 0L, 255L - ( ( (long) nSamp[ 0 ] + nBlack - ( ( (long) nMinSampleValue ) <… in ConvertScanline()
845 …nGreen = (sal_uInt8) Max( 0L, 255L - ( ( (long) nSamp[ 1 ] + nBlack - ( ( (long) nMinSampleValue )… in ConvertScanline()
847 …nBlue = (sal_uInt8) Max( 0L, 255L - ( ( (long) nSamp[ 2 ] + nBlack - ( ( (long) nMinSampleValue ) … in ConvertScanline()
1133 nMaxPos = Max( pTIFF->Tell(), nMaxPos ); in ReadTIFF()
1143 nMaxPos = Max( nOrigPos + nOffset + DataTypeSize() * nDataLen, nMaxPos ); in ReadTIFF()
1149 nMaxPos = Max( pTIFF->Tell(), nMaxPos ); in ReadTIFF()
1151 nMaxPos = Max( pTIFF->Tell(), nMaxPos ); in ReadTIFF()
1271 nMaxPos = Max( pTIFF->Tell(), nMaxPos ); in ReadTIFF()
1273 nMaxPos = Max( pTIFF->Tell(), nMaxPos ); in ReadTIFF()

Completed in 291 milliseconds

12345678910>>...15