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()
701 mpEditView->SetSelection( ESelection( 0, 0, 0xFFFF, 0xFFFF ) ); in SelectAll()
708 DBG_ASSERT( mpEditView, "EditView missing" ); in MarkError()
709 if (mpEditView) in MarkError()
714 …mpEditView->SetSelection(ESelection ( (sal_uInt16)Row, (sal_uInt16)(Col - 1), (sal_uInt16)Row, (sa… in MarkError()
722 DBG_ASSERT( mpEditView, "NULL pointer" ); in SelNextMark()
724 if (pEditEngine && mpEditView) in SelNextMark()
726 ESelection eSelection = mpEditView->GetSelection(); in SelNextMark()
739 … mpEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark()
753 DBG_ASSERT( mpEditView, "NULL pointer" ); in SelPrevMark()
754 if (pEditEngine && mpEditView) in SelPrevMark()
756 ESelection eSelection = mpEditView->GetSelection(); in SelPrevMark()
785 … mpEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
798 if (mpEditView) in MouseMove()
799 mpEditView->MouseMove(rEvt); in MouseMove()
804 return mpEditView ? /*mpEditView->QueryDrop( rEvt )*/DND_ACTION_NONE: DND_ACTION_NONE; in AcceptDrop()
809 return mpEditView ? /*mpEditView->Drop( rEvt )*/DND_ACTION_NONE : DND_ACTION_NONE; in ExecuteDrop()
818 if (mpEditView) in GetSelection()
819 eSel = mpEditView->GetSelection(); in GetSelection()
825 DBG_ASSERT( mpEditView, "NULL pointer" ); in SetSelection()
826 if (mpEditView) in SetSelection()
827 mpEditView->SetSelection(rSel); in SetSelection()
838 return mpEditView ? mpEditView->HasSelection() : sal_False; in IsSelected()
843 DBG_ASSERT( mpEditView, "EditView missing" ); in Cut()
844 if (mpEditView) in Cut()
845 mpEditView->Cut(); in Cut()
850 DBG_ASSERT( mpEditView, "EditView missing" ); in Copy()
851 if (mpEditView) in Copy()
852 mpEditView->Copy(); in Copy()
857 DBG_ASSERT( mpEditView, "EditView missing" ); in Paste()
858 if (mpEditView) in Paste()
859 mpEditView->Paste(); in Paste()
864 DBG_ASSERT( mpEditView, "EditView missing" ); in Delete()
865 if (mpEditView) in Delete()
866 mpEditView->DeleteSelected(); in Delete()
871 DBG_ASSERT( mpEditView, "EditView missing" ); in InsertText()
873 if (mpEditView) in InsertText()
874 mpEditView->InsertText(Text); in InsertText()