Home
last modified time | relevance | path

Searched refs:nStartPara (Results 1 – 25 of 64) sorted by relevance

123

/aoo4110/main/editeng/inc/editeng/
H A Deditdata.hxx126 sal_uInt16 nStartPara; member
134 nStartPara( nStPara ), in ESelection()
142 nStartPara( nPara ), in ESelection()
164 return ( ( nStartPara == 0 ) && ( nStartPos == 0 ) && in IsZero()
170 return ( ( nStartPara == rS.nStartPara ) && ( nStartPos == rS.nStartPos ) && in IsEqual()
179 if ( ( nEndPara < rS.nStartPara ) || in IsLess()
192 if ( ( nStartPara > rS.nEndPara ) || in IsGreater()
203 if ( nStartPara > nEndPara ) in Adjust()
211 nStartPara = nEndPara; nStartPos = nEndPos; in Adjust()
307 sal_uInt16 nStartPara; member
[all …]
H A Doutliner.hxx166 sal_uInt16 nStartPara; 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()
179 sal_uInt16 nTmp = nStartPara; in Adjust()
180 nStartPara = nEndPara; in Adjust()
229 …EDITENG_DLLPRIVATE void ImplExpandOrCollaps( sal_uInt16 nStartPara, sal_uInt16 nEndPara, sal_Boo…
703 void ImpTextPasted( sal_uLong nStartPara, sal_uInt16 nCount );
773 …OutlinerParaObject* CreateParaObject( sal_uInt16 nStartPara = 0, sal_uInt16 nParaCount = 0xFFFF ) …
/aoo4110/main/editeng/source/outliner/
H A Doutlvw.cxx373 nPara = aSel.nStartPara; in MouseButtonDown()
744 sal_uLong nEndPara = nStartPara; in AdjustDepth()
756 sal_uLong nEndPara = nStartPara; in AdjustHeight()
1111 rStart = aSelection.nStartPara; in ImpInitPaste()
1160 sal_uInt16 nStartPara = aSel.nStartPara; in ImpCalcSelectedPages() local
1346 sal_uInt16 nStartPara = 0; in ApplyBulletsNumbering() local
1352 nStartPara = aSel.nStartPara; in ApplyBulletsNumbering()
1357 nStartPara = 0; in ApplyBulletsNumbering()
1469 sal_uInt16 nStartPara = 0; in SwitchOffBulletsNumbering() local
1475 nStartPara = aSel.nStartPara; in SwitchOffBulletsNumbering()
[all …]
H A Doutliner.cxx441 nCount = pEditEngine->GetParagraphCount() - nStartPara; in CreateParaObject()
449 const sal_uInt16 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()
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 …]
/aoo4110/main/editeng/source/uno/
H A Dunotext.cxx142 if( rSel.nStartPara == 0xffff ) in CheckSelection()
152 if( rSel.nStartPara < aMaxSelection.nStartPara ) in CheckSelection()
154 rSel.nStartPara = aMaxSelection.nStartPara; in CheckSelection()
321 maSelection.nStartPara = 0xffff; in SetEditSource()
506 nPara = aSel.nStartPara; in _setPropertyValue()
820 nTempPara = aSel.nStartPara; in _setPropertyValues()
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 Dunoedprx.cxx478 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 Dunofored.cxx74 if( rSel.nStartPara == rSel.nEndPara ) in GetAttribs()
92 return rEditEngine.GetAttribs( rSel.nStartPara, rSel.nStartPos, rSel.nEndPos, nFlags ); in GetAttribs()
184 for( sal_uInt16 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 Dunoforou.cxx82 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()
/aoo4110/main/editeng/source/accessibility/
H A DAccessibleParaManager.cxx352 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 DAccessibleStaticTextBase.cxx92 ESelection MakeSelection( sal_Int32 nStartPara, sal_Int32 nStartIndex, in MakeSelection() argument
95 DBG_ASSERT(nStartPara >= 0 && nStartPara <= USHRT_MAX && in MakeSelection()
101 … return ESelection( static_cast< sal_uInt16 >(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()
/aoo4110/main/editeng/source/editeng/
H A Dimpedit.cxx194 sal_uInt16 nStartPara = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( pStartNode ); in DrawSelection() local
197 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in DrawSelection()
214 if ( nPara == nStartPara ) in DrawSelection()
1648 …pPos( pDragAndDropInfo->aDropSel.nStartPara, pDragAndDropInfo->aDropSel.nStartPos, pDragAndDropInf… in dragDropEnd()
1657 …DBG_ASSERT( pDragAndDropInfo->aBeginDragSel.nStartPara >= pDragAndDropInfo->aDropSel.nStartPara, "… in dragDropEnd()
1658 aToBeDelSel.nStartPara = aToBeDelSel.nStartPara + nParaDiff; in dragDropEnd()
1661 if ( aToBeDelSel.nStartPara == pDragAndDropInfo->aDropSel.nEndPara ) in dragDropEnd()
1670 if ( aToBeDelSel.nStartPara == aToBeDelSel.nEndPara ) in dragDropEnd()
1679 …DBG_ASSERT( pDragAndDropInfo->aBeginDragSel.nStartPara <= pDragAndDropInfo->aDropSel.nStartPara, "… in dragDropEnd()
1680 aNewSel.nStartPara = aNewSel.nStartPara - nParaDiff; in dragDropEnd()
[all …]
H A Deditview.cxx235 …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_uInt16 nStartPara = PIMPEE->GetEditDoc().GetPos( aSel.Min().GetNode() ); in GetStyleSheet() local
855 for ( sal_uInt16 n = nStartPara; n <= nEndPara; n++ ) in GetStyleSheet()
858 if ( ( n != nStartPara ) && ( pStyle != pTmpStyle ) ) in GetStyleSheet()
1479 for( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ChangeFontSize()
1487 const sal_uInt16 nBeginPos = (nPara == aSel.nStartPara) ? aSel.nStartPos : 0; in ChangeFontSize()
/aoo4110/main/sd/source/ui/notes/
H A DEditWindow.cxx117 (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()
759 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark()
775 eSelection.nStartPara--; in SelPrevMark()
776 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark()
780 while ((eSelection.nStartPara < nCounts) && in SelPrevMark()
785 … mpEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
/aoo4110/main/starmath/source/
H A Dedit.cxx83 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()
715 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand()
793 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark()
809 eSelection.nStartPara--; in SelPrevMark()
810 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark()
814 while ((eSelection.nStartPara < nCounts) && in SelPrevMark()
819 … pEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
/aoo4110/main/sc/source/filter/html/
H A Dhtmlpars.cxx218 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 …]
/aoo4110/main/svtools/source/edit/
H A Deditsyntaxhighlighter.cxx71 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()
/aoo4110/main/sd/source/ui/func/
H A Dfuparagr.cxx105 …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()
/aoo4110/main/svx/source/accessibility/
H A DAccessibleTextHelper.cxx635 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 …]
/aoo4110/main/sc/source/ui/unoobj/
H A Dtextuno.cxx487 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 Dfielduno.cxx584 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()
/aoo4110/main/sc/source/filter/rtf/
H A Drtfparse.cxx93 && (( 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()
/aoo4110/main/sd/source/ui/view/
H A Ddrtxtob.cxx466 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 Ddrtxtob1.cxx147 sal_uLong nStartPara = aSel.nStartPara; in Execute() local
151 nStartPara = 0; in Execute()
154 for( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in Execute()
/aoo4110/main/sc/source/filter/excel/
H A Dxihelper.cxx219 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()
/aoo4110/main/sc/source/ui/app/
H A Dinputhdl.cxx1342 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 …]

Completed in 177 milliseconds

123