/aoo41x/main/editeng/source/editeng/ |
H A D | impedit4.cxx | 153 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 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() 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 D | impedit2.cxx | 504 aSel.Max().GetIndex() = in Command() 542 aSel.Max().GetIndex() = in Command() 2157 aSel.Max().GetIndex() = aSel.Max().GetIndex() + nChars; in ImpRemoveChars() 2640 aFirstWordSel.Max().GetIndex() <= aSel.Max().GetIndex() && in AutoCorrect() 2658 return aSel.Max(); in AutoCorrect() 2775 aPaM = aCurSel.Max(); in ImpInsertText() 2901 aPaM = aCurSel.Max(); in ImpInsertFeature() 2927 aPaM = rCurSel.Max(); in ImpInsertParaBreak() 3478 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in UpdateSelections() 3480 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in UpdateSelections() [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() 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 D | impedit.cxx | 130 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 D | editview.cxx | 248 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() 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() [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 | 114 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 …]
|
/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() 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 …]
|
/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() 585 rY2 = Max( nNewEndY, nOldEndY ); in GetXorDiff() [all …]
|
/aoo41x/main/vcl/source/control/ |
H A D | edit.cxx | 1026 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() 2648 aNew.Max() = maText.Len(); in ImplSetSelection() 2651 if ( aNew.Max() < 0 ) in ImplSetSelection() 2652 aNew.Max() = 0; in ImplSetSelection() 2664 long nB=aNew.Max(), nA=aNew.Min(),oB=aTemp.Max(), oA=aTemp.Min(); in ImplSetSelection() [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() 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 …]
|
/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 | 460 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 …]
|
/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() 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 …]
|
/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/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/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() 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 …]
|
/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()
|