Lines Matching refs:pEditView
101 pEditView (0), in SmEditWindow()
143 if (pEditView) in ~SmEditWindow()
145 EditEngine *pEditEngine = pEditView->GetEditEngine(); in ~SmEditWindow()
149 pEditEngine->RemoveView( pEditView ); in ~SmEditWindow()
152 delete pEditView; in ~SmEditWindow()
182 if (pEditView) in GetEditEngine()
183 pEditEng = pEditView->GetEditEngine(); in GetEditEngine()
285 if (!pEditView) in Resize()
288 if (pEditView) in Resize()
290 pEditView->SetOutputArea(AdjustScrollBars()); in Resize()
291 pEditView->ShowCursor(); in Resize()
293 DBG_ASSERT( pEditView->GetEditEngine(), "EditEngine missing" ); in Resize()
294 const long nMaxVisAreaStart = pEditView->GetEditEngine()->GetTextHeight() - in Resize()
295 pEditView->GetOutputArea().GetHeight(); in Resize()
296 if (pEditView->GetVisArea().Top() > nMaxVisAreaStart) in Resize()
298 Rectangle aVisArea(pEditView->GetVisArea() ); in Resize()
300 aVisArea.SetSize(pEditView->GetOutputArea().GetSize()); in Resize()
301 pEditView->SetVisArea(aVisArea); in Resize()
302 pEditView->ShowCursor(); in Resize()
311 if (pEditView) in MouseButtonUp()
312 pEditView->MouseButtonUp(rEvt); in MouseButtonUp()
323 if (pEditView) in MouseButtonDown()
324 pEditView->MouseButtonDown(rEvt); in MouseButtonDown()
368 if (pEditView) in Command()
369 pEditView->Command( rCEvt ); in Command()
426 DBG_ASSERT( pEditView, "EditView missing (NULL pointer)" ); in IMPL_LINK_INLINE_END()
427 if (!pEditView) in IMPL_LINK_INLINE_END()
429 if ( !pEditView->PostKeyEvent(rKEvt) ) in IMPL_LINK_INLINE_END()
469 if (!pEditView) in Paint()
471 pEditView->Paint(rRect); in Paint()
480 if (!pEditView && pEditEngine) in CreateEditView()
482 pEditView = new EditView( pEditEngine, this ); in CreateEditView()
483 pEditEngine->InsertView( pEditView ); in CreateEditView()
496 pEditView->SetOutputArea(AdjustScrollBars()); in CreateEditView()
500 pEditView->SetSelection(eSelection); in CreateEditView()
502 pEditView->ShowCursor(sal_True, sal_True); in CreateEditView()
505 SetPointer(pEditView->GetPointer()); in CreateEditView()
514 if (!pEditView) in IMPL_LINK()
525 DBG_ASSERT(pEditView, "EditView missing"); in IMPL_LINK_INLINE_START()
526 if (pEditView) in IMPL_LINK_INLINE_START()
528 pEditView->SetVisArea(Rectangle(Point(pHScrollBar->GetThumbPos(), in IMPL_LINK_INLINE_START()
530 pEditView->GetVisArea().GetSize())); in IMPL_LINK_INLINE_START()
531 pEditView->Invalidate(); in IMPL_LINK_INLINE_START()
566 if (pVScrollBar && pHScrollBar && pEditEngine && pEditView) in SetScrollBarRanges()
570 pVScrollBar->SetThumbPos(pEditView->GetVisArea().Top()); in SetScrollBarRanges()
574 pHScrollBar->SetThumbPos(pEditView->GetVisArea().Left()); in SetScrollBarRanges()
580 if (pVScrollBar && pHScrollBar && pScrollBox && pEditView) in InitScrollBars()
582 const Size aOut( pEditView->GetOutputArea().GetSize() ); in InitScrollBars()
617 if (!pEditView) in SetText()
620 ESelection eSelection = pEditView->GetSelection(); in SetText()
630 pEditView->SetSelection(eSelection); in SetText()
647 if (!pEditView) in GetFocus()
677 DBG_ASSERT( pEditView, "NULL pointer" ); in IsAllSelected()
679 if (pEditEngine && pEditView) in IsAllSelected()
681 ESelection eSelection( pEditView->GetSelection() ); in IsAllSelected()
698 DBG_ASSERT( pEditView, "NULL pointer" ); in SelectAll()
699 if (pEditView) in SelectAll()
702 pEditView->SetSelection( ESelection( 0, 0, 0xFFFF, 0xFFFF ) ); in SelectAll()
708 DBG_ASSERT( pEditView, "EditView missing" ); in InsertCommand()
709 if (pEditView) in InsertCommand()
713 ESelection aSelection = pEditView->GetSelection(); in InsertCommand()
717 DBG_ASSERT( pEditView, "NULL pointer" ); in InsertCommand()
719 pEditView->InsertText(aText); in InsertCommand()
723 pEditView->SetSelection(aSelection); in InsertCommand()
730 pEditView->SetSelection(aSelection); in InsertCommand()
742 DBG_ASSERT( pEditView, "EditView missing" ); in MarkError()
743 if (pEditView) in MarkError()
748 pEditView->SetSelection(ESelection(nRow, nCol - 1, nRow, nCol)); in MarkError()
756 DBG_ASSERT( pEditView, "NULL pointer" ); in SelNextMark()
758 if (pEditEngine && pEditView) in SelNextMark()
760 ESelection eSelection = pEditView->GetSelection(); in SelNextMark()
773 … pEditView->SetSelection(ESelection (eSelection.nEndPara, Pos, eSelection.nEndPara, Pos + 3)); in SelNextMark()
787 DBG_ASSERT( pEditView, "NULL pointer" ); in SelPrevMark()
788 if (pEditEngine && pEditView) in SelPrevMark()
790 ESelection eSelection = pEditView->GetSelection(); in SelPrevMark()
819 … pEditView->SetSelection(ESelection (eSelection.nStartPara, Pos, eSelection.nStartPara, Pos + 3)); in SelPrevMark()
832 if (pEditView) in MouseMove()
833 pEditView->MouseMove(rEvt); in MouseMove()
838 return pEditView ? /*pEditView->QueryDrop( rEvt )*/DND_ACTION_NONE: DND_ACTION_NONE; in AcceptDrop()
843 return pEditView ? /*pEditView->Drop( rEvt )*/DND_ACTION_NONE : DND_ACTION_NONE; in ExecuteDrop()
852 if (pEditView) in GetSelection()
853 eSel = pEditView->GetSelection(); in GetSelection()
859 DBG_ASSERT( pEditView, "NULL pointer" ); in SetSelection()
860 if (pEditView) in SetSelection()
861 pEditView->SetSelection(rSel); in SetSelection()
875 return pEditView ? pEditView->HasSelection() : sal_False; in IsSelected()
890 DBG_ASSERT( pEditView, "EditView missing" ); in Cut()
891 if (pEditView) in Cut()
893 pEditView->Cut(); in Cut()
900 DBG_ASSERT( pEditView, "EditView missing" ); in Copy()
901 if (pEditView) in Copy()
902 pEditView->Copy(); in Copy()
907 DBG_ASSERT( pEditView, "EditView missing" ); in Paste()
908 if (pEditView) in Paste()
910 pEditView->Paste(); in Paste()
917 DBG_ASSERT( pEditView, "EditView missing" ); in Delete()
918 if (pEditView) in Delete()
920 pEditView->DeleteSelected(); in Delete()
927 DBG_ASSERT( pEditView, "EditView missing" ); in InsertText()
928 if (pEditView) in InsertText()
930 pEditView->InsertText(Text); in InsertText()
962 if (pEditView) in DeleteEditView()
964 EditEngine *pEditEngine = pEditView->GetEditEngine(); in DeleteEditView()
968 pEditEngine->RemoveView( pEditView ); in DeleteEditView()
970 delete pEditView; in DeleteEditView()
971 pEditView = 0; in DeleteEditView()