Lines Matching refs:pEditEng
1023 ScEditEngineDefaulter* pEditEng = NULL; in DrawPagePreview() local
1035 pEditEng = new ScEditEngineDefaulter( EditEngine::CreatePool(), sal_True ); in DrawPagePreview()
1036 pEditEng->SetRefMapMode( pContentDev->GetMapMode() ); in DrawPagePreview()
1037 SfxItemSet* pEditDefaults = new SfxItemSet( pEditEng->GetEmptyItemSet() ); in DrawPagePreview()
1040 pEditEng->SetDefaults( pEditDefaults ); in DrawPagePreview()
1148 if ( pEditEng ) in DrawPagePreview()
1152 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT ) ); in DrawPagePreview()
1153 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT_CJK ) ); in DrawPagePreview()
1154 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT_CTL ) ); in DrawPagePreview()
1155 pEditEng->SetText( aPageStr ); in DrawPagePreview()
1156 Size aSize100( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview()
1162 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT ) ); in DrawPagePreview()
1163 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT_CJK ) ); in DrawPagePreview()
1164 pEditEng->SetDefaultItem( SvxFontHeightItem( nHeight, 100, EE_CHAR_FONTHEIGHT_CTL ) ); in DrawPagePreview()
1167 Size aTextSize( pEditEng->CalcTextWidth(), pEditEng->GetTextHeight() ); in DrawPagePreview()
1170 pEditEng->Draw( pContentDev, aPos ); in DrawPagePreview()
1200 delete pEditEng; in DrawPagePreview()