Lines Matching refs:pEditView

260 	EditView*		pEditView;  member in MyView
280 pEditView = new EditView( pEditEngine, this ); in MyView()
281 pEditEngine->InsertView( pEditView ); in MyView()
290 pEditEngine->RemoveView( pEditView ); in ~MyView()
291 delete pEditView; in ~MyView()
296 pEditView->Paint( rRec ); in Paint()
304 pEditView->SetOutputArea( Rectangle( Point( 0,0 ), aPaperSz ) ); in Resize()
305 pEditView->SetVisArea( Rectangle( Point( 0,0 ), aPaperSz ) ); in Resize()
307 pEditView->ShowCursor(); in Resize()
313 pEditView->PostKeyEvent( rKEvt ); in KeyInput()
319 if ( pEditView->GetOutputArea().IsInside( aPos ) ) in MouseMove()
320 SetPointer( pEditView->GetPointer() ); in MouseMove()
325 pEditView->MouseMove( rMEvt ); in MouseMove()
330 pEditView->MouseButtonDown( rMEvt ); in MouseButtonDown()
335 pEditView->MouseButtonUp( rMEvt ); in MouseButtonUp()
341 pEditView->Command(rCEvt); in Command()
346 return pEditView->Drop( rEvt ); in Drop()
351 return pEditView->QueryDrop( rEvt ); in QueryDrop()
361 EditView* pEditView; member in EditViewWindow
385 EditView* GetEditView() { return pEditView; } in GetEditView()
592 EditView* pEditView = aViewWin.GetEditView(); in UpdateToolBox() local
593 EditEngine* pEditEngine = pEditView->GetEditEngine(); in UpdateToolBox()
594 SfxItemSet aCurSet( pEditView->GetAttribs() ); in UpdateToolBox()
605 aToolBox.CheckItem( TB_STDSEL, pEditView->GetSelectionMode() == EE_SELMODE_STD ); in UpdateToolBox()
611 aToolBox.CheckItem( TB_INSERT, pEditView->IsInsertMode() ); in UpdateToolBox()
715 EditView* pEditView = aViewWin.GetEditView(); in IMPL_LINK() local
716 EditEngine* pEditEngine = pEditView->GetEditEngine(); in IMPL_LINK()
732 case TB_UNDO: pEditView->Undo(); in IMPL_LINK()
733 pEditView->ShowCursor(); in IMPL_LINK()
735 case TB_REDO: pEditView->Redo(); in IMPL_LINK()
736 pEditView->ShowCursor(); in IMPL_LINK()
739 ULONG nControl = pEditView->GetEditEngine()->GetControlWord(); in IMPL_LINK()
744 pEditView->GetEditEngine()->SetControlWord( nControl ); in IMPL_LINK()
748 ULONG nControl = pEditView->GetEditEngine()->GetControlWord(); in IMPL_LINK()
753 pEditView->GetEditEngine()->SetControlWord( nControl ); in IMPL_LINK()
757 ULONG nControl = pEditView->GetEditEngine()->GetControlWord(); in IMPL_LINK()
762 pEditView->GetEditEngine()->SetControlWord( nControl ); in IMPL_LINK()
766 pEditView->SetSelectionMode( EE_SELMODE_TXTONLY ); in IMPL_LINK()
768 pEditView->SetSelectionMode( EE_SELMODE_STD ); in IMPL_LINK()
773 ULONG nControl = pEditView->GetEditEngine()->GetControlWord(); in IMPL_LINK()
778 pEditView->GetEditEngine()->SetControlWord( nControl ); in IMPL_LINK()
781pEditView->GetEditEngine()->Draw( pEditView->GetWindow(), pEditView->GetOutputArea(), pEditView->G… in IMPL_LINK()
784 ULONG nControl = pEditView->GetEditEngine()->GetControlWord(); in IMPL_LINK()
789 pEditView->GetEditEngine()->SetControlWord( nControl ); in IMPL_LINK()
796 pEditView->GetEditEngine()->ClearPolygon(); in IMPL_LINK()
808 pEditView->InsertField( aFld ); in IMPL_LINK()
811pEditView->InsertField( SvxFieldItem( SvxURLField( String( RTL_CONSTASCII_USTRINGPARAM( "www.mopo.… in IMPL_LINK()
813pEditView->InsertField( SvxFieldItem( SvxDateField( Date( 1,1,1995 ), SVXDATETYPE_FIX, SVXDATEFORM… in IMPL_LINK()
820 case TB_INSERT: pEditView->SetInsertMode( !pEditView->IsInsertMode() ); in IMPL_LINK()
927 pEditView->ShowCursor(); in IMPL_LINK()
962 ESelection aESel = pEditView->GetSelection(); in IMPL_LINK()
965 pEditView->MoveParagraphs( Range(nStartPara,nEndPara), 2 ); in IMPL_LINK()
978 pEditView->SetParaAttribs( aSet, nPara ); in IMPL_LINK()
980 pEditView->ShowCursor(); in IMPL_LINK()
992 pBinObj = pEditView->CreateTextObject(); in IMPL_LINK()
1009 pEditView->InsertText( *pBinObj ); in IMPL_LINK()
1064 pEditView->ShowCursor(); in IMPL_LINK()
1069 pEditView->Read( aStrm, EE_FORMAT_RTF ); in IMPL_LINK()
1071 pEditView->Read( aStrm, EE_FORMAT_BIN ); in IMPL_LINK()
1073 pEditView->Read( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1075 pEditView->Read( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1077 pEditView->Read( aStrm, EE_FORMAT_TEXT ); in IMPL_LINK()
1133 pEditView->Write( aStrm, EE_FORMAT_RTF ); in IMPL_LINK()
1135 pEditView->Write( aStrm, EE_FORMAT_BIN ); in IMPL_LINK()
1137 pEditView->Write( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1139 pEditView->Write( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1141 pEditView->Write( aStrm, EE_FORMAT_TEXT ); in IMPL_LINK()
1148 SfxItemSet aCurSet = pEditView->GetAttribs(); in IMPL_LINK()
1252 SfxItemSet aSet = pEditView->GetEmptyItemSet(); in IMPL_LINK()
1254 pEditView->SetAttribs( aSet ); in IMPL_LINK()
1263 EditView* pEditView = aViewWin.GetEditView(); in CreatePolygon() local
1264 Size aSz = pEditView->GetWindow()->GetOutputSize(); in CreatePolygon()
1277 pEditView->GetEditEngine()->SetPolygon( aPPoly ); in CreatePolygon()
1278 pEditView->SetOutputArea( Rectangle( aOffset, aSz ) ); in CreatePolygon()
1279 ULONG nWord = pEditView->GetControlWord(); in CreatePolygon()
1281 pEditView->SetControlWord( nWord ); in CreatePolygon()
1292 EditView* pEditView = aViewWin.GetEditView(); in IMPL_LINK_INLINE_START() local
1293 pEditView->Scroll( -pScrl->GetDelta(), 0, RGCHK_PAPERSZ1 ); in IMPL_LINK_INLINE_START()
1300 EditView* pEditView = aViewWin.GetEditView(); in IMPL_LINK_INLINE_END() local
1301 pEditView->Scroll( 0, -pScrl->GetDelta(), RGCHK_PAPERSZ1 ); in IMPL_LINK_INLINE_END()
1308 EditView* pEditView = aViewWin.GetEditView(); in IMPL_LINK_INLINE_END() local
1309 long y = pEditView->GetEditEngine()->GetTextHeight(); in IMPL_LINK_INLINE_END()
1310 long x = pEditView->GetEditEngine()->GetPaperSize().Width(); in IMPL_LINK_INLINE_END()
1318 EditView* pEditView = aViewWin.GetEditView(); in SetScrollBars() local
1341 aHScrollBar.SetVisibleSize( pEditView->GetOutputArea().GetWidth() ); in SetScrollBars()
1342 aVScrollBar.SetVisibleSize( pEditView->GetOutputArea().GetHeight() ); in SetScrollBars()
1364 EditView* pEditView = aViewWin.GetEditView(); in Resize() local
1365 if ( pEditView && pEditView->GetEditEngine()->GetPolygon() ) in Resize()
1371 EditView* pEditView = aViewWin.GetEditView(); in IMPL_LINK() local
1372 EditEngine* pEditEngine = pEditView->GetEditEngine(); in IMPL_LINK()
1376 if ( pEditEngine->GetTextHeight() < (ULONG)pEditView->GetOutputArea().GetHeight() ) in IMPL_LINK()
1380pEditView->Scroll( -(long)pEditEngine->CalcTextWidth(), -(long)pEditEngine->GetTextHeight(), RGCHK… in IMPL_LINK()
1385 aHScrollBar.SetThumbPos( pEditView->GetVisArea().Left() ); in IMPL_LINK()
1387 aVScrollBar.SetThumbPos( pEditView->GetVisArea().Top() ); in IMPL_LINK()
1404 pEditEngine->RemoveView( pEditView ); in ~EditViewWindow()
1405 delete pEditView; in ~EditViewWindow()
1435 pEditView = new EditView( pEditEngine, this ); in EditViewWindow()
1436 pEditView->SetBackgroundColor( Color( COL_WHITE ) ); in EditViewWindow()
1437 pEditView->SetOutputArea( Rectangle( Point( 100, 100 ), aPaperSz ) ); in EditViewWindow()
1439 pEditEngine->InsertView( pEditView ); in EditViewWindow()
1470 if ( pEditView->GetEditEngine()->GetPolygon() ) in Paint()
1474 aMapMode.SetOrigin( pEditView->GetOutputArea().TopLeft() ); in Paint()
1476 DrawPolyPolygon( *pEditView->GetEditEngine()->GetPolygon() ); in Paint()
1480 pEditView->Paint( rRec ); in Paint()
1487 Rectangle aOutArea( pEditView->GetOutputArea() ); in MarkOutputArea()
1524 pEditView->SetOutputArea( Rectangle( Point(0,0), aPaperSz ) ); in Resize()
1526 pEditView->ShowCursor(); in Resize()
1537 pEditView->SetSelection( ESelection( 0, 0, EE_PARA_MAX, EE_INDEX_MAX ) ); in KeyInput()
1549 pEditView->RemoveAttribs(); in KeyInput()
1603 SfxItemSet aAttrs( pEditView->GetAttribs() ); in KeyInput()
1612 pEditView->SetAttribs( aNewAttrs ); in KeyInput()
1624 SfxItemSet aSet = pEditView->GetEmptyItemSet(); in KeyInput()
1626 pEditView->SetAttribs( aSet ); in KeyInput()
1635 InfoBox( 0, pEditView->GetSelected() ).Execute(); in KeyInput()
1645 ULONG nEVCtrl = pEditView->GetControlWord(); in KeyInput()
1647 pEditView->SetControlWord( nEVCtrl ); in KeyInput()
1649 pEditView->SetAnchorMode( (EVAnchorMode)(nCode-KEY_1) ); in KeyInput()
1650 pEditView->SetOutputArea( Rectangle( Point(0,0), GetOutputSize() ) ); in KeyInput()
1656 ULONG nEVCtrl = pEditView->GetControlWord(); in KeyInput()
1658 pEditView->SetControlWord( nEVCtrl ); in KeyInput()
1662 pEditView->SetOutputArea( Rectangle( Point(), aPaperSz ) ); in KeyInput()
1672 Rectangle aRect( pEditView->GetOutputArea().TopLeft(), aTextSz ); in KeyInput()
1678 pEditView->Paint( aRect ); in KeyInput()
1689 Rectangle aR( pEditView->GetOutputArea().TopLeft(), aSz ); in KeyInput()
1692 pEditEngine->Draw( this, pEditView->GetOutputArea() ); in KeyInput()
1693 pEditView->ShowCursor( TRUE, TRUE ); in KeyInput()
1699 BOOL bDone = pEditView->PostKeyEvent( rKEvt ); in KeyInput()
1710 if ( pEditView->GetOutputArea().IsInside( aPos ) ) in MouseMove()
1712 const SvxFieldItem* pField = pEditView->GetFieldUnderMousePointer(); in MouseMove()
1716 SetPointer( pEditView->GetPointer() ); in MouseMove()
1732 pEditView->MouseMove( rMEvt ); in MouseMove()
1738 pEditView->MouseButtonDown( rMEvt ); in MouseButtonDown()
1743 pEditView->MouseButtonUp( rMEvt ); in MouseButtonUp()
1751 if( pEditView->IsWrongSpelledWordAtPos( rCEvt.GetMousePosPixel() ) ) in Command()
1752 pEditView->ExecuteSpellPopup( rCEvt.GetMousePosPixel() ); in Command()
1755 pEditView->Command(rCEvt); in Command()
1761 return pEditView->Drop( rEvt ); in Drop()
1766 return pEditView->QueryDrop( rEvt ); in QueryDrop()