Lines Matching refs:pOutliner
513 SdrOutliner* pOutliner = new ::sd::Outliner( mpDoc, OUTLINERMODE_TEXTOBJECT ); in InsTextOrRTFinDrMode() local
519 pOutliner->SetRefDevice( SD_MOD()->GetRefDevice( *mpDocSh ) ); in InsTextOrRTFinDrMode()
525 pOutliner->SetPaperSize(pPage->GetSize()); in InsTextOrRTFinDrMode()
531 …sal_uLong nErr = pOutliner->Read( *pStream, pMedium->GetBaseURL(), nFormat, mpDocSh->GetHeaderAttr… in InsTextOrRTFinDrMode()
533 if (nErr || !pOutliner->GetEditEngine().GetText().Len()) in InsTextOrRTFinDrMode()
558 pOutliner->GetParagraphCount() > 1 ) in InsTextOrRTFinDrMode()
561 while ( pOutliner->GetParagraphCount() > 1 ) in InsTextOrRTFinDrMode()
563 Paragraph* pPara = pOutliner->GetParagraph( 0 ); in InsTextOrRTFinDrMode()
564 sal_uLong nLen = pOutliner->GetText( pPara, 1 ).Len(); in InsTextOrRTFinDrMode()
565 pOutliner->QuickDelete( ESelection( 0, (sal_uInt16) nLen, 1, 0 ) ); in InsTextOrRTFinDrMode()
566 pOutliner->QuickInsertLineBreak( ESelection( 0, (sal_uInt16) nLen, 0, (sal_uInt16) nLen ) ); in InsTextOrRTFinDrMode()
571 OutlinerParaObject* pOPO = pOutliner->CreateParaObject(); in InsTextOrRTFinDrMode()
589 Size aSize(pOutliner->CalcTextSize()); in InsTextOrRTFinDrMode()
616 delete pOutliner; in InsTextOrRTFinDrMode()
666 ::Outliner* pOutliner = new ::Outliner( &mpDoc->GetItemPool(), OUTLINERMODE_OUTLINEOBJECT ); in InsTextOrRTFinOlMode()
667 pOutliner->SetStyleSheetPool((SfxStyleSheetPool*)mpDoc->GetStyleSheetPool()); in InsTextOrRTFinOlMode()
670 pOutliner->SetRefDevice(SD_MOD()->GetRefDevice( *mpDocSh )); in InsTextOrRTFinOlMode()
671 pOutliner->SetPaperSize(Size(0x7fffffff, 0x7fffffff)); in InsTextOrRTFinOlMode()
677 …sal_uLong nErr = pOutliner->Read(*pStream, pMedium->GetBaseURL(), nFormat, mpDocSh->GetHeaderAttri… in InsTextOrRTFinOlMode()
679 if (nErr || !pOutliner->GetEditEngine().GetText().Len()) in InsTextOrRTFinOlMode()
687 sal_uLong nParaCount = pOutliner->GetParagraphCount(); in InsTextOrRTFinOlMode()
691 pPara = pOutliner->GetParagraph( 0 ); in InsTextOrRTFinOlMode()
694 sal_uLong nPos = pOutliner->GetAbsPos( pPara ); in InsTextOrRTFinOlMode()
695 if( pOutliner->HasParaFlag( pPara, PARAFLAG_ISPAGE ) ) in InsTextOrRTFinOlMode()
697 pPara = pOutliner->GetParagraph( ++nPos ); in InsTextOrRTFinOlMode()
713 Paragraph* pSourcePara = pOutliner->GetParagraph( 0 ); in InsTextOrRTFinOlMode()
716 sal_uLong nPos = pOutliner->GetAbsPos( pSourcePara ); in InsTextOrRTFinOlMode()
717 sal_Int16 nDepth = pOutliner->GetDepth( (sal_uInt16) nPos ); in InsTextOrRTFinOlMode()
721 pOutliner->GetText(pSourcePara).Len() > 0) in InsTextOrRTFinOlMode()
723 pDocliner->Insert( pOutliner->GetText(pSourcePara), nTargetPos, nDepth ); in InsTextOrRTFinOlMode()
739 pSourcePara = pOutliner->GetParagraph( ++nPos ); in InsTextOrRTFinOlMode()
752 delete pOutliner; in InsTextOrRTFinOlMode()
767 ::Outliner* pOutliner = pOlView->GetViewByWindow(mpWindow)->GetOutliner(); in InsSDDinOlMode()
770 Link aOldParagraphInsertedHdl = pOutliner->GetParaInsertedHdl(); in InsSDDinOlMode()
771 pOutliner->SetParaInsertedHdl( Link(NULL, NULL)); in InsSDDinOlMode()
772 Link aOldParagraphRemovingHdl = pOutliner->GetParaRemovingHdl(); in InsSDDinOlMode()
773 pOutliner->SetParaRemovingHdl( Link(NULL, NULL)); in InsSDDinOlMode()
774 Link aOldDepthChangedHdl = pOutliner->GetDepthChangedHdl(); in InsSDDinOlMode()
775 pOutliner->SetDepthChangedHdl( Link(NULL, NULL)); in InsSDDinOlMode()
776 Link aOldBeginMovingHdl = pOutliner->GetBeginMovingHdl(); in InsSDDinOlMode()
777 pOutliner->SetBeginMovingHdl( Link(NULL, NULL)); in InsSDDinOlMode()
778 Link aOldEndMovingHdl = pOutliner->GetEndMovingHdl(); in InsSDDinOlMode()
779 pOutliner->SetEndMovingHdl( Link(NULL, NULL)); in InsSDDinOlMode()
781 Link aOldStatusEventHdl = pOutliner->GetStatusEventHdl(); in InsSDDinOlMode()
782 pOutliner->SetStatusEventHdl(Link(NULL, NULL)); in InsSDDinOlMode()
784 pOutliner->Clear(); in InsSDDinOlMode()
788 pOutliner->SetParaInsertedHdl(aOldParagraphInsertedHdl); in InsSDDinOlMode()
789 pOutliner->SetParaRemovingHdl(aOldParagraphRemovingHdl); in InsSDDinOlMode()
790 pOutliner->SetDepthChangedHdl(aOldDepthChangedHdl); in InsSDDinOlMode()
791 pOutliner->SetBeginMovingHdl(aOldBeginMovingHdl); in InsSDDinOlMode()
792 pOutliner->SetEndMovingHdl(aOldEndMovingHdl); in InsSDDinOlMode()
793 pOutliner->SetStatusEventHdl(aOldStatusEventHdl); in InsSDDinOlMode()