Lines Matching refs:pEditEngine

259 	EditEngine*		pEditEngine;  member in MyView
263 MyView( Window* pParent, EditEngine* pEditEngine );
279 pEditEngine = pEE; in MyView()
280 pEditView = new EditView( pEditEngine, this ); in MyView()
281 pEditEngine->InsertView( pEditView ); in MyView()
290 pEditEngine->RemoveView( pEditView ); in ~MyView()
360 MyEditEngine* pEditEngine; member in EditViewWindow
576 EditEngine* pEditEngine = aViewWin.GetEditView()->GetEditEngine(); in SetTitle() local
577 if ( pEditEngine->GetControlWord() & EE_CNTRL_STRETCHING ) in SetTitle()
580 pEditEngine->GetGlobalCharStretching( nX, nY ); in SetTitle()
593 EditEngine* pEditEngine = pEditView->GetEditEngine(); in UpdateToolBox() local
596 ULONG nControl = pEditEngine->GetControlWord(); in UpdateToolBox()
597 aToolBox.EnableItem( TB_UNDO, (BOOL)pEditEngine->GetUndoManager().GetUndoActionCount() ); in UpdateToolBox()
598 aToolBox.EnableItem( TB_REDO, (BOOL)pEditEngine->GetUndoManager().GetRedoActionCount() ); in UpdateToolBox()
600 aToolBox.EnableItem( TB_MOVE, pEditEngine->GetParagraphCount() > 3 ); in UpdateToolBox()
606 aToolBox.CheckItem( TB_FLAT, pEditEngine->IsFlatMode() ); in UpdateToolBox()
608 aToolBox.CheckItem( TB_POLY, pEditEngine->GetPolygon() ? TRUE : FALSE ); in UpdateToolBox()
610 aToolBox.CheckItem( TB_IDLE, pEditEngine->IsIdleFormatterEnabled() ); in UpdateToolBox()
716 EditEngine* pEditEngine = pEditView->GetEditEngine(); in IMPL_LINK() local
770 case TB_FLAT: pEditEngine->SetFlatMode( !pEditEngine->IsFlatMode() ); in IMPL_LINK()
799 case TB_IDLE: pEditEngine->EnableIdleFormatter( !pEditEngine->IsIdleFormatterEnabled() ); in IMPL_LINK()
818 case TB_UPDFLD: pEditEngine->UpdateFields(); in IMPL_LINK()
924 pEditEngine->SetDefTab( 2000 ); in IMPL_LINK()
926 pEditEngine->SetDefTab( 600 ); in IMPL_LINK()
940 pEditEngine->Draw( pTmpWindow, aRect, Point( 0, 0 ) ); in IMPL_LINK()
956 pEditEngine->Draw( pTmpWindow, Point( 2000, 4000 ), nRotation ); in IMPL_LINK()
970 pEditEngine->SetUpdateMode( FALSE ); in IMPL_LINK()
972 SfxItemSet aSet( pEditEngine->GetEmptyItemSet() ); in IMPL_LINK()
979 pEditEngine->SetUpdateMode( TRUE ); in IMPL_LINK()
986 pBinObj = pEditEngine->CreateTextObject(); in IMPL_LINK()
1019 EditTextObject* pTmpObj = pEditEngine->CreateTextObject(); in IMPL_LINK()
1054 pEditEngine->Read( aStrm, EE_FORMAT_RTF ); in IMPL_LINK()
1056 pEditEngine->Read( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1058 pEditEngine->Read( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1060 pEditEngine->Read( aStrm, EE_FORMAT_BIN ); in IMPL_LINK()
1062 pEditEngine->Read( aStrm, EE_FORMAT_TEXT ); in IMPL_LINK()
1093 Size aSz( pEditEngine->CalcTextWidth(), pEditEngine->GetTextHeight() ); in IMPL_LINK()
1101 pEditEngine->Draw( pPrinter, Point( 2000, 4000 ), nRotation ); in IMPL_LINK()
1120 pEditEngine->Write( aStrm, EE_FORMAT_RTF ); in IMPL_LINK()
1122 pEditEngine->Write( aStrm, EE_FORMAT_BIN ); in IMPL_LINK()
1124 pEditEngine->Write( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1126 pEditEngine->Write( aStrm, EE_FORMAT_HTML ); in IMPL_LINK()
1128 pEditEngine->Write( aStrm, EE_FORMAT_TEXT ); in IMPL_LINK()
1372 EditEngine* pEditEngine = pEditView->GetEditEngine(); in IMPL_LINK() local
1376 if ( pEditEngine->GetTextHeight() < (ULONG)pEditView->GetOutputArea().GetHeight() ) in IMPL_LINK()
1379 if ( !( pEditEngine->GetControlWord() & EE_CNTRL_AUTOPAGESIZE) ) in IMPL_LINK()
1380 …pEditView->Scroll( -(long)pEditEngine->CalcTextWidth(), -(long)pEditEngine->GetTextHeight(), RGCHK… in IMPL_LINK()
1404 pEditEngine->RemoveView( pEditView ); in ~EditViewWindow()
1408 pEditEngine->SetStatusEventHdl( Link() ); in ~EditViewWindow()
1412 delete pEditEngine; in ~EditViewWindow()
1430 pEditEngine = new MyEditEngine( pPool ); in EditViewWindow()
1433 pEditEngine->SetPaperSize( aPaperSz ); in EditViewWindow()
1435 pEditView = new EditView( pEditEngine, this ); in EditViewWindow()
1438 pEditEngine->SetDefaultLanguage( LANGUAGE_ENGLISH ); in EditViewWindow()
1439 pEditEngine->InsertView( pEditView ); in EditViewWindow()
1446 ULONG n = pEditEngine->GetControlWord(); in EditViewWindow()
1448 pEditEngine->SetControlWord( n ); in EditViewWindow()
1525 pEditEngine->SetPaperSize( Size( aPaperSz.Width()*1, aPaperSz.Height()*1 ) ); in Resize()
1542 ULONG n = pEditEngine->GetControlWord(); in KeyInput()
1544 pEditEngine->SetControlWord( n ); in KeyInput()
1545 pEditEngine->QuickFormatDoc(); in KeyInput()
1553 pEditEngine->SetVertical( TRUE ); in KeyInput()
1572 pEditEngine->SetRefMapMode( aMapMode ); in KeyInput()
1582 ULONG nCtrl = pEditEngine->GetControlWord(); in KeyInput()
1586 pEditEngine->SetControlWord( nCtrl ); in KeyInput()
1589 pEditEngine->GetGlobalCharStretching( nX, nY ); in KeyInput()
1598 pEditEngine->SetGlobalCharStretching( nX, nY ); in KeyInput()
1604 SfxItemSet aNewAttrs( pEditEngine->GetEmptyItemSet() ); in KeyInput()
1641 ULONG nEECtrl = pEditEngine->GetControlWord(); in KeyInput()
1643 pEditEngine->SetControlWord( nEECtrl ); in KeyInput()
1651 pEditEngine->SetMaxAutoPaperSize( GetOutputSize() ); in KeyInput()
1652 pEditEngine->SetPaperSize( Size( 0, 0 ) ); in KeyInput()
1663 pEditEngine->SetPaperSize( aPaperSz ); in KeyInput()
1666 pEditEngine->SetMaxAutoPaperSize( Size( aOutSz.Width() / 2, aOutSz.Height() / 2 ) ); in KeyInput()
1667 pEditEngine->SetMinAutoPaperSize( Size( aOutSz.Width() / 8, aOutSz.Height() / 8 ) ); in KeyInput()
1671 Size aTextSz( pEditEngine->CalcTextWidth(), pEditEngine->GetTextHeight() ); in KeyInput()
1683 Size aSz( pEditEngine->CalcTextWidth(), pEditEngine->GetTextHeight() ); in KeyInput()
1692 pEditEngine->Draw( this, pEditView->GetOutputArea() ); in KeyInput()