Lines Matching refs:pEditEngine
145 EditEngine *pEditEngine = pEditView->GetEditEngine(); in ~SmEditWindow() local
146 if (pEditEngine) in ~SmEditWindow()
148 pEditEngine->SetStatusEventHdl( Link() ); in ~SmEditWindow()
149 pEditEngine->RemoveView( pEditView ); in ~SmEditWindow()
221 EditEngine *pEditEngine = GetEditEngine(); in DataChanged() local
224 if (pEditEngine && pEditEngineItemPool) in DataChanged()
230 pEditEngine->SetDefTab( sal_uInt16( GetTextWidth( C2S("XXXX") ) ) ); in DataChanged()
232 SetEditEngineDefaultFonts( *pEditEngine, *pEditEngineItemPool ); in DataChanged()
237 String aTxt( pEditEngine->GetText( LINEEND_LF ) ); in DataChanged()
238 pEditEngine->Clear(); //#77957 incorrect font size in DataChanged()
239 pEditEngine->SetText( aTxt ); in DataChanged()
476 EditEngine *pEditEngine = GetEditEngine(); in CreateEditView() local
480 if (!pEditView && pEditEngine) in CreateEditView()
482 pEditView = new EditView( pEditEngine, this ); in CreateEditView()
483 pEditEngine->InsertView( pEditView ); in CreateEditView()
504 pEditEngine->SetStatusEventHdl( LINK(this, SmEditWindow, EditStatusHdl) ); in CreateEditView()
565 EditEngine *pEditEngine = GetEditEngine(); in SetScrollBarRanges() local
566 if (pVScrollBar && pHScrollBar && pEditEngine && pEditView) in SetScrollBarRanges()
568 long nTmp = pEditEngine->GetTextHeight(); in SetScrollBarRanges()
572 nTmp = pEditEngine->GetPaperSize().Width(); in SetScrollBarRanges()
603 EditEngine *pEditEngine = const_cast< SmEditWindow* >(this)->GetEditEngine(); in GetText() local
604 DBG_ASSERT( pEditEngine, "EditEngine missing" ); in GetText()
605 if (pEditEngine) in GetText()
606 aText = pEditEngine->GetText( LINEEND_LF ); in GetText()
613 EditEngine *pEditEngine = GetEditEngine(); in SetText() local
614 DBG_ASSERT( pEditEngine, "EditEngine missing" ); in SetText()
615 if (pEditEngine && !pEditEngine->IsModified()) in SetText()
622 pEditEngine->SetText(rText); in SetText()
623 pEditEngine->ClearModifyFlag(); in SetText()
649 EditEngine *pEditEngine = GetEditEngine(); in GetFocus() local
650 if (pEditEngine) in GetFocus()
651 pEditEngine->SetStatusEventHdl( LINK(this, SmEditWindow, EditStatusHdl) ); in GetFocus()
657 EditEngine *pEditEngine = GetEditEngine(); in LoseFocus() local
658 if (pEditEngine) in LoseFocus()
659 pEditEngine->SetStatusEventHdl( Link() ); in LoseFocus()
676 EditEngine *pEditEngine = ((SmEditWindow *) this)->GetEditEngine(); in IsAllSelected() local
678 DBG_ASSERT( pEditEngine, "NULL pointer" ); in IsAllSelected()
679 if (pEditEngine && pEditView) in IsAllSelected()
682 sal_Int32 nParaCnt = pEditEngine->GetParagraphCount(); in IsAllSelected()
685 String Text( pEditEngine->GetText( LINEEND_LF ) ); in IsAllSelected()
754 EditEngine *pEditEngine = GetEditEngine(); in SelNextMark() local
756 DBG_ASSERT( pEditEngine, "NULL pointer" ); in SelNextMark()
757 if (pEditEngine && pEditView) in SelNextMark()
763 sal_uInt32 nCounts = pEditEngine->GetParagraphCount(); in SelNextMark()
767 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark()
784 EditEngine *pEditEngine = GetEditEngine(); in SelPrevMark() local
785 DBG_ASSERT( pEditEngine, "NULL pointer" ); in SelPrevMark()
787 if (pEditEngine && pEditView) in SelPrevMark()
792 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark()
794 sal_uInt16 nCounts = pEditEngine->GetParagraphCount(); in SelPrevMark()
809 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark()
866 EditEngine *pEditEngine = ((SmEditWindow *) this)->GetEditEngine(); in IsEmpty() local
868 pEditEngine ? pEditEngine->GetTextLen() == 0 : sal_False); in IsEmpty()
937 EditEngine *pEditEngine = GetEditEngine(); in Flush() local
938 if (pEditEngine && pEditEngine->IsModified()) in Flush()
940 pEditEngine->ClearModifyFlag(); in Flush()
963 EditEngine *pEditEngine = pEditView->GetEditEngine(); in DeleteEditView() local
964 if (pEditEngine) in DeleteEditView()
966 pEditEngine->SetStatusEventHdl( Link() ); in DeleteEditView()
967 pEditEngine->RemoveView( pEditView ); in DeleteEditView()