Lines Matching refs:pEngine
1906 ScFieldEditEngine* pEngine = new ScFieldEditEngine( pDoc->GetEnginePool() ); in CreateOutputEditEngine() local
1907 pEngine->SetUpdateMode( sal_False ); in CreateOutputEditEngine()
1909 pEngine->SetRefDevice( pFmtDevice ); in CreateOutputEditEngine()
1910 sal_uInt32 nCtrl = pEngine->GetControlWord(); in CreateOutputEditEngine()
1917 pEngine->SetControlWord( nCtrl ); in CreateOutputEditEngine()
1918 pDoc->ApplyAsianEditSettings( *pEngine ); in CreateOutputEditEngine()
1919 pEngine->EnableAutoColor( bUseStyleColor ); in CreateOutputEditEngine()
1920 …pEngine->SetDefaultHorizontalTextDirection( (EEHorizontalTextDirection)pDoc->GetEditTextDirection(… in CreateOutputEditEngine()
1921 return pEngine; in CreateOutputEditEngine()
2123 ScFieldEditEngine* pEngine = NULL; in DrawEdit() local
2239 if (!pEngine) in DrawEdit()
2240 pEngine = CreateOutputEditEngine(); in DrawEdit()
2242 lcl_ClearEdit( *pEngine ); // also calls SetUpdateMode(sal_False) in DrawEdit()
2381 pEngine->SetPaperSize(aLogicSize); in DrawEdit()
2384 pEngine->SetPaperSize(aPaperSize); in DrawEdit()
2401 SfxItemSet* pSet = new SfxItemSet( pEngine->GetEmptyItemSet() ); in DrawEdit()
2404 pEngine->SetDefaults( pSet ); in DrawEdit()
2408 sal_uLong nControl = pEngine->GetControlWord(); in DrawEdit()
2413 pEngine->SetControlWord( nControl ); in DrawEdit()
2419 pEngine->SetHyphenator( xXHyphenator ); in DrawEdit()
2427 pEngine->SetBackgroundColor( aBackCol ); in DrawEdit()
2476 pEngine->SetDefaultItem( SvxAdjustItem( eSvxAdjust, EE_PARA_JUST ) ); in DrawEdit()
2490 pEngine->SetText(*pData); in DrawEdit()
2518 pEngine->SetText(aString); in DrawEdit()
2520 lcl_SetEditColor( *pEngine, *pColor ); in DrawEdit()
2524 SetEditSyntaxColor( *pEngine, pCell ); in DrawEdit()
2526 lcl_SetEditColor( *pEngine, COL_AUTO ); //! or have a flag at EditEngine in DrawEdit()
2533 pEngine->SetVertical( bAsianVertical ); in DrawEdit()
2534 pEngine->SetUpdateMode( sal_True ); // after SetText, before CalcTextWidth/GetTextHeight in DrawEdit()
2544 nEngineWidth = (long) pEngine->CalcTextWidth(); in DrawEdit()
2545 long nEngineHeight = pEngine->GetTextHeight(); in DrawEdit()
2573 ShrinkEditEngine( *pEngine, aAreaParam.maAlignRect, in DrawEdit()
2580 …if ( bRepeat && !aAreaParam.mbLeftClip && !aAreaParam.mbRightClip && pEngine->GetParagraphCount() … in DrawEdit()
2590 String aCellStr = pEngine->GetText(); in DrawEdit()
2591 pEngine->SetText( aCellStr ); in DrawEdit()
2593 long nRepeatSize = (long) pEngine->CalcTextWidth(); in DrawEdit()
2606 pEngine->SetText( aRepeated ); in DrawEdit()
2608 nEngineHeight = pEngine->GetTextHeight(); in DrawEdit()
2609 nEngineWidth = (long) pEngine->CalcTextWidth(); in DrawEdit()
2622 pEngine->SetText( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("###")) ); in DrawEdit()
2623 nEngineWidth = (long) pEngine->CalcTextWidth(); in DrawEdit()
2637 pEngine->SetPaperSize(pRefDevice->PixelToLogic(aPaperSize)); in DrawEdit()
2639 pEngine->SetPaperSize(aPaperSize); in DrawEdit()
2733 ( pEngine->GetParagraphCount() > 1 || pEngine->GetLineCount(0) > 1 ) ) in DrawEdit()
2808 pEngine->SetUpdateMode( sal_False ); in DrawEdit()
2813 pEngine->SetDefaultItem( in DrawEdit()
2819 pEngine->SetUpdateMode( sal_True ); in DrawEdit()
2895 aLogicStart.Y() += bBreak ? pEngine->GetPaperSize().Width() : in DrawEdit()
2900 Size aPaperLogic = pEngine->GetPaperSize(); in DrawEdit()
2902 pEngine->SetPaperSize(aPaperLogic); in DrawEdit()
2905 if ( pEngine->IsRightToLeft( 0 ) ) in DrawEdit()
2910 Size aLogicPaper = pEngine->GetPaperSize(); in DrawEdit()
2914 pEngine->SetPaperSize(aLogicPaper); in DrawEdit()
2928 pEngine->Draw( pDev, aLogicClip, aDocStart, sal_False ); in DrawEdit()
2936 aLogicStart.X() -= pEngine->GetPaperSize().Width(); in DrawEdit()
2938 pEngine->Draw( pDev, aLogicStart, nOriVal ); in DrawEdit()
2954 long nURLWidth = (long) pEngine->CalcTextWidth(); in DrawEdit()
2955 long nURLHeight = pEngine->GetTextHeight(); in DrawEdit()
2958 Size aPaper = pEngine->GetPaperSize(); in DrawEdit()
2982 delete pEngine; in DrawEdit()
3005 ScFieldEditEngine* pEngine = NULL; in DrawRotated() local
3051 if (!pEngine) in DrawRotated()
3052 pEngine = CreateOutputEditEngine(); in DrawRotated()
3054 lcl_ClearEdit( *pEngine ); // also calls SetUpdateMode(sal_False) in DrawRotated()
3141 SfxItemSet* pSet = new SfxItemSet( pEngine->GetEmptyItemSet() ); in DrawRotated()
3151 pEngine->SetDefaults( pSet ); in DrawRotated()
3155 sal_uLong nControl = pEngine->GetControlWord(); in DrawRotated()
3160 pEngine->SetControlWord( nControl ); in DrawRotated()
3166 pEngine->SetHyphenator( xXHyphenator ); in DrawRotated()
3174 pEngine->SetBackgroundColor( aBackCol ); in DrawRotated()
3246 pEngine->SetPaperSize(pRefDevice->PixelToLogic(aPaperSize)); in DrawRotated()
3248 pEngine->SetPaperSize(aPaperSize); // Scale ist immer 1 in DrawRotated()
3260 pEngine->SetText(*pData); in DrawRotated()
3279 pEngine->SetText(aString); in DrawRotated()
3281 lcl_SetEditColor( *pEngine, *pColor ); in DrawRotated()
3285 SetEditSyntaxColor( *pEngine, pCell ); in DrawRotated()
3287 lcl_SetEditColor( *pEngine, COL_AUTO ); //! or have a flag at EditEngine in DrawRotated()
3294 pEngine->SetUpdateMode( sal_True ); // after SetText, before CalcTextWidth/GetTextHeight in DrawRotated()
3296 long nEngineWidth = (long) pEngine->CalcTextWidth(); in DrawRotated()
3297 long nEngineHeight = pEngine->GetTextHeight(); in DrawRotated()
3331 pEngine->SetPaperSize(pRefDevice->PixelToLogic(aPaperSize)); in DrawRotated()
3333 pEngine->SetPaperSize(aPaperSize); // Scale ist immer 1 in DrawRotated()
3335 nEngineWidth = (long) pEngine->CalcTextWidth(); in DrawRotated()
3336 nEngineHeight = pEngine->GetTextHeight(); in DrawRotated()
3416 … ShrinkEditEngine( *pEngine, aAreaParam.maAlignRect, nLeftM, nTopM, nRightM, nBottomM, in DrawRotated()
3423 … ShrinkEditEngine( *pEngine, aAreaParam.maAlignRect, nLeftM, nTopM, nRightM, nBottomM, in DrawRotated()
3430 nRealWidth = (long) pEngine->CalcTextWidth(); in DrawRotated()
3431 nRealHeight = pEngine->GetTextHeight(); in DrawRotated()
3522 pEngine->SetUpdateMode( sal_False ); in DrawRotated()
3527 pEngine->SetDefaultItem( in DrawRotated()
3532 pEngine->SetPaperSize(pRefDevice->PixelToLogic(aPaperSize)); in DrawRotated()
3534 pEngine->SetPaperSize(aPaperSize); in DrawRotated()
3536 pEngine->SetUpdateMode( sal_True ); in DrawRotated()
3646 if ( pEngine->IsRightToLeft( 0 ) ) in DrawRotated()
3651 Size aLogicPaper = pEngine->GetPaperSize(); in DrawRotated()
3655 pEngine->SetPaperSize(aLogicPaper); in DrawRotated()
3659 pEngine->Draw( pDev, aLogicStart, (short)nOriVal ); in DrawRotated()
3678 delete pEngine; in DrawRotated()