Lines Matching refs:mpEditView

57       mpEditView(NULL),  in EditWindow()
92 if (mpEditView != NULL) in ~EditWindow()
94 EditEngine *pEditEngine = mpEditView->GetEditEngine(); in ~EditWindow()
98 pEditEngine->RemoveView (mpEditView); in ~EditWindow()
101 delete mpEditView; in ~EditWindow()
296 if (!mpEditView) in Resize()
299 if (mpEditView != NULL) in Resize()
301 mpEditView->SetOutputArea(AdjustScrollBars()); in Resize()
302 mpEditView->ShowCursor(); in Resize()
304 DBG_ASSERT( mpEditView->GetEditEngine(), "EditEngine missing" ); in Resize()
305 const long nMaxVisAreaStart = mpEditView->GetEditEngine()->GetTextHeight() - in Resize()
306 mpEditView->GetOutputArea().GetHeight(); in Resize()
307 if (mpEditView->GetVisArea().Top() > nMaxVisAreaStart) in Resize()
309 Rectangle aVisArea(mpEditView->GetVisArea() ); in Resize()
311 aVisArea.SetSize(mpEditView->GetOutputArea().GetSize()); in Resize()
312 mpEditView->SetVisArea(aVisArea); in Resize()
313 mpEditView->ShowCursor(); in Resize()
325 if (mpEditView != NULL) in MouseButtonUp()
326 mpEditView->MouseButtonUp(rEvt); in MouseButtonUp()
339 if (mpEditView != NULL) in MouseButtonDown()
340 mpEditView->MouseButtonDown(rEvt); in MouseButtonDown()
379 else*/ if (mpEditView) in Command()
380 mpEditView->Command( rCEvt ); in Command()
466 if (!mpEditView) in Paint()
468 mpEditView->Paint(rRect); in Paint()
480 if (mpEditView==NULL && pEditEngine!=NULL) in CreateEditView()
482 mpEditView = new EditView (pEditEngine, this); in CreateEditView()
483 pEditEngine->InsertView (mpEditView); in CreateEditView()
496 mpEditView->SetOutputArea(AdjustScrollBars()); in CreateEditView()
500 mpEditView->SetSelection(eSelection); in CreateEditView()
502 mpEditView->ShowCursor(sal_True, sal_True); in CreateEditView()
506 SetPointer(mpEditView->GetPointer()); in CreateEditView()
517 if (!mpEditView) in IMPL_LINK()
528 DBG_ASSERT(mpEditView, "EditView missing"); in IMPL_LINK_INLINE_START()
529 if (mpEditView) in IMPL_LINK_INLINE_START()
531 mpEditView->SetVisArea(Rectangle(Point(mpHorizontalScrollBar->GetThumbPos(), in IMPL_LINK_INLINE_START()
533 mpEditView->GetVisArea().GetSize())); in IMPL_LINK_INLINE_START()
534 mpEditView->Invalidate(); in IMPL_LINK_INLINE_START()
568 if (mpEditView != NULL && pEditEngine != NULL) in SetScrollBarRanges()
574 mpVerticalScrollBar->SetThumbPos(mpEditView->GetVisArea().Top()); in SetScrollBarRanges()
580 mpHorizontalScrollBar->SetThumbPos(mpEditView->GetVisArea().Left()); in SetScrollBarRanges()
587 if (mpEditView != NULL) in InitScrollBars()
589 const Size aOut( mpEditView->GetOutputArea().GetSize() ); in InitScrollBars()
633 if (!mpEditView) in SetText()
636 ESelection eSelection = mpEditView->GetSelection(); in SetText()
646 mpEditView->SetSelection(eSelection); in SetText()
655 if (!mpEditView) in GetFocus()
676 DBG_ASSERT( mpEditView, "NULL pointer" ); in IsAllSelected()
678 if (pEditEngine && mpEditView) in IsAllSelected()
680 ESelection eSelection( mpEditView->GetSelection() ); in IsAllSelected()
697 DBG_ASSERT( mpEditView, "NULL pointer" ); in SelectAll()
698 if (mpEditView) in SelectAll()
700 mpEditView->SetSelection( ESelection( 0, 0, EE_PARA_MAX, EE_INDEX_MAX ) ); in SelectAll()
707 DBG_ASSERT( mpEditView, "EditView missing" ); in MarkError()
708 if (mpEditView) in MarkError()
713mpEditView->SetSelection(ESelection ( (sal_uInt16)Row, (sal_uInt16)(Col - 1), (sal_uInt16)Row, (sa… in MarkError()
721 DBG_ASSERT( mpEditView, "NULL pointer" ); in SelNextMark()
723 if (pEditEngine && mpEditView) in SelNextMark()
725 ESelection eSelection = mpEditView->GetSelection(); in SelNextMark()
738mpEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark()
752 DBG_ASSERT( mpEditView, "NULL pointer" ); in SelPrevMark()
753 if (pEditEngine && mpEditView) in SelPrevMark()
755 ESelection eSelection = mpEditView->GetSelection(); in SelPrevMark()
784mpEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
797 if (mpEditView) in MouseMove()
798 mpEditView->MouseMove(rEvt); in MouseMove()
803 return mpEditView ? /*mpEditView->QueryDrop( rEvt )*/DND_ACTION_NONE: DND_ACTION_NONE; in AcceptDrop()
808 return mpEditView ? /*mpEditView->Drop( rEvt )*/DND_ACTION_NONE : DND_ACTION_NONE; in ExecuteDrop()
817 if (mpEditView) in GetSelection()
818 eSel = mpEditView->GetSelection(); in GetSelection()
824 DBG_ASSERT( mpEditView, "NULL pointer" ); in SetSelection()
825 if (mpEditView) in SetSelection()
826 mpEditView->SetSelection(rSel); in SetSelection()
837 return mpEditView ? mpEditView->HasSelection() : sal_False; in IsSelected()
842 DBG_ASSERT( mpEditView, "EditView missing" ); in Cut()
843 if (mpEditView) in Cut()
844 mpEditView->Cut(); in Cut()
849 DBG_ASSERT( mpEditView, "EditView missing" ); in Copy()
850 if (mpEditView) in Copy()
851 mpEditView->Copy(); in Copy()
856 DBG_ASSERT( mpEditView, "EditView missing" ); in Paste()
857 if (mpEditView) in Paste()
858 mpEditView->Paste(); in Paste()
863 DBG_ASSERT( mpEditView, "EditView missing" ); in Delete()
864 if (mpEditView) in Delete()
865 mpEditView->DeleteSelected(); in Delete()
870 DBG_ASSERT( mpEditView, "EditView missing" ); in InsertText()
872 if (mpEditView) in InsertText()
873 mpEditView->InsertText(Text); in InsertText()