Lines Matching refs:nPara
275 sal_uLong nPara = EE_PARA_NOT_FOUND; in ImpCheckMousePos() local
298 nPara = pOwner->pEditEngine->FindParagraph( aDocPos.Y() ); in ImpCheckMousePos()
313 return nPara; in ImpCheckMousePos()
347 sal_uLong nPara = ImpCheckMousePos( rMEvt.GetPosPixel(), eTarget ); in MouseButtonDown() local
350 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in MouseButtonDown()
354 sal_uLong nEndPara = nPara; in MouseButtonDown()
358 ESelection aSel((sal_uInt16)nEndPara, 0xffff,(sal_uInt16)nPara, 0 ); in MouseButtonDown()
370 …if( (nPara == EE_PARA_NOT_FOUND) && (pOwner->ImplGetOutlinerMode() == OUTLINERMODE_OUTLINEVIEW) &&… in MouseButtonDown()
373 nPara = aSel.nStartPara; in MouseButtonDown()
374 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in MouseButtonDown()
445 sal_uLong nPara = nDDCurPara; in ImpPaintDDCursor() local
449 nPara = pOwner->pParaList->GetAbsPos( pTemp ); in ImpPaintDDCursor()
451 aStartPointWin = pEditView->GetWindowPosTopLeft((sal_uInt16) nPara ); in ImpPaintDDCursor()
454 long nHeight = pOwner->pEditEngine->GetTextHeight((sal_uInt16)nPara ); in ImpPaintDDCursor()
499 sal_uInt16 nPara = (sal_uInt16) pOwner->pParaList->GetAbsPos( pPara ); in ImpToggleExpand() local
500 pEditView->SetSelection( ESelection( nPara, 0, nPara, 0 ) ); in ImpToggleExpand()
501 ImplExpandOrCollaps( nPara, nPara, !pOwner->pParaList->HasVisibleChilds( pPara ) ); in ImpToggleExpand()
520 sal_uLong nPara = pOwner->pParaList->GetAbsPos( pParagraph ); in Select() local
529 ESelection aSel( (sal_uInt16)nPara, 0,(sal_uInt16)(nPara+nChildCount), nEnd ); in Select()
550 for( sal_uInt16 nPara= aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetAttribs() local
552 pOwner->ImplCheckNumBulletItem( nPara ); in SetAttribs()
553 pOwner->ImplCalcBulletText( nPara, sal_False, sal_False ); in SetAttribs()
556 pOwner->InsertUndo( new OutlinerUndoCheckPara( pOwner, nPara ) ); in SetAttribs()
611 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in Indent() local
613 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in Indent()
618 if( bOutlinerView && nPara ) in Indent()
634 pOwner->pEditEngine->QuickMarkInvalid( ESelection( nPara, 0, nPara, 0 ) ); in Indent()
637 …pOwner->InsertUndo( new OutlinerUndoChangeParaFlags( pOwner, nPara, pOwner->mnDepthChangeHdlPrevFl… in Indent()
663 …if ( ( nPara == aSel.nStartPara ) && aSel.nStartPara && ( pOwner->ImplGetOutlinerMode() != OUTLINE… in Indent()
692 pOwner->ImplInitDepth( nPara, nNewDepth, sal_True, sal_False ); in Indent()
693 pOwner->ImplCalcBulletText( nPara, sal_False, sal_False ); in Indent()
696 pOwner->ImplSetLevelDependendStyleSheet( nPara ); in Indent()
704 pOwner->pEditEngine->QuickMarkInvalid( ESelection( nPara, 0, nPara, 0 ) ); in Indent()
939 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in ImplExpandOrCollaps() local
941 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ImplExpandOrCollaps()
946 pOwner->pEditEngine->QuickMarkToBeRepainted( nPara ); in ImplExpandOrCollaps()
1037 for( sal_uInt16 nPara = 0; nPara < nParaCount; nPara++ ) in PasteSpecial() local
1038 pOwner->ImplSetLevelDependendStyleSheet( nPara ); in PasteSpecial()
1053 for ( sal_uInt16 nPara = aParas.nStartPara; nPara <= aParas.nEndPara; nPara++ ) in CreateSelectionList() local
1055 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in CreateSelectionList()
1073 for( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetStyleSheet() local
1075 pOwner->ImplCheckNumBulletItem( nPara ); in SetStyleSheet()
1076 pOwner->ImplCalcBulletText( nPara, sal_False, sal_False ); in SetStyleSheet()
1163 for ( sal_uInt16 nPara = nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ImpCalcSelectedPages() local
1165 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ImpCalcSelectedPages()
1171 nFirstPage = nPara; in ImpCalcSelectedPages()
1199 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ToggleBullets() local
1201 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ToggleBullets()
1208 nNewDepth = (pOwner->GetDepth(nPara) == -1) ? 0 : -1; in ToggleBullets()
1212 const ESelection aSelection(nPara, 0); in ToggleBullets()
1224 const SfxItemSet& rAttrs = pOwner->GetParaAttribs( nPara ); in ToggleBullets()
1229 pOwner->SetParaAttribs( nPara, aAttrs ); in ToggleBullets()
1236 const SvxNumberFormat* pFmt = pOwner ->GetNumberFormat( nPara ); in ToggleBullets()
1241 SfxItemSet aAttrs( pOwner->GetParaAttribs( nPara ) ); in ToggleBullets()
1244 pOwner->SetParaAttribs( nPara, aAttrs ); in ToggleBullets()
1310 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in EnableBullets() local
1312 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in EnableBullets()
1315 if( pPara && (pOwner->GetDepth(nPara) == -1) ) in EnableBullets()
1361 for (sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++) in ApplyBulletsNumbering() local
1363 Paragraph* pPara = pOwner->pParaList->GetParagraph(nPara); in ApplyBulletsNumbering()
1368 const sal_Int16 nDepth = pOwner->GetDepth(nPara); in ApplyBulletsNumbering()
1374 const SfxItemSet& rAttrs = pOwner->GetParaAttribs(nPara); in ApplyBulletsNumbering()
1388 const SvxNumberFormat* pFmt = pOwner ->GetNumberFormat(nPara); in ApplyBulletsNumbering()
1422 ESelection aSelection(nPara, 0); in ApplyBulletsNumbering()
1450 pOwner->SetParaAttribs(nPara, aAttrs); in ApplyBulletsNumbering()
1488 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; ++nPara ) in SwitchOffBulletsNumbering() local
1490 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in SwitchOffBulletsNumbering()
1497 const SfxItemSet& rAttrs = pOwner->GetParaAttribs( nPara ); in SwitchOffBulletsNumbering()
1502 pOwner->SetParaAttribs( nPara, aAttrs ); in SwitchOffBulletsNumbering()
1536 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in RemoveAttribs() local
1538 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in RemoveAttribs()
1539 pOwner->ImplInitDepth( nPara, pPara->GetDepth(), sal_False, sal_False ); in RemoveAttribs()
1642 void OutlinerView::RemoveCharAttribs( sal_uLong nPara, sal_uInt16 nWhich) in RemoveCharAttribs() argument
1645 pEditView->RemoveCharAttribs( (sal_uInt16)nPara, nWhich); in RemoveCharAttribs()
1788 const SvxFieldItem* OutlinerView::GetFieldUnderMousePointer( sal_uInt16& nPara, sal_uInt16& nPos ) … in GetFieldUnderMousePointer() argument
1791 return pEditView->GetFieldUnderMousePointer( nPara, nPos ); in GetFieldUnderMousePointer()