/aoo42x/main/editeng/inc/editeng/ |
H A D | editdata.hxx | 128 sal_uInt32 nStartPara; member 136 nStartPara( nStPara ), in ESelection() 144 nStartPara( nPara ), in ESelection() 166 return ( ( nStartPara == 0 ) && ( nStartPos == 0 ) && in IsZero() 172 return ( ( nStartPara == rS.nStartPara ) && ( nStartPos == rS.nStartPos ) && in IsEqual() 181 if ( ( nEndPara < rS.nStartPara ) || in IsLess() 194 if ( ( nStartPara > rS.nEndPara ) || in IsGreater() 205 if ( nStartPara > nEndPara ) in Adjust() 213 nStartPara = nEndPara; nStartPos = nEndPos; in Adjust() 309 sal_uInt32 nStartPara; member [all …]
|
H A D | outliner.hxx | 166 sal_uInt32 nStartPara; 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() 179 sal_uInt32 nTmp = nStartPara; in Adjust() 180 nStartPara = nEndPara; in Adjust() 229 …EDITENG_DLLPRIVATE void ImplExpandOrCollaps( sal_uInt32 nStartPara, sal_uInt32 nEndPara, sal_Boo… 703 void ImpTextPasted( sal_uInt32 nStartPara, sal_uInt32 nCount ); 773 …OutlinerParaObject* CreateParaObject( sal_uInt32 nStartPara = 0, sal_uInt32 nParaCount = EE_PARA_M…
|
/aoo42x/main/editeng/source/outliner/ |
H A D | outlvw.cxx | 373 nPara = aSel.nStartPara; in MouseButtonDown() 744 sal_uInt32 nEndPara = nStartPara; in AdjustDepth() 756 sal_uInt32 nEndPara = nStartPara; in AdjustHeight() 1111 rStart = aSelection.nStartPara; in ImpInitPaste() 1158 sal_uInt16 nStartPara = aSel.nStartPara; in ImpCalcSelectedPages() local 1344 sal_uInt32 nStartPara = 0; in ApplyBulletsNumbering() local 1350 nStartPara = aSel.nStartPara; in ApplyBulletsNumbering() 1355 nStartPara = 0; in ApplyBulletsNumbering() 1467 sal_uInt32 nStartPara = 0; in SwitchOffBulletsNumbering() local 1473 nStartPara = aSel.nStartPara; in SwitchOffBulletsNumbering() [all …]
|
H A D | outliner.cxx | 449 const sal_uInt32 nLastPara(nStartPara + nCount - 1); in CreateParaObject() 1303 const sal_uLong nStart = nStartPara; in ImpTextPasted() 1316 ImpConvertEdtToOut( nStartPara ); in ImpTextPasted() 1320 if( nStartPara == nStart ) in ImpTextPasted() 1336 if ( nDepth != GetDepth( nStartPara ) ) in ImpTextPasted() 1337 ImplInitDepth( nStartPara, nDepth, sal_False ); in ImpTextPasted() 1341 nStartPara++; in ImpTextPasted() 1342 pPara = pParaList->GetParagraph( nStartPara ); in ImpTextPasted() 1811 aText += pEditEngine->GetText( nStartPara + n ); in GetText() 1918 ImpTextPasted( pInfos->nStartPara, pInfos->nEndPara - pInfos->nStartPara + 1 ); in IMPL_LINK() [all …]
|
/aoo42x/main/editeng/source/uno/ |
H A D | unotext.cxx | 142 if( rSel.nStartPara == EE_PARA_ALL ) in CheckSelection() 152 if( rSel.nStartPara < aMaxSelection.nStartPara ) in CheckSelection() 154 rSel.nStartPara = aMaxSelection.nStartPara; in CheckSelection() 506 nPara = aSel.nStartPara; in _setPropertyValue() 820 nTempPara = aSel.nStartPara; in _setPropertyValues() 1432 maSelection.nStartPara = nNewPar; in GoLeft() 1484 maSelection.nStartPara = 0; in GotoStart() 1546 if( r1.nStartPara == r2.nStartPara ) in compareRegionStarts() 1555 return r1.nStartPara < r2.nStartPara ? 1 : -1; in compareRegionStarts() 1943 aRange.nStartPara = aRange.nStartPara; in insertControlCharacter() [all …]
|
H A D | unoedprx.cxx | 478 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetText() 482 if( rSel.nStartPara > rSel.nEndPara || in GetText() 548 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetAttribs() 588 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in GetItemState() 609 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertText() 623 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertField() 637 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickSetAttribs() 651 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in QuickInsertLineBreak() 1073 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in Delete() 1086 aStartIndex.SetIndex( rSel.nStartPara, rSel.nStartPos, *this ); in InsertText() [all …]
|
H A D | unofored.cxx | 74 if( rSel.nStartPara == rSel.nEndPara ) in GetAttribs() 92 return rEditEngine.GetAttribs( rSel.nStartPara, rSel.nStartPos, rSel.nEndPos, nFlags ); in GetAttribs() 184 for( sal_uInt32 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in GetSvxEditEngineItemState() 190 if( rSel.nStartPara == nPara ) in GetSvxEditEngineItemState() 445 if( aRes.nStartPara == nPara && in GetWordIndices() 446 aRes.nStartPara == aRes.nEndPara ) in GetWordIndices()
|
H A D | unoforou.cxx | 82 if( rSel.nStartPara == rSel.nEndPara ) in ImplOutlinerForwarderGetAttribs() 100 return rEditEngine.GetAttribs( rSel.nStartPara, rSel.nStartPos, rSel.nEndPos, nFlags ); in ImplOutlinerForwarderGetAttribs() 138 SfxStyleSheet* pStyle = rEditEngine.GetStyleSheet( rSel.nStartPara ); in GetAttribs() 403 if( aRes.nStartPara == nPara && in GetWordIndices() 404 aRes.nStartPara == aRes.nEndPara ) in GetWordIndices()
|
/aoo42x/main/editeng/source/accessibility/ |
H A D | AccessibleParaManager.cxx | 352 void AccessibleParaManager::FireEvent( sal_uInt32 nStartPara, in FireEvent() argument 358 DBG_ASSERT( maChildren.size() > nStartPara && in FireEvent() 360 nEndPara >= nStartPara , "AccessibleParaManager::FireEvent: invalid index" ); in FireEvent() 362 … if( maChildren.size() > nStartPara && maChildren.size() >= nEndPara && nEndPara >= nStartPara) in FireEvent() 367 ::std::advance( front, nStartPara ); in FireEvent() 388 void AccessibleParaManager::Release( sal_uInt32 nStartPara, sal_uInt32 nEndPara ) in Release() argument 390 DBG_ASSERT( maChildren.size() > nStartPara && in Release() 393 if( maChildren.size() > nStartPara && in Release() 399 ::std::advance( front, nStartPara ); in Release()
|
H A D | AccessibleStaticTextBase.cxx | 92 ESelection MakeSelection( sal_Int32 nStartPara, sal_Int32 nStartIndex, in MakeSelection() argument 95 DBG_ASSERT(nStartPara >= 0 && nStartPara <= USHRT_MAX && in MakeSelection() 101 return ESelection( nStartPara, static_cast< sal_uInt16 >(nStartIndex), in MakeSelection() 191 sal_Bool SetSelection( sal_Int32 nStartPara, sal_Int32 nStartIndex, 193 sal_Bool CopyText( sal_Int32 nStartPara, sal_Int32 nStartIndex, 417 … sal_Bool AccessibleStaticTextBase_Impl::SetSelection( sal_Int32 nStartPara, sal_Int32 nStartIndex, in SetSelection() argument 428 … return rCacheVF.SetSelection( MakeSelection(nStartPara, nStartIndex, nEndPara, nEndIndex) ); in SetSelection() 436 sal_Bool AccessibleStaticTextBase_Impl::CopyText( sal_Int32 nStartPara, sal_Int32 nStartIndex, in CopyText() argument 454 rCacheVF.SetSelection( MakeSelection(nStartPara, nStartIndex, nEndPara, nEndIndex) ); in CopyText()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | impedit.cxx | 194 sal_uInt32 nStartPara = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( pStartNode ); in DrawSelection() local 197 for ( sal_uInt32 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in DrawSelection() 214 if ( nPara == nStartPara ) in DrawSelection() 1649 …pPos( pDragAndDropInfo->aDropSel.nStartPara, pDragAndDropInfo->aDropSel.nStartPos, pDragAndDropInf… in dragDropEnd() 1658 …DBG_ASSERT( pDragAndDropInfo->aBeginDragSel.nStartPara >= pDragAndDropInfo->aDropSel.nStartPara, "… in dragDropEnd() 1659 aToBeDelSel.nStartPara = aToBeDelSel.nStartPara + nParaDiff; in dragDropEnd() 1662 if ( aToBeDelSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd() 1671 if ( aToBeDelSel.nStartPara == aToBeDelSel.nEndPara ) in dragDropEnd() 1680 …DBG_ASSERT( pDragAndDropInfo->aBeginDragSel.nStartPara <= pDragAndDropInfo->aDropSel.nStartPara, "… in dragDropEnd() 1681 aNewSel.nStartPara = aNewSel.nStartPara - nParaDiff; in dragDropEnd() [all …]
|
H A D | editview.cxx | 235 …EditSelection aNewSelection( PIMPEE->ConvertSelection( rESel.nStartPara, rESel.nStartPos, rESel.nE… in SetSelection() 270 …aSelection.nStartPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Min().GetNod… in GetSelection() 729 Range aRange( aSel.nStartPara, aSel.nEndPara ); in MoveParagraphs() 851 sal_uInt32 nStartPara = PIMPEE->GetEditDoc().GetPos( aSel.Min().GetNode() ); in GetStyleSheet() local 855 for ( sal_uInt32 n = nStartPara; n <= nEndPara; n++ ) in GetStyleSheet() 858 if ( ( n != nStartPara ) && ( pStyle != pTmpStyle ) ) in GetStyleSheet() 1480 for( sal_uInt32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ChangeFontSize() 1488 const sal_uInt16 nBeginPos = (nPara == aSel.nStartPara) ? aSel.nStartPos : 0; in ChangeFontSize()
|
/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() 120 { nPara = aSel.nStartPara; in SmGetLeftSelectionPart() 689 bRes = !eSelection.nStartPara && (eSelection.nEndPara == nParaCnt - 1); in IsAllSelected() 758 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark() 774 eSelection.nStartPara--; in SelPrevMark() 775 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark() 779 while ((eSelection.nStartPara < nCounts) && in SelPrevMark() 784 … mpEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
|
/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() 85 { nPara = aSel.nStartPara; in SmGetLeftSelectionPart() 690 bRes = !eSelection.nStartPara && (eSelection.nEndPara == nParaCnt - 1); in IsAllSelected() 714 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand() 792 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark() 808 eSelection.nStartPara--; in SelPrevMark() 809 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark() 813 while ((eSelection.nStartPara < nCounts) && in SelPrevMark() 818 … pEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
|
/aoo42x/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 218 if ( rSel.nEndPara >= pE->aSel.nStartPara ) in EntryEnd() 223 else if ( rSel.nStartPara == pE->aSel.nStartPara - 1 && !pE->aSel.HasRange() ) in EntryEnd() 725 while ( rSel.nStartPara < rSel.nEndPara in CloseEntry() 728 rSel.nStartPara++; in CloseEntry() 735 if ( rSel.nStartPara > rSel.nEndPara ) in CloseEntry() 738 rSel.nEndPara = rSel.nStartPara; in CloseEntry() 1775 aSel.nStartPara = rInfo.aSelection.nStartPara; in AdjustStart() 1778 …if( (aSel.nEndPara < aSel.nStartPara) || ((aSel.nEndPara == aSel.nStartPara) && (aSel.nEndPos < aS… in AdjustStart() 1780 aSel.nEndPara = aSel.nStartPara; in AdjustStart() 1798 …while( (aSel.nStartPara < aSel.nEndPara) && (rEditEngine.GetTextLen( aSel.nStartPara ) <= aSel.nSt… in Strip() [all …]
|
/aoo42x/main/svtools/source/edit/ |
H A D | editsyntaxhighlighter.cxx | 71 sal_uLong nStartPara = aCurrentPos.GetStart().GetPara(); in DoBracketHilight() local 102 for (long aPara =nStartPara; aPara>=0;--aPara) in DoBracketHilight() 108 …for (sal_uInt16 i = ((unsigned long)aPara==nStartPara) ? aStartPos-1 : (sal_uInt16)(aLine.Len()-1)… in DoBracketHilight() 116 …GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nStartPara, aStartPos, aStar… in DoBracketHilight() 117 …GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nStartPara, aStartPos, aStartPos,… in DoBracketHilight()
|
/aoo42x/main/sd/source/ui/func/ |
H A D | fuparagr.cxx | 105 …Int16Item( ATTR_NUMBER_NEWSTART_AT, pOutliner->GetNumberingStartValue( eSelection.nStartPara ) ) ); in DoExecute() 106 …fxBoolItem( ATTR_NUMBER_NEWSTART, pOutliner->IsParaIsNumberingRestart( eSelection.nStartPara ) ) ); in DoExecute() 144 pOutliner->SetParaIsNumberingRestart( eSelection.nStartPara, bNewStart ); in DoExecute() 150 pOutliner->SetNumberingStartValue( eSelection.nStartPara, nStartAt ); in DoExecute()
|
/aoo42x/main/svx/source/accessibility/ |
H A D | AccessibleTextHelper.cxx | 635 if( maLastSelection.nStartPara != EE_PARA_NOT_FOUND ) in UpdateSelection() 665 if( maLastSelection.nStartPara != EE_PARA_NOT_FOUND && in UpdateSelection() 687 makeSortedPair(::std::min( aSelection.nStartPara, nMaxValidParaIndex ), in UpdateSelection() 692 makeSortedPair(::std::min( maLastSelection.nStartPara, nMaxValidParaIndex ), in UpdateSelection() 701 if( maLastSelection.nStartPara == EE_PARA_NOT_FOUND ) in UpdateSelection() 759 sal_uInt32 nPara = aTmpSel.nStartPara; in UpdateSelection() 762 if ( nPara < aTmpLastSel.nStartPara || in UpdateSelection() 773 nPara == aTmpSel.nStartPara in UpdateSelection() 779 nPara == aTmpLastSel.nStartPara in UpdateSelection() 793 nPara = aTmpLastSel.nStartPara; in UpdateSelection() [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()
|
H A D | fielduno.cxx | 584 aSelection.nEndPara = aSelection.nStartPara; in DeleteField() 607 SvxFieldData* pField = aTempEngine.FindByPos( aSelection.nStartPara, aSelection.nStartPos, 0 ); in getPresentation() 693 SvxFieldData* pField = aTempEngine.FindByPos( aSelection.nStartPara, aSelection.nStartPos, 0 ); in setPropertyValue() 772 SvxFieldData* pField = aTempEngine.FindByPos( aSelection.nStartPara, aSelection.nStartPos, 0 ); in getPropertyValue() 1289 aSelection.nEndPara = aSelection.nStartPara; in DeleteField() 1408 aSelection.nStartPara, aSelection.nStartPos, TYPE(SvxExtFileField) ); in setPropertyValue() 1454 aSelection.nStartPara, aSelection.nStartPos, TYPE(SvxExtFileField) ); in getPropertyValue()
|
/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() 97 && pE->aSel.nStartPos == pEdit->GetTextLen( pE->aSel.nStartPara ) in Read() 370 pActEntry->aSel.nStartPara = pInfo->aSelection.nEndPara - 1; in ProcToken()
|
/aoo42x/main/sd/source/ui/view/ |
H A D | drtxtob.cxx | 466 sal_uLong nStartPara = aSel.nStartPara; in GetAttrState() local 470 nStartPara = 0; in GetAttrState() 474 for( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in GetAttrState()
|
H A D | drtxtob1.cxx | 147 sal_uLong nStartPara = aSel.nStartPara; in Execute() local 151 nStartPara = 0; in Execute() 154 for( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in Execute()
|
/aoo42x/main/sc/source/ui/app/ |
H A D | inputhdl.cxx | 1342 DBG_ASSERT( !aSel.nStartPara && !aSel.nEndPara, "Zuviele Absaetze in Formel" ); in PasteManualTip() 1536 if ( aSel.nEndPara+1 == nParCnt && aSel.nStartPara == aSel.nEndPara ) in NextAutoEntry() 2024 DBG_ASSERT( rSel.nStartPara==0 && rSel.nEndPara==0, "SetTopSelection: Para != 0" ); in lcl_SetTopSelection() 2030 xub_StrLen nParLen = pEngine->GetTextLen(rSel.nStartPara); in lcl_SetTopSelection() 2031 while (rSel.nStartPos > nParLen && rSel.nStartPara+1 < nCount) in lcl_SetTopSelection() 2034 nParLen = pEngine->GetTextLen(++rSel.nStartPara); in lcl_SetTopSelection() 2047 if ( rSel.nStartPara != aSel.nStartPara || rSel.nEndPara != aSel.nEndPara in lcl_SetTopSelection() 2257 aSel.nStartPara = aSel.nEndPara; in RemoveSelection() 2835 if ( aSel.nStartPara == 0 && aSel.nStartPos == 0 ) in SetReference() 2845 if (aTabSel.nStartPos > aTabSel.nEndPos && aTabSel.nStartPara == aTabSel.nEndPara) in SetReference() [all …]
|
/aoo42x/main/sc/source/filter/excel/ |
H A D | xihelper.cxx | 219 aSelection.nStartPara = 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()
|