Lines Matching refs:pPara
203 Paragraph* pPara = pOwner->pParaList->GetParagraph( aSel.nEndPara ); in PostKeyEvent() local
207 if( !pPara->GetDepth() ) in PostKeyEvent()
221 Paragraph* pPara = pOwner->pParaList->GetParagraph( aSel.nEndPara ); in PostKeyEvent() local
229 sal_uLong nChilds = pOwner->pParaList->GetChildCount(pPara); in PostKeyEvent()
230 if( nChilds && !pOwner->pParaList->HasVisibleChilds(pPara)) in PostKeyEvent()
236 pOwner->Insert( String(),nTemp,pPara->GetDepth()); in PostKeyEvent()
253 pOwner->Insert( String(), nTemp, pPara->GetDepth()+1 ); in PostKeyEvent()
350 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in MouseButtonDown() local
351 sal_Bool bHasChilds = (pPara && pOwner->pParaList->HasChilds(pPara)); in MouseButtonDown()
355 if ( bHasChilds && pOwner->pParaList->HasVisibleChilds(pPara) ) in MouseButtonDown()
356 nEndPara += pOwner->pParaList->GetChildCount( pPara ); in MouseButtonDown()
362 ImpToggleExpand( pPara ); in MouseButtonDown()
374 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in MouseButtonDown() local
375 if( (pPara && pOwner->pParaList->HasChilds(pPara)) && pPara->HasFlag(PARAFLAG_ISPAGE) ) in MouseButtonDown()
377 ImpToggleExpand( pPara ); in MouseButtonDown()
495 void OutlinerView::ImpToggleExpand( Paragraph* pPara ) in ImpToggleExpand() argument
499 sal_uInt16 nPara = (sal_uInt16) pOwner->pParaList->GetAbsPos( pPara ); in ImpToggleExpand()
501 ImplExpandOrCollaps( nPara, nPara, !pOwner->pParaList->HasVisibleChilds( pPara ) ); in ImpToggleExpand()
613 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in Indent() local
615 sal_Int16 nOldDepth = pPara->GetDepth(); in Indent()
620 const bool bPage = pPara->HasFlag(PARAFLAG_ISPAGE); in Indent()
625 pOwner->mnDepthChangeHdlPrevFlags = pPara->nFlags; in Indent()
626 pOwner->pHdlParagraph = pPara; in Indent()
629 pPara->RemoveFlag( PARAFLAG_ISPAGE ); in Indent()
631 pPara->SetFlag( PARAFLAG_ISPAGE ); in Indent()
637 …w OutlinerUndoChangeParaFlags( pOwner, nPara, pOwner->mnDepthChangeHdlPrevFlags, pPara->nFlags ) ); in Indent()
689 pOwner->mnDepthChangeHdlPrevFlags = pPara->nFlags; in Indent()
690 pOwner->pHdlParagraph = pPara; in Indent()
717 Paragraph* pPara = pOwner->pParaList->GetParagraph( n ); in Indent() local
718 if ( pPara->GetDepth() < nMinDepth ) in Indent()
740 void OutlinerView::AdjustDepth( Paragraph* pPara, short nDX, sal_Bool bWithChilds) in AdjustDepth() argument
743 sal_uLong nStartPara = pOwner->pParaList->GetAbsPos( pPara ); in AdjustDepth()
746 nEndPara += pOwner->pParaList->GetChildCount( pPara ); in AdjustDepth()
752 void OutlinerView::AdjustHeight( Paragraph* pPara, long nDY, sal_Bool bWithChilds ) in AdjustHeight() argument
755 sal_uLong nStartPara = pOwner->pParaList->GetAbsPos( pPara ); in AdjustHeight()
758 nEndPara += pOwner->pParaList->GetChildCount( pPara ); in AdjustHeight()
941 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ImplExpandOrCollaps() local
942 sal_Bool bDone = bExpand ? pOwner->Expand( pPara ) : pOwner->Collapse( pPara ); in ImplExpandOrCollaps()
961 void OutlinerView::Expand( Paragraph* pPara) in Expand() argument
964 pOwner->Expand( pPara ); in Expand()
968 void OutlinerView::Collapse( Paragraph* pPara) in Collapse() argument
971 pOwner->Collapse( pPara ); in Collapse()
1055 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in CreateSelectionList() local
1056 pSelList->Insert( pPara, LIST_APPEND ); in CreateSelectionList()
1165 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ImpCalcSelectedPages() local
1166 DBG_ASSERT(pPara, "ImpCalcSelectedPages: ungueltige Selection? "); in ImpCalcSelectedPages()
1167 if( pPara->HasFlag(PARAFLAG_ISPAGE) ) in ImpCalcSelectedPages()
1201 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in ToggleBullets() local
1202 DBG_ASSERT(pPara, "OutlinerView::ToggleBullets(), illegal selection?"); in ToggleBullets()
1204 if( pPara ) in ToggleBullets()
1220 pOwner->SetDepth( pPara, nNewDepth ); in ToggleBullets()
1312 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in EnableBullets() local
1313 DBG_ASSERT(pPara, "OutlinerView::EnableBullets(), illegal selection?"); in EnableBullets()
1315 if( pPara && (pOwner->GetDepth(nPara) == -1) ) in EnableBullets()
1317 pOwner->SetDepth( pPara, 0 ); in EnableBullets()
1363 Paragraph* pPara = pOwner->pParaList->GetParagraph(nPara); in ApplyBulletsNumbering() local
1364 DBG_ASSERT(pPara, "OutlinerView::ApplyBulletsNumbering(..), illegal selection?"); in ApplyBulletsNumbering()
1366 if (pPara) in ApplyBulletsNumbering()
1371 pOwner->SetDepth( pPara, 0 ); in ApplyBulletsNumbering()
1490 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in SwitchOffBulletsNumbering() local
1491 DBG_ASSERT(pPara, "OutlinerView::SwitchOffBulletsNumbering(...), illegal paragraph index?"); in SwitchOffBulletsNumbering()
1493 if( pPara ) in SwitchOffBulletsNumbering()
1495 pOwner->SetDepth( pPara, -1 ); in SwitchOffBulletsNumbering()
1538 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in RemoveAttribs() local
1539 pOwner->ImplInitDepth( nPara, pPara->GetDepth(), sal_False, sal_False ); in RemoveAttribs()