/aoo41x/main/editeng/inc/editeng/ |
H A D | editdata.hxx | 128 sal_uInt16 nEndPara; member 136 nEndPara( nEPara ), in ESelection() 144 nEndPara( nPara ), in ESelection() 165 ( nEndPara == 0 ) && ( nEndPos == 0 ) ); in IsZero() 171 ( nEndPara == rS.nEndPara ) && ( nEndPos == rS.nEndPos ) ); in IsEqual() 179 if ( ( nEndPara < rS.nStartPara ) || in IsLess() 192 if ( ( nStartPara > rS.nEndPara ) || in IsGreater() 203 if ( nStartPara > nEndPara ) in Adjust() 212 nEndPara = nSPar; nEndPos = nSPos; in Adjust() 308 sal_uInt16 nEndPara; member [all …]
|
H A D | outliner.hxx | 167 sal_uInt16 nEndPara; member 169 ParaRange( sal_uInt16 nS, sal_uInt16 nE ) { nStartPara = nS, nEndPara = nE; } in ParaRange() 172 …sal_uInt16 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_uInt16 nStartPara, sal_uInt16 nEndPara, sal_Boo…
|
/aoo41x/main/editeng/source/outliner/ |
H A D | outlvw.cxx | 233 sal_uLong nTemp = aSel.nEndPara; in PostKeyEvent() 251 sal_uLong nTemp = aSel.nEndPara; in PostKeyEvent() 354 sal_uLong nEndPara = nPara; in MouseButtonDown() local 578 aParas.nEndPara = in ImpGetSelectedParagraphs() 580 aParas.nEndPara + in ImpGetSelectedParagraphs() 744 sal_uLong nEndPara = nStartPara; in AdjustDepth() local 756 sal_uLong nEndPara = nStartPara; in AdjustHeight() local 1347 sal_uInt16 nEndPara = 0; in ApplyBulletsNumbering() local 1353 nEndPara = aSel.nEndPara; in ApplyBulletsNumbering() 1470 sal_uInt16 nEndPara = 0; in SwitchOffBulletsNumbering() local [all …]
|
/aoo41x/main/sc/source/ui/pagedlg/ |
H A D | scuitphfedit.cxx | 678 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 683 …ditEngine()->QuickInsertText(aPageOfEntry,ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 685 …dItem(SvxPagesField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 727 …EditEngine()->QuickInsertText(aPageEntry, ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 730 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara,aSel.nEndPos, aSel.nEndPara, aS… in ProcessDefinedListSel() 755 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 758 …EditEngine()->QuickInsertText(aCommaSpace,ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 760 …dItem(SvxTableField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 776 …ldItem(SvxPageField(), EE_FEATURE_FIELD), ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() 779 …EditEngine()->QuickInsertText(aCommaSpace,ESelection(aSel.nEndPara, aSel.nEndPos, aSel.nEndPara, a… in ProcessDefinedListSel() [all …]
|
/aoo41x/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 …]
|
/aoo41x/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_uInt16 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in GetSvxEditEngineItemState() 194 if( rSel.nEndPara != nPara ) in GetSvxEditEngineItemState() 446 aRes.nStartPara == aRes.nEndPara ) in GetWordIndices()
|
/aoo41x/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 … static_cast< sal_uInt16 >(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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/main/editeng/source/editeng/ |
H A D | impedit.cxx | 195 sal_uInt16 nEndPara = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( pEndNode ); in DrawSelection() local 197 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in DrawSelection() 216 if ( nPara == nEndPara ) in DrawSelection() 1651 pDragAndDropInfo->aDropSel.nEndPara, pDragAndDropInfo->aDropSel.nEndPos ); in dragDropEnd() 1659 aToBeDelSel.nEndPara = aToBeDelSel.nEndPara + nParaDiff; in dragDropEnd() 1661 if ( aToBeDelSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd() 1664 if ( pDragAndDropInfo->aDropSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd() 1670 if ( aToBeDelSel.nStartPara == aToBeDelSel.nEndPara ) in dragDropEnd() 1681 aNewSel.nEndPara = aNewSel.nEndPara - nParaDiff; in dragDropEnd() 1683 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_uInt16 nEndPara = PIMPEE->GetEditDoc().GetPos( aSel.Max().GetNode() ); in GetStyleSheet() local 855 for ( sal_uInt16 n = nStartPara; n <= nEndPara; n++ ) in GetStyleSheet() 1479 for( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ChangeFontSize() 1488 const sal_uInt16 nEndPos = (nPara == aSel.nEndPara) ? aSel.nEndPos : 0xffff; in ChangeFontSize()
|
/aoo41x/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() 732 while (eSelection.nEndPara < nCounts) in SelNextMark() 734 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark() 739 … mpEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark() 744 eSelection.nEndPara++; in SelNextMark()
|
/aoo41x/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 …]
|
/aoo41x/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() 715 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand() 766 while (eSelection.nEndPara < nCounts) in SelNextMark() 768 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark() 773 … pEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark() 778 eSelection.nEndPara++; in SelNextMark()
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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_uInt16 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()
|
/aoo41x/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()
|
/aoo41x/main/sw/source/ui/dialog/ |
H A D | SwSpellDialogChildWindow.cxx | 876 if(m_pSpellState->m_aStartDrawingSelection.nEndPara < aCurrentSelection.nEndPara || in SpellDrawText_Impl() 877 (m_pSpellState->m_aStartDrawingSelection.nEndPara == aCurrentSelection.nEndPara && in SpellDrawText_Impl()
|