Lines Matching refs:pEngine

198 					pEngine->SetUpdateMode( sal_False );  in InitRangeFinder()
206 SfxItemSet aSet( pEngine->GetEmptyItemSet() ); in InitRangeFinder()
209 pEngine->QuickSetAttribs( aSet, aSel ); in InitRangeFinder()
219 pEngine->SetUpdateMode( sal_True ); in InitRangeFinder()
234 EditEngine* pEngine = pView->GetEditEngine(); in lcl_Replace() local
235 pEngine->QuickInsertText( rNewStr, rOldSel ); in lcl_Replace()
241 xub_StrLen nLen = pEngine->GetTextLen(0); in lcl_Replace()
422 pEngine( NULL ), in ScInputHandler()
485 delete pEngine; in ~ScInputHandler()
499 if (pEngine) in SetRefScale()
502 pEngine->SetRefMapMode( aMode ); in SetRefScale()
509 if (!pEngine) in UpdateRefDevice()
514 sal_uInt32 nCtrl = pEngine->GetControlWord(); in UpdateRefDevice()
519 pEngine->SetControlWord( nCtrl ); in UpdateRefDevice()
521 pEngine->SetRefDevice( pActiveViewSh->GetViewData()->GetDocument()->GetPrinter() ); in UpdateRefDevice()
523 pEngine->SetRefDevice( NULL ); in UpdateRefDevice()
526 pEngine->SetRefMapMode( aMode ); in UpdateRefDevice()
532 pEngine->GetRefDevice()->SetDigitLanguage( SC_MOD()->GetOptDigitLanguage() ); in UpdateRefDevice()
538 if ( !pEngine ) in ImplCreateEditEngine()
543 pEngine = new ScFieldEditEngine( pDoc->GetEnginePool(), pDoc->GetEditPool() ); in ImplCreateEditEngine()
546 pEngine = new ScFieldEditEngine( EditEngine::CreatePool(), NULL, sal_True ); in ImplCreateEditEngine()
547 pEngine->SetWordDelimiters( ScEditUtil::ModifyDelimiters( pEngine->GetWordDelimiters() ) ); in ImplCreateEditEngine()
549 pEngine->SetPaperSize( Size( 1000000, 1000000 ) ); in ImplCreateEditEngine()
550 pEditDefaults = new SfxItemSet( pEngine->GetEmptyItemSet() ); in ImplCreateEditEngine()
552 pEngine->SetControlWord( pEngine->GetControlWord() | EE_CNTRL_AUTOCORRECT ); in ImplCreateEditEngine()
553 pEngine->SetModifyHdl( LINK( this, ScInputHandler, ModifyHdl ) ); in ImplCreateEditEngine()
559 sal_uLong nCntrl = pEngine->GetControlWord(); in UpdateAutoCorrFlag()
571 pEngine->SetControlWord(nCntrl); in UpdateAutoCorrFlag()
585 pEngine->SetDefaultLanguage( ScGlobal::GetEditDefaultLanguage() ); in UpdateSpellSettings()
592 sal_uLong nCntrl = pEngine->GetControlWord(); in UpdateSpellSettings()
604 pEngine->SetControlWord(nCntrl); in UpdateSpellSettings()
607 pDoc->ApplyAsianEditSettings( *pEngine ); in UpdateSpellSettings()
608 pEngine->SetDefaultHorizontalTextDirection( in UpdateSpellSettings()
610 pEngine->SetFirstWordCapitalization( sal_False ); in UpdateSpellSettings()
618 pEngine->SetSpeller( xXSpellChecker1 ); in UpdateSpellSettings()
624 pEngine->SetHyphenator( xXHyphenator ); in UpdateSpellSettings()
745 if ( bFormulaMode && pActiveView && pFormulaDataPara && pEngine->GetParagraphCount() == 1 ) in ShowTipCursor()
747 String aFormula = pEngine->GetText( (sal_uInt16) 0 ); in ShowTipCursor()
886 String aText = pEngine->GetWord( 0, aSel.nEndPos-1 ); in ShowTipCursor()
968 if ( pActiveView && pFormulaData && pEngine->GetParagraphCount() == 1 ) in UseFormulaData()
970 String aTotal = pEngine->GetText( (sal_uInt16) 0 ); in UseFormulaData()
996 String aText = pEngine->GetWord( 0, aSel.nEndPos-1 ); in UseFormulaData()
1304 aPart = pEngine->GetText((sal_uInt16)0); in FormulaPreview()
1332 xub_StrLen nOldLen = pEngine->GetTextLen(0); in PasteManualTip()
1345 if ( aSel.nEndPos == pEngine->GetTextLen(0) ) in PasteManualTip()
1397 String aFormula = pEngine->GetText((sal_uInt16)0); in CursorAtClosingPar()
1462 sal_uInt32 nParCnt = pEngine->GetParagraphCount(); in UseColData()
1465 xub_StrLen nParLen = pEngine->GetTextLen( aSel.nEndPara ); in UseColData()
1468 String aText = GetEditText(pEngine); in UseColData()
1484 sal_uLong nEdLen = pEngine->GetTextLen() + nParCnt - 1; in UseColData()
1535 sal_uInt32 nParCnt = pEngine->GetParagraphCount(); in NextAutoEntry()
1538 String aText = GetEditText(pEngine); in NextAutoEntry()
1540 xub_StrLen nParLen = pEngine->GetTextLen( aSel.nEndPara ); in NextAutoEntry()
1609 String aFormula = pEngine->GetText((sal_uInt16)0); in UpdateParenthesis()
1616 SfxItemSet aSet( pEngine->GetEmptyItemSet() ); in UpdateParenthesis()
1623 sal_uInt32 nCount = pEngine->GetParagraphCount(); in UpdateParenthesis()
1625 pEngine->QuickRemoveCharAttribs( i, EE_CHAR_WEIGHT ); in UpdateParenthesis()
1629 pEngine->QuickSetAttribs( aSet, aSelThis ); in UpdateParenthesis()
1631 pEngine->QuickSetAttribs( aSet, aSelOther ); in UpdateParenthesis()
1650 sal_uInt32 nCount = pEngine->GetParagraphCount(); in UpdateParenthesis()
1707 sal_uInt16 nCount = pEngine->GetViewCount(); in UpdateActiveView()
1710 pTableView = pEngine->GetView(0); in UpdateActiveView()
1713 EditView* pThis = pEngine->GetView(i); in UpdateActiveView()
1793 pEngine->SetDefaults( *pEditDefaults ); in UpdateAdjust()
1797 pEngine->SetVertical( bAsianVertical ); in UpdateAdjust()
1804 sal_Bool bUndo = pEngine->IsUndoEnabled(); in RemoveAdjust()
1806 pEngine->EnableUndo( sal_False ); in RemoveAdjust()
1811 sal_uInt32 nCount = pEngine->GetParagraphCount(); in RemoveAdjust()
1814 const SfxItemSet& rOld = pEngine->GetParaAttribs( i ); in RemoveAdjust()
1819 pEngine->SetParaAttribs( i, aNew ); in RemoveAdjust()
1827 pEngine->RemoveParaAttribs(); in RemoveAdjust()
1830 pEngine->EnableUndo( sal_True ); in RemoveAdjust()
1846 pEngine->SetUpdateMode(sal_False); in RemoveRangeFinder()
1847 sal_uInt32 nCount = pEngine->GetParagraphCount(); // koennte gerade neu eingefuegt worden sein in RemoveRangeFinder()
1849 pEngine->QuickRemoveCharAttribs( i, EE_CHAR_COLOR ); in RemoveRangeFinder()
1850 pEngine->SetUpdateMode(sal_True); in RemoveRangeFinder()
1884 pEngine->SetUpdateMode( sal_False ); in StartTable()
1925 pEngine->SetDefaults( *pEditDefaults ); in StartTable()
1939 pEngine->SetBackgroundColor( aBackCol ); in StartTable()
1963 pEngine->SetText(aCurrentText); in StartTable()
1969 aStr = GetEditText(pEngine); in StartTable()
1978 pEngine->SetText(aStr); in StartTable()
2026 EditEngine* pEngine = pEditView->GetEditEngine(); in lcl_SetTopSelection() local
2027 sal_uInt32 nCount = pEngine->GetParagraphCount(); in lcl_SetTopSelection()
2030 xub_StrLen nParLen = pEngine->GetTextLen(rSel.nStartPara); in lcl_SetTopSelection()
2034 nParLen = pEngine->GetTextLen(++rSel.nStartPara); in lcl_SetTopSelection()
2037 nParLen = pEngine->GetTextLen(rSel.nEndPara); in lcl_SetTopSelection()
2041 nParLen = pEngine->GetTextLen(++rSel.nEndPara); in lcl_SetTopSelection()
2074 pEngine && pEngine->GetUpdateMode() && pInputWin ) in IMPL_LINK()
2079 String aText = GetEditText(pEngine); in IMPL_LINK()
2129 String aText = GetEditText(pEngine); in DataChanged()
2142 pEngine->QuickFormatDoc(); in DataChanged()
2155 bNeedGrow = ( aSel.nEndPos != pEngine->GetTextLen(aSel.nEndPara) ); in DataChanged()
2178 if ( pEngine->GetParagraphCount() == 1 && in UpdateFormulaMode()
2179 ( pEngine->GetText(0).GetChar(0) == '=' || in UpdateFormulaMode()
2180 pEngine->GetText(0).GetChar(0) == '+' || in UpdateFormulaMode()
2181 pEngine->GetText(0).GetChar(0) == '-' ) && in UpdateFormulaMode()
2329 pActiveViewSh->GetViewData()->GetDocShell()->PostEditView( pEngine, aCursorPos ); in SetMode()
2333 sal_uInt32 nPara = pEngine->GetParagraphCount()-1; in SetMode()
2334 xub_StrLen nLen = pEngine->GetText(nPara).Len(); in SetMode()
2335 sal_uInt16 nCount = pEngine->GetViewCount(); in SetMode()
2345 pEngine->GetView(i)-> in SetMode()
2348 pEngine->GetView(i)->ShowCursor(sal_False); in SetMode()
2390 EditEngine* pEngine = pView->GetEditEngine(); in lcl_SelectionToEnd() local
2391 sal_uInt32 nParCnt = pEngine->GetParagraphCount(); in lcl_SelectionToEnd()
2394 …ESelection aSel( nParCnt-1, pEngine->GetTextLen(nParCnt-1) ); // empty selection, cursor at the … in lcl_SelectionToEnd()
2418 String aString = GetEditText(pEngine); in EnterHandler()
2435 aString = GetEditText(pEngine); in EnterHandler()
2482 pEngine->CompleteOnlineSpelling(); in EnterHandler()
2483 sal_Bool bSpellErrors = !bFormulaMode && pEngine->HasOnlineSpellErrors(); in EnterHandler()
2508 pEngine->SetUpdateMode( sal_False ); in EnterHandler()
2512 sal_uInt32 nParCnt = pEngine->GetParagraphCount(); in EnterHandler()
2515 ESelection aSel( 0, 0, nParCnt-1, pEngine->GetTextLen(nParCnt-1) ); in EnterHandler()
2516 SfxItemSet aOldAttribs = pEngine->GetAttribs( aSel ); in EnterHandler()
2533 pCommonAttrs = new SfxItemSet( pEngine->GetEmptyItemSet() ); in EnterHandler()
2595 sal_uLong nCtrl = pEngine->GetControlWord(); in EnterHandler()
2598 pEngine->SetControlWord( (nCtrl & ~EE_CNTRL_ALLOWBIGOBJS) | nWantBig ); in EnterHandler()
2599 pObject = pEngine->CreateTextObject(); in EnterHandler()
2772 pEngine->SetText(String()); in CancelHandler()
3121 pActiveViewSh->GetViewData()->GetDocShell()->PostEditView( pEngine, aCursorPos ); in KeyInput()
3276 pActiveViewSh->GetViewData()->GetDocShell()->PostEditView( pEngine, aCursorPos ); in InputCommand()
3408 bTxtMod = ( aString != GetEditText(pEngine) ); in NotifyChange()
3414 pEngine->SetText( *pData ); in NotifyChange()
3415 aString = GetEditText(pEngine); in NotifyChange()
3471 sal_uLong nCntrl = pEngine->GetControlWord(); in NotifyChange()
3473 pEngine->SetControlWord( nCntrl & ~EE_CNTRL_ONLINESPELLING ); in NotifyChange()
3569 pEngine->SetText( EMPTY_STRING ); in IMPL_LINK()
3605 pEngine->SetText( aCurrentText ); in InputChanged()
3613 pViewData->GetDocShell()->PostEditView( pEngine, aCursorPos ); in InputChanged()
3624 if (pEngine) in GetEditString()
3626 aCurrentText = pEngine->GetText(); // immer neu aus Engine in GetEditString()
3636 if ( pEngine ) in GetTextSize()
3637 aSize = Size( pEngine->CalcTextWidth(), pEngine->GetTextHeight() ); in GetTextSize()
3645 if (pEngine) in GetTextAndFields()
3649 sal_uInt32 nParCnt = pEngine->GetParagraphCount(); in GetTextAndFields()
3650 SfxItemSet aSet = pEngine->GetAttribs( ESelection(0,0,nParCnt,0) ); in GetTextAndFields()
3656 EditTextObject* pObj = pEngine->CreateTextObject(); in GetTextAndFields()