Lines Matching refs:pEditEngine
94 EditEngine *pEditEngine = mpEditView->GetEditEngine(); in ~EditWindow() local
95 if (pEditEngine) in ~EditWindow()
97 pEditEngine->SetStatusEventHdl(Link()); in ~EditWindow()
98 pEditEngine->RemoveView (mpEditView); in ~EditWindow()
144 EditEngine* pEditEngine = mpEditEngine; in CreateEditEngine() local
145 if (pEditEngine == NULL) in CreateEditEngine()
204 pEditEngine = new EditEngine (mpEditEngineItemPool); in CreateEditEngine()
206 pEditEngine->EnableUndo (sal_True); in CreateEditEngine()
207 pEditEngine->SetDefTab (sal_uInt16( in CreateEditEngine()
211 pEditEngine->SetControlWord( in CreateEditEngine()
212 (pEditEngine->GetControlWord() in CreateEditEngine()
217 pEditEngine->SetWordDelimiters ( in CreateEditEngine()
219 pEditEngine->SetRefMapMode (MAP_PIXEL); in CreateEditEngine()
220 pEditEngine->SetPaperSize (Size(800, 0)); in CreateEditEngine()
221 pEditEngine->EraseVirtualDevice(); in CreateEditEngine()
222 pEditEngine->ClearModifyFlag(); in CreateEditEngine()
225 return pEditEngine; in CreateEditEngine()
240 EditEngine* pEditEngine = GetEditEngine(); in DataChanged() local
242 if (pEditEngine!=NULL && mpEditEngineItemPool!=NULL) in DataChanged()
278 String aTxt( pEditEngine->GetText( LINEEND_LF ) ); in DataChanged()
279 pEditEngine->Clear(); //#77957 incorrect font size in DataChanged()
280 pEditEngine->SetText( aTxt ); in DataChanged()
476 EditEngine* pEditEngine = GetEditEngine(); in CreateEditView() local
480 if (mpEditView==NULL && pEditEngine!=NULL) in CreateEditView()
482 mpEditView = new EditView (pEditEngine, this); in CreateEditView()
483 pEditEngine->InsertView (mpEditView); in CreateEditView()
504 pEditEngine->SetStatusEventHdl( in CreateEditView()
567 EditEngine* pEditEngine = GetEditEngine(); in SetScrollBarRanges() local
568 if (mpEditView != NULL && pEditEngine != NULL) in SetScrollBarRanges()
572 long nTmp = pEditEngine->GetTextHeight(); in SetScrollBarRanges()
578 long nTmp = pEditEngine->GetPaperSize().Width(); in SetScrollBarRanges()
619 EditEngine *pEditEngine = GetEditEngine(); in GetText() local
620 DBG_ASSERT( pEditEngine, "EditEngine missing" ); in GetText()
621 if (pEditEngine) in GetText()
622 aText = pEditEngine->GetText( LINEEND_LF ); in GetText()
629 EditEngine *pEditEngine = GetEditEngine(); in SetText() local
630 DBG_ASSERT( pEditEngine, "EditEngine missing" ); in SetText()
631 if (pEditEngine && !pEditEngine->IsModified()) in SetText()
638 pEditEngine->SetText(rText); in SetText()
639 pEditEngine->ClearModifyFlag(); in SetText()
675 EditEngine *pEditEngine = ((EditWindow *) this)->GetEditEngine(); in IsAllSelected() local
677 DBG_ASSERT( pEditEngine, "NULL pointer" ); in IsAllSelected()
678 if (pEditEngine && mpEditView) in IsAllSelected()
681 sal_Int32 nParaCnt = pEditEngine->GetParagraphCount(); in IsAllSelected()
684 String Text( pEditEngine->GetText( LINEEND_LF ) ); in IsAllSelected()
720 EditEngine *pEditEngine = GetEditEngine(); in SelNextMark() local
722 DBG_ASSERT( pEditEngine, "NULL pointer" ); in SelNextMark()
723 if (pEditEngine && mpEditView) in SelNextMark()
729 sal_uInt32 nCounts = pEditEngine->GetParagraphCount(); in SelNextMark()
733 aText = pEditEngine->GetText( eSelection.nEndPara ); in SelNextMark()
750 EditEngine *pEditEngine = GetEditEngine(); in SelPrevMark() local
751 DBG_ASSERT( pEditEngine, "NULL pointer" ); in SelPrevMark()
753 if (pEditEngine && mpEditView) in SelPrevMark()
758 String Text( pEditEngine->GetText( eSelection.nStartPara ) ); in SelPrevMark()
760 sal_uInt32 nCounts = pEditEngine->GetParagraphCount(); in SelPrevMark()
775 Text = pEditEngine->GetText( eSelection.nStartPara ); in SelPrevMark()
831 EditEngine *pEditEngine = ((EditWindow *) this)->GetEditEngine(); in IsEmpty() local
832 return (pEditEngine && (pEditEngine->GetTextLen() == 0)) ? sal_True : sal_False; in IsEmpty()