/aoo42x/main/editeng/inc/editeng/ |
H A D | editdata.hxx | 130 sal_uInt32 nEndPara; member 138 nEndPara( nEPara ), in ESelection() 146 nEndPara( nPara ), in ESelection() 167 ( nEndPara == 0 ) && ( nEndPos == 0 ) ); in IsZero() 173 ( nEndPara == rS.nEndPara ) && ( nEndPos == rS.nEndPos ) ); in IsEqual() 181 if ( ( nEndPara < rS.nStartPara ) || in IsLess() 194 if ( ( nStartPara > rS.nEndPara ) || in IsGreater() 205 if ( nStartPara > nEndPara ) in Adjust() 214 nEndPara = nSPar; nEndPos = nSPos; in Adjust() 310 sal_uInt32 nEndPara; member [all …]
|
H A D | outliner.hxx | 167 sal_uInt32 nEndPara; member 169 ParaRange( sal_uInt32 nS, sal_uInt32 nE ) { nStartPara = nS, nEndPara = nE; } in ParaRange() 172 …sal_uInt32 Len() const { return 1 + ( ( nEndPara > nStartPara ) ? (nEndPara-nStartPara) : (nStartP… in Len() 177 if ( nStartPara > nEndPara ) in Adjust() 180 nStartPara = nEndPara; in Adjust() 181 nEndPara = nTmp; in Adjust() 229 …EDITENG_DLLPRIVATE void ImplExpandOrCollaps( sal_uInt32 nStartPara, sal_uInt32 nEndPara, sal_Boo…
|
/aoo42x/main/editeng/source/outliner/ |
H A D | outlvw.cxx | 233 sal_uInt32 nTemp = aSel.nEndPara; in PostKeyEvent() 251 sal_uLong nTemp = aSel.nEndPara; in PostKeyEvent() 354 sal_uInt32 nEndPara = nPara; in MouseButtonDown() local 578 aParas.nEndPara = in ImpGetSelectedParagraphs() 580 aParas.nEndPara + in ImpGetSelectedParagraphs() 744 sal_uInt32 nEndPara = nStartPara; in AdjustDepth() local 756 sal_uInt32 nEndPara = nStartPara; in AdjustHeight() local 1345 sal_uInt32 nEndPara = 0; in ApplyBulletsNumbering() local 1351 nEndPara = aSel.nEndPara; in ApplyBulletsNumbering() 1468 sal_uInt32 nEndPara = 0; in SwitchOffBulletsNumbering() local [all …]
|
/aoo42x/main/sc/source/ui/pagedlg/ |
H A D | scuitphfedit.cxx | 677 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 682 …ditEngine()->QuickInsertText(aPageOfEntry,ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 684 …dItem(SvxPagesField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 726 …EditEngine()->QuickInsertText(aPageEntry, ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 729 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 754 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 757 …EditEngine()->QuickInsertText(aCommaSpace,ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 759 …dItem(SvxTableField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 775 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 778 …EditEngine()->QuickInsertText(aCommaSpace,ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() [all …]
|
/aoo42x/main/svx/source/accessibility/ |
H A D | AccessibleTextHelper.cxx | 559 SetChildFocus( aSelection.nEndPara, bHaveFocus ); in SetFocus() 623 aSelection.nEndPara < maParaManager.GetNum() ) in UpdateSelection() 640 maLastSelection.nEndPara != aSelection.nEndPara ) in UpdateSelection() 651 ChangeChildFocus( aSelection.nEndPara ); in UpdateSelection() 654 this, aSelection.nEndPara, maLastSelection.nEndPara); in UpdateSelection() 666 maLastSelection.nEndPara == aSelection.nEndPara ) in UpdateSelection() 675 maParaManager.FireEvent( aSelection.nEndPara, in UpdateSelection() 683 … this, aSelection.nEndPos, maLastSelection.nEndPos, aSelection.nEndPara, maLastSelection.nEndPara); in UpdateSelection() 763 nPara > aTmpLastSel.nEndPara ) in UpdateSelection() 776 nPara == aTmpSel.nEndPara in UpdateSelection() [all …]
|
/aoo42x/main/editeng/source/uno/ |
H A D | unotext.cxx | 173 else if( rSel.nEndPara > aMaxSelection.nEndPara ) in CheckSelection() 175 rSel.nEndPara = aMaxSelection.nEndPara; in CheckSelection() 502 sal_Int32 nEndPara; in _setPropertyValue() local 507 nEndPara = aSel.nEndPara; in _setPropertyValue() 512 nEndPara = nPara; in _setPropertyValue() 515 while( nPara <= nEndPara ) in _setPropertyValue() 815 sal_Int32 nEndPara = nPara; in _setPropertyValues() local 821 nEndPara = aSel.nEndPara; in _setPropertyValues() 1570 if( r1.nEndPara == r2.nEndPara ) in compareRegionEnds() 1579 return r1.nEndPara < r2.nEndPara ? 1 : -1; in compareRegionEnds() [all …]
|
H A D | unoedprx.cxx | 479 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetText() 482 if( rSel.nStartPara > rSel.nEndPara || in GetText() 549 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetAttribs() 589 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in GetItemState() 610 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertText() 624 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertField() 638 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickSetAttribs() 652 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in QuickInsertLineBreak() 1074 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in Delete() 1087 aEndIndex.SetIndex( rSel.nEndPara, rSel.nEndPos, *this ); in InsertText() [all …]
|
H A D | unofored.cxx | 74 if( rSel.nStartPara == rSel.nEndPara ) in GetAttribs() 184 for( sal_uInt32 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in GetSvxEditEngineItemState() 194 if( rSel.nEndPara != nPara ) in GetSvxEditEngineItemState() 446 aRes.nStartPara == aRes.nEndPara ) in GetWordIndices()
|
/aoo42x/main/editeng/source/accessibility/ |
H A D | AccessibleParaManager.cxx | 353 sal_uInt32 nEndPara, in FireEvent() argument 359 maChildren.size() >= nEndPara && in FireEvent() 360 nEndPara >= nStartPara , "AccessibleParaManager::FireEvent: invalid index" ); in FireEvent() 362 … if( maChildren.size() > nStartPara && maChildren.size() >= nEndPara && nEndPara >= nStartPara) in FireEvent() 368 ::std::advance( back, nEndPara ); in FireEvent() 388 void AccessibleParaManager::Release( sal_uInt32 nStartPara, sal_uInt32 nEndPara ) in Release() argument 391 … maChildren.size() >= nEndPara, "AccessibleParaManager::Release: invalid index" ); in Release() 394 maChildren.size() >= nEndPara ) in Release() 400 ::std::advance( back, nEndPara ); in Release()
|
H A D | AccessibleStaticTextBase.cxx | 93 sal_Int32 nEndPara, sal_Int32 nEndIndex ) in MakeSelection() argument 97 nEndPara >= 0 && nEndPara <= USHRT_MAX && in MakeSelection() 102 nEndPara, static_cast< sal_uInt16 >(nEndIndex) ); in MakeSelection() 192 sal_Int32 nEndPara, sal_Int32 nEndIndex ); 194 sal_Int32 nEndPara, sal_Int32 nEndIndex ); 418 sal_Int32 nEndPara, sal_Int32 nEndIndex ) in SetSelection() argument 428 … return rCacheVF.SetSelection( MakeSelection(nStartPara, nStartIndex, nEndPara, nEndIndex) ); in SetSelection() 437 sal_Int32 nEndPara, sal_Int32 nEndIndex ) in CopyText() argument 454 rCacheVF.SetSelection( MakeSelection(nStartPara, nStartIndex, nEndPara, nEndIndex) ); in CopyText()
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xihelper.cxx | 219 aSelection.nStartPara = aSelection.nEndPara; in lclCreateTextObject() 226 ++aSelection.nEndPara; in lclCreateTextObject() 282 maSel.nStartPara = maSel.nEndPara = 0; in XclImpHFPortionInfo() 542 if( (rSel.nStartPara != rSel.nEndPara) || (rSel.nStartPos != rSel.nEndPos) ) in SetAttribs() 548 rSel.nStartPara = rSel.nEndPara; in SetAttribs() 569 …mrEE.QuickInsertText( maCurrText, ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel.nEn… in InsertText() 579 …mrEE.QuickInsertField( rFieldItem, ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel.nE… in InsertField() 587 …mrEE.QuickInsertText( String( '\n' ), ESelection( rSel.nEndPara, rSel.nEndPos, rSel.nEndPara, rSel… in InsertLineBreak() 588 ++rSel.nEndPara; in InsertLineBreak()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | impedit.cxx | 195 sal_uInt32 nEndPara = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( pEndNode ); in DrawSelection() local 197 for ( sal_uInt32 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in DrawSelection() 216 if ( nPara == nEndPara ) in DrawSelection() 1652 pDragAndDropInfo->aDropSel.nEndPara, pDragAndDropInfo->aDropSel.nEndPos ); in dragDropEnd() 1660 aToBeDelSel.nEndPara = aToBeDelSel.nEndPara + nParaDiff; in dragDropEnd() 1662 if ( aToBeDelSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd() 1665 if ( pDragAndDropInfo->aDropSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd() 1671 if ( aToBeDelSel.nStartPara == aToBeDelSel.nEndPara ) in dragDropEnd() 1682 aNewSel.nEndPara = aNewSel.nEndPara - nParaDiff; in dragDropEnd() 1684 if ( pDragAndDropInfo->aBeginDragSel.nEndPara == pDragAndDropInfo->aDropSel.nStartPara ) in dragDropEnd() [all …]
|
H A D | editview.cxx | 235 …ion( PIMPEE->ConvertSelection( rESel.nStartPara, rESel.nStartPos, rESel.nEndPara, rESel.nEndPos ) … in SetSelection() 271 …aSelection.nEndPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Max().GetNode(… in GetSelection() 729 Range aRange( aSel.nStartPara, aSel.nEndPara ); in MoveParagraphs() 852 sal_uInt32 nEndPara = PIMPEE->GetEditDoc().GetPos( aSel.Max().GetNode() ); in GetStyleSheet() local 855 for ( sal_uInt32 n = nStartPara; n <= nEndPara; n++ ) in GetStyleSheet() 1480 for( sal_uInt32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ChangeFontSize() 1489 const sal_uInt16 nEndPos = (nPara == aSel.nEndPara) ? aSel.nEndPos : 0xffff; in ChangeFontSize()
|
/aoo42x/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 218 if ( rSel.nEndPara >= pE->aSel.nStartPara ) in EntryEnd() 220 pE->aSel.nEndPara = rSel.nEndPara; in EntryEnd() 725 while ( rSel.nStartPara < rSel.nEndPara in CloseEntry() 732 rSel.nEndPara--; in CloseEntry() 735 if ( rSel.nStartPara > rSel.nEndPara ) in CloseEntry() 738 rSel.nEndPara = rSel.nStartPara; in CloseEntry() 1780 aSel.nEndPara = aSel.nStartPara; in AdjustStart() 1787 DBG_ASSERT( (aSel.nEndPara < rInfo.aSelection.nEndPara) || in AdjustEnd() 1788 … ((aSel.nEndPara == rInfo.aSelection.nEndPara) && (aSel.nEndPos <= rInfo.aSelection.nEndPos)), in AdjustEnd() 1791 aSel.nEndPara = rInfo.aSelection.nEndPara; in AdjustEnd() [all …]
|
/aoo42x/main/sc/source/filter/rtf/ |
H A D | rtfparse.cxx | 93 && (( pE->aSel.nStartPara == pE->aSel.nEndPara in Read() 96 || ( pE->aSel.nStartPara + 1 == pE->aSel.nEndPara in Read() 113 pE->aSel.nEndPara = aSel.nEndPara - 2; in EntryEnd() 115 pE->aSel.nEndPos = pEdit->GetTextLen( aSel.nEndPara - 1 ); in EntryEnd() 208 pInfo->aSelection.nEndPara++; in IMPL_LINK() 370 pActEntry->aSel.nStartPara = pInfo->aSelection.nEndPara - 1; in ProcToken()
|
/aoo42x/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 117 (aSel.nStartPara < aSel.nEndPara) || in SmGetLeftSelectionPart() 118 (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) in SmGetLeftSelectionPart() 124 { nPara = aSel.nEndPara; in SmGetLeftSelectionPart() 689 bRes = !eSelection.nStartPara && (eSelection.nEndPara == nParaCnt - 1); in IsAllSelected() 731 while (eSelection.nEndPara < nCounts) in SelNextMark() 733 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark() 738 … mpEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark() 743 eSelection.nEndPara++; in SelNextMark()
|
/aoo42x/main/starmath/source/ |
H A D | edit.cxx | 83 if ( aSel.nStartPara < aSel.nEndPara in SmGetLeftSelectionPart() 84 || (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) ) in SmGetLeftSelectionPart() 89 { nPara = aSel.nEndPara; in SmGetLeftSelectionPart() 690 bRes = !eSelection.nStartPara && (eSelection.nEndPara == nParaCnt - 1); in IsAllSelected() 714 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand() 765 while (eSelection.nEndPara < nCounts) in SelNextMark() 767 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark() 772 … pEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark() 777 eSelection.nEndPara++; in SelNextMark()
|
/aoo42x/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 232 aOldSel.nEndPara, aOldSel.nEndPos ) ); in lcl_Replace() 1463 if ( aSel.nEndPara+1 == nParCnt ) in UseColData() 1490 aSel.nEndPara, aSel.nEndPos ); in UseColData() 1536 if ( aSel.nEndPara+1 == nParCnt && aSel.nStartPara == aSel.nEndPara ) in NextAutoEntry() 1557 aSel.nEndPara, aSel.nStartPos + aIns.Len(), in NextAutoEntry() 1558 aSel.nEndPara, aSel.nStartPos ) ); in NextAutoEntry() 1566 aSel.nEndPara, aSel.nStartPos ) ); in NextAutoEntry() 2037 nParLen = pEngine->GetTextLen(rSel.nEndPara); in lcl_SetTopSelection() 2041 nParLen = pEngine->GetTextLen(++rSel.nEndPara); in lcl_SetTopSelection() 2047 if ( rSel.nStartPara != aSel.nStartPara || rSel.nEndPara != aSel.nEndPara in lcl_SetTopSelection() [all …]
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | textuno.cxx | 487 aSelection.nStartPara = aSelection.nEndPara; in insertTextContent() 499 aSelection.nEndPara = aSelection.nStartPara; in insertTextContent() 661 aNewSel.nEndPara = aNewSel.nStartPara; in getStart() 678 aNewSel.nStartPara = aNewSel.nEndPara; in getEnd() 765 aNewSel.nEndPara = aNewSel.nStartPara; in getStart() 782 aNewSel.nStartPara = aNewSel.nEndPara; in getEnd() 869 aNewSel.nEndPara = aNewSel.nStartPara; in getStart() 886 aNewSel.nStartPara = aNewSel.nEndPara; in getEnd()
|
/aoo42x/main/svtools/source/edit/ |
H A D | xtextedt.cxx | 357 sal_uLong nEndPara = aSel.GetEnd().GetPara(); in ImpIndentBlock() local 360 nEndPara--; // den dann nicht einruecken... in ImpIndentBlock() 363 for ( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in ImpIndentBlock() 391 if ( bRange && ( aSel.GetEnd().GetPara() == nEndPara ) ) in ImpIndentBlock()
|
/aoo42x/main/sd/source/ui/view/ |
H A D | drtxtob.cxx | 467 sal_uLong nEndPara = aSel.nEndPara; in GetAttrState() local 471 nEndPara = pOLV->GetOutliner()->GetParagraphCount() - 1; in GetAttrState() 474 for( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in GetAttrState()
|
H A D | drtxtob1.cxx | 148 sal_uLong nEndPara = aSel.nEndPara; in Execute() local 152 nEndPara = pOLV->GetOutliner()->GetParagraphCount() - 1; in Execute() 154 for( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in Execute()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdview.cxx | 1269 long nPar=aSel.nEndPara,nLin=0,nCol=aSel.nEndPos; in GetStatusText() 1270 if (aSel.nEndPara>0) { in GetStatusText() 1271 for (sal_uInt32 nParaNum=0; nParaNum<aSel.nEndPara; nParaNum++) { in GetStatusText() 1280 sal_uIntPtr nParaLineAnz=pTextEditOutliner->GetLineCount(aSel.nEndPara); in GetStatusText() 1283 sal_uInt16 nLen=pTextEditOutliner->GetLineLen(aSel.nEndPara,nParaLine); in GetStatusText() 1299 aStr += UniString::CreateFromInt32( pTextEditOutliner->GetDepth( aSel.nEndPara ) ); in GetStatusText() 1402 eSel.nStartPara=eSel.nEndPara; in UnmarkAll()
|
/aoo42x/main/svx/source/table/ |
H A D | tablertfimporter.cxx | 196 pInfo->aSelection.nEndPara++; in IMPL_LINK() 224 xCellInfo->mnParaCount = pInfo->aSelection.nEndPara - 1 - mnStartPara; in InsertCell() 236 mnStartPara = pInfo->aSelection.nEndPara - 1; in InsertCell()
|
/aoo42x/main/sw/source/ui/dialog/ |
H A D | SwSpellDialogChildWindow.cxx | 874 if(m_pSpellState->m_aStartDrawingSelection.nEndPara < aCurrentSelection.nEndPara || in SpellDrawText_Impl() 875 (m_pSpellState->m_aStartDrawingSelection.nEndPara == aCurrentSelection.nEndPara && in SpellDrawText_Impl()
|