| /AOO41X/main/editeng/source/editeng/ |
| H A D | impedit4.cxx | 129 EditPaM aPaM = aSel.Max(); in ReadText() 153 return aSel.Max(); in ReadXML() 209 SvParserState eState = xPrsr->CallParser( this, aSel.Max() ); in ReadHTML() 215 return xPrsr->GetCurSelection().Max(); in ReadHTML() 226 EditPaM aLastPaM = aSel.Max(); in ReadBin() 228 aLastPaM = InsertText( *pObj, aSel ).Max(); in ReadBin() 268 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteText() 289 nEndPos = aSel.Max().GetIndex(); in WriteText() 372 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteRTF() 655 nEndPos = aSel.Max().GetIndex(); in WriteRTF() [all …]
|
| H A D | editundo.cxx | 107 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() 442 aSel.Max().GetIndex()--; // Fuer Selektion in Undo() 454 aSel.Max().GetIndex()++; in Redo() 481 aTmpRange.Max() += nDiff; in Undo() 487 aTmpRange.Max() -= nLen; in Undo() [all …]
|
| H A D | impedit2.cxx | 303 ContentNode* pEndNode = aSel.Max().GetNode(); in GetSelected() 320 nEndPos = aSel.Max().GetIndex(); in GetSelected() 360 aNewSelection.Max().SetIndex( aCurSel.Min().GetNode()->Len() ); in MouseButtonDown() 482 EditPaM aPaM = pView->GetImpEditView()->GetEditSelection().Max(); in Command() 504 aSel.Max().GetIndex() = in Command() 505 aSel.Max().GetIndex() + mpIMEInfos->nLen; in Command() 542 aSel.Max().GetIndex() = in Command() 543 aSel.Max().GetIndex() + mpIMEInfos->nLen; in Command() 572 _aSel.Max().GetIndex() = in Command() 573 _aSel.Max().GetIndex() + nOverwrite; in Command() [all …]
|
| H A D | eertfpar.cxx | 112 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() 280 …aCurSel = pImpEditEngine->CursorRight( aCurSel.Max(), ::com::sun::star::i18n::CharacterIteratorMod… in MovePos() 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() [all …]
|
| H A D | impedit.cxx | 96 aEditSelection.Max() = pEng->pImpEditEngine->GetEditDoc().GetEndPaM(); in ImpEditView() 130 pmEnd == rEditSelection.Max())//if move cursor to the last para. in SetEditSelection() 193 ContentNode* pEndNode = aTmpSel.Max().GetNode(); in DrawSelection() 217 nEndLine = pTmpPortion->GetLines().FindLine( aTmpSel.Max().GetIndex(), sal_True ); in DrawSelection() 233 … if ( ( nPara == nEndPara ) && ( nLine == nEndLine ) && ( nEndIndex != aTmpSel.Max().GetIndex() ) ) 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() 1060 …graph() != pEditEngine->pImpEditEngine->GetEditDoc().GetPos( GetEditSelection().Max().GetNode() ) ) in MouseButtonUp() [all …]
|
| H A D | editview.cxx | 232 ContentNode* pNode = pImpEditView->GetEditSelection().Max().GetNode(); in SetSelection() 248 pPortion = PIMPEE->FindParaPortion( aNewSelection.Max().GetNode() ); in SetSelection() 253 aNewSelection.Max() = EditPaM( pNode, pNode->Len() ); in SetSelection() 271 …aSelection.nEndPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Max().GetNode(… in GetSelection() 274 aSelection.nEndPos = pImpEditView->GetEditSelection().Max().GetIndex(); in GetSelection() 731 long nDest = ( nDiff > 0 ? aRange.Max() : aRange.Min() ) + nDiff; in MoveParagraphs() 782 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText() 794 …l( PIMPEE->InsertText( xDataObj, rBaseURL, pImpEditView->GetEditSelection().Max(), bUseSpecial ) ); in InsertText() 797 aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten. in InsertText() 852 sal_uInt16 nEndPara = PIMPEE->GetEditDoc().GetPos( aSel.Max().GetNode() ); in GetStyleSheet() [all …]
|
| H A D | eehtml.cxx | 228 … sal_uInt16 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_uInt16 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 D | impedit5.cxx | 63 sal_uInt16 nEndPara = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetStyleSheet() 207 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateAttribUndo() 351 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in GetAttribs() 364 nEndPos = aSel.Max().GetIndex(); in GetAttribs() 538 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetAttribs() 572 nEndPos = aSel.Max().GetIndex(); in SetAttribs() 642 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in RemoveCharAttribs() 670 nEndPos = aSel.Max().GetIndex(); in RemoveCharAttribs()
|
| /AOO41X/main/tools/source/memtools/ |
| H A D | multisel.cxx | 54 pSel->aTotRange.Min(), pSel->aTotRange.Max() ); in Print() 66 pSel->aSels.GetObject(nPos)->Max() ); in Print() 97 n < aSels.Count() && nIndex > aSels.GetObject(n)->Max(); in ImplFindSubSelection() 111 if ( (aSels.GetObject(nPos1)->Max() + 1) == aSels.GetObject(nPos2)->Min() ) in ImplMergeSubSelections() 114 aSels.GetObject(nPos1)->Max() = aSels.GetObject(nPos2)->Max(); in ImplMergeSubSelections() 256 aRg.Max() = nNum; in MultiSelection() 283 aRg.Max() = nNum; in MultiSelection() 411 aSels.GetObject(nSubSelPos-1)->Max() == (nIndex-1) ) in Select() 414 aSels.GetObject(nSubSelPos-1)->Max() = nIndex; in Select() 459 else if ( aSels.GetObject(nSubSelPos)->Max() == nIndex ) in Select() [all …]
|
| /AOO41X/main/sc/source/ui/formdlg/ |
| H A D | privsplt.cxx | 56 aXMovingRange.Max()=nNewX; in ScPrivatSplit() 58 aYMovingRange.Max()=nNewY; in ScPrivatSplit() 134 else if(a2Pos.X()>aXMovingRange.Max()) in MouseButtonUp() 136 nDeltaX=(short)(aXMovingRange.Max()-a3Pos.X()); in MouseButtonUp() 137 a2Pos.X()=aXMovingRange.Max(); in MouseButtonUp() 150 else if(a2Pos.Y()>aYMovingRange.Max()) in MouseButtonUp() 152 nDeltaY=(short)(aYMovingRange.Max()-a3Pos.Y()); in MouseButtonUp() 153 a2Pos.Y()=aYMovingRange.Max(); in MouseButtonUp() 196 else if(a2Pos.X()>aXMovingRange.Max()) in MouseMove() 198 nDeltaX=(short)(aXMovingRange.Max()-a3Pos.X()); in MouseMove() [all …]
|
| /AOO41X/main/sc/source/ui/view/ |
| H A D | viewutil.cxx | 448 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() 511 rY2 = Max( nNewStartY, nOldStartY ) - 1; in GetXorDiff() [all …]
|
| /AOO41X/main/vcl/source/control/ |
| H A D | edit.cxx | 596 if( i >= aTmpSel.Min() && i < aTmpSel.Max() ) in ImplRepaint() 723 ((rSelection.Max() == aText.Len()) && (nDirection == EDIT_DEL_RIGHT))) ) in ImplDelete() 757 …i18n::Boundary aBoundary = xBI->nextWord( maText, aSelection.Max(), GetSettings().GetLocale(), i18… in ImplDelete() 758 aSelection.Max() = aBoundary.startPos; in ImplDelete() 762 aSelection.Max() = aText.Len(); in ImplDelete() 767 …aSelection.Max() = xBI->nextCharacters( maText, aSelection.Max(), GetSettings().GetLocale(), i18n:… in ImplDelete() 774 maSelection.Max() = aSelection.Min(); in ImplDelete() 872 else if ( !mbInsertMode && (aSelection.Max() < maText.Len()) ) in ImplInsertText() 873 maText.Erase( (xub_StrLen)aSelection.Max(), 1 ); in ImplInsertText() 987 maSelection.Max() = maSelection.Min(); in ImplInsertText() [all …]
|
| H A D | field2.cxx | 420 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() 520 …aSel.Max() = ImplPatternRightPos( pEdit->GetText(), rEditMask, nFormatFlags, bSameMask, nCursorPos… in ImplPatternProcessKeyInput() 524 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput() 558 aSel.Max() = nNewPos; in ImplPatternProcessKeyInput() 562 aSel.Min() = aSel.Max(); in ImplPatternProcessKeyInput() [all …]
|
| /AOO41X/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/ |
| H A D | hyphenimp.cxx | 80 #define Max(a,b) (a > b ? a : b) macro 394 … Max(dict->clhmin, Max(dict->clhmin, 2) + Max(0, minLead - Max(dict->lhmin, 2))), in hyphenate() 395 … Max(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() 655 … Max(dict->crhmin, Max(dict->crhmin, 2) + Max(0, minTrail - Max(dict->rhmin, 2))) ); in createPossibleHyphens()
|
| /AOO41X/main/svtools/source/control/ |
| H A D | fmtfield.cxx | 456 if ((nNewLen > nCurrentLen) && (aNewSel.Max() == nCurrentLen)) in SetTextFormatted() 460 aNewSel.Max() = nNewLen; in SetTextFormatted() 466 aNewSel.Min() = aNewSel.Max(); in SetTextFormatted() 467 aNewSel.Max() = 0; in SetTextFormatted() 471 else if (aNewSel.Max() == aNewSel.Min()) in SetTextFormatted() 473 aNewSel.Max() = nNewLen; in SetTextFormatted() 477 else if (aNewSel.Max() > nNewLen) in SetTextFormatted() 478 aNewSel.Max() = nNewLen; in SetTextFormatted() 571 if ((nNewLen > nCurrentLen) && (aSel.Max() == nCurrentLen)) in ImplSetTextImpl() 575 aSel.Max() = nNewLen; in ImplSetTextImpl() [all …]
|
| /AOO41X/main/tools/source/generic/ |
| H A D | gen.cxx | 235 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()
|
| /AOO41X/main/tools/inc/tools/ |
| H A D | gen.hxx | 283 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()
|
| /AOO41X/main/svtools/source/brwbox/ |
| H A D | brwbox2.cxx | 544 while ( rEvt.GetRow() < aSelRange.Max() ) in ExpandRowSelection() 546 SelectRow( aSelRange.Max(), bSelectThis, sal_True ); in ExpandRowSelection() 547 --aSelRange.Max(); in ExpandRowSelection() 549 while ( rEvt.GetRow() > aSelRange.Max() ) in ExpandRowSelection() 551 SelectRow( aSelRange.Max(), bSelectThis, sal_True ); 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() 565 SelectRow( aSelRange.Max(), bSelectThis, sal_True ); in ExpandRowSelection() [all …]
|
| /AOO41X/main/sc/source/ui/dbgui/ |
| H A D | csvtablebox.cxx | 365 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()
|
| /AOO41X/main/svx/source/dialog/ |
| H A D | svxruler.cxx | 2326 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() 2973 Max(GetFirstLineIndent(), GetLeftIndent()) - GetRightIndent()); in CalcMinMax() 2979 Max(GetFirstLineIndent(), GetLeftIndent())); in CalcMinMax() 2986 Max(GetFirstLineIndent(), GetLeftIndent()); in CalcMinMax() 3011 Max(GetFirstLineIndent(),GetLeftIndent()) - GetMargin1()+ in CalcMinMax() 3017 Max(GetFirstLineIndent(),GetLeftIndent()) - GetMargin1()+ in CalcMinMax() 3056 GetRightIndent() - Max(GetFirstLineIndent(), in CalcMinMax() [all …]
|
| /AOO41X/test/testuno/data/ |
| H A D | limit_cfg.ini | 8 /*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*/
|
| /AOO41X/main/sw/source/ui/envelp/ |
| H A D | envfmt.cxx | 219 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()
|
| /AOO41X/main/sw/source/ui/uiview/ |
| H A D | viewport.cxx | 157 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 …]
|
| /AOO41X/main/sal/osl/os2/ |
| H A D | process.c | 815 oslProcessError SAL_CALL osl_getCommandArgs( sal_Char* pszBuffer, sal_uInt32 Max) in osl_getCommandArgs() argument 822 OSL_ASSERT(Max > 1); in osl_getCommandArgs() 846 Max -= 2; in osl_getCommandArgs() 847 while ( !((*pszCmdLine == '\0') && (*(pszCmdLine + 1) == '\0')) && (Max > 0)) in osl_getCommandArgs() 864 Max--; in osl_getCommandArgs() 870 Max--; in osl_getCommandArgs() 884 Max--; in osl_getCommandArgs()
|
| /AOO41X/main/filter/source/graphicfilter/itiff/ |
| H A D | itiff.cxx | 843 …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()
|