LibreOffice Module sc (master)
1
|
#include <inputhdl.hxx>
Static Public Member Functions | |
static void | SendReferenceMarks (const SfxViewShell *pViewShell, const std::vector< ReferenceMark > &rReferenceMarks) |
static void | SetAutoComplete (bool bSet) |
static ReferenceMark | GetReferenceMark (const ScViewData &rViewData, ScDocShell *pDocSh, tools::Long nX1, tools::Long nX2, tools::Long nY1, tools::Long nY2, tools::Long nTab, const Color &rColor) |
Static Private Member Functions | |
static void | InvalidateAttribs () |
Static Private Attributes | |
static bool | bAutoComplete = false |
static bool | bOptLoaded = false |
Definition at line 58 of file inputhdl.hxx.
|
delete |
ScInputHandler::ScInputHandler | ( | ) |
Definition at line 752 of file inputhdl.cxx.
References bAutoComplete, bOptLoaded, eMode, comphelper::LibreOfficeKit::isActive(), LINK, pActiveViewSh, pDelayTimer, and Standard.
ScInputHandler::~ScInputHandler | ( | ) |
Definition at line 804 of file inputhdl.cxx.
References EnterHandler(), ScInputWindow::GetInputHandler(), mbDocumentDisposing, pInputWin, SC_MOD, and ScInputWindow::SetInputHandler().
void ScInputHandler::AddRefEntry | ( | ) |
Definition at line 3352 of file inputhdl.cxx.
References DataChanged(), DataChanging(), GetEditText(), formula::FormulaCompiler::GetNativeSymbolChar(), EditView::InsertText(), mpEditEngine, nPos, ocSep, pTableView, pTopView, RemoveSelection(), and UpdateActiveView().
Referenced by ScModule::AddRefEntry().
|
private |
Definition at line 1861 of file inputhdl.cxx.
References nAutoPar.
Referenced by InsertFunction(), and PasteFunctionData().
void ScInputHandler::CancelHandler | ( | ) |
Definition at line 3286 of file inputhdl.cxx.
References ScTabView::ActiveGrabFocus(), aCursorPos, aFormText, bFormulaMode, bInOwnChange, bModified, DeleteRangeFinder(), eMode, ScViewData::GetDocument(), ScTabView::GetViewData(), ImplCreateEditEngine(), comphelper::LibreOfficeKit::isActive(), ScDocument::MaxCol(), mpEditEngine, nFormSelEnd, nFormSelStart, NotifyChange(), pActiveViewSh, pInputWin, pLastState, pRefViewSh, ResetAutoPar(), SC_INPUT_NONE, SC_MOD, SendReferenceMarks(), ScAddress::Set(), ScInputWindow::SetFormulaMode(), ScTabView::SetTabNo(), SfxGetpApp(), ShowRefFrame(), ScTabViewShell::StopEditShell(), StopInputWinEngine(), ScAddress::Tab(), UpdateAutoCorrFlag(), and ScTabViewShell::UpdateInputHandler().
Referenced by ScModule::ActivateInputWindow(), ScTextWnd::Command(), ScGridWindow::ExecDataSelect(), ScModule::InputCancelHandler(), KeyInput(), and ScGridWindow::StartDrag().
void ScInputHandler::ClearText | ( | ) |
Definition at line 3534 of file inputhdl.cxx.
References DataChanged(), DataChanging(), eMode, EditView::GetEditEngine(), pTableView, pTopView, SC_INPUT_NONE, EditView::SetSelection(), EditEngine::SetText(), and UpdateActiveView().
Referenced by ScFunctionWin::DoEnter().
|
private |
Definition at line 1866 of file inputhdl.cxx.
References bFormulaMode, EditView::GetSelection(), EditView::HasSelection(), mpEditEngine, nPos, ESelection::nStartPos, pTableView, and pTopView.
Referenced by KeyInput().
void ScInputHandler::DataChanged | ( | bool | bFromTopNotify = false , |
bool | bSetModified = true |
||
) |
Definition at line 2586 of file inputhdl.cxx.
References ESelection::Adjust(), bInOwnChange, bInRangeUpdate, bModified, bSelIsRef, bTextValid, ScViewData::EditGrowX(), ScViewData::EditGrowY(), eMode, ScViewData::GetDocument(), ScViewData::GetEditAdjust(), EditView::GetEditEngine(), GetEditText(), ScEditUtil::GetMultilineString(), EditView::GetSelection(), ScViewData::GetTabNo(), ScTabView::GetViewData(), ImplCreateEditEngine(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), lcl_RemoveTabs(), SfxViewShell::libreOfficeKitViewCallback(), mpEditEngine, ESelection::nEndPara, ESelection::nEndPos, pActiveViewSh, pInputWin, pRangeFindList, pTableView, pTopView, EditEngine::QuickFormatDoc(), RemoveRangeFinder(), SC_INPUT_NONE, SC_INPUT_TABLE, SC_INPUT_TOP, SC_INPUT_TYPE, ScInputWindow::SetTextString(), EditView::ShowCursor(), UpdateFormulaMode(), and UpdateParenthesis().
Referenced by AddRefEntry(), ClearText(), ScFunctionWin::DoEnter(), ScEditShell::Execute(), ScCellShell::Execute(), ScCellShell::ExecuteEdit(), ScEditShell::ExecuteTrans(), ScEditShell::ExecuteUndo(), InputChanged(), InputCommand(), ScViewFunc::InsertCurrentTime(), InsertFunction(), ScTabViewShell::InsertURLField(), KeyInput(), PasteFunctionData(), PasteManualTip(), SetReference(), and ScGridWindow::StartDrag().
bool ScInputHandler::DataChanging | ( | sal_Unicode | cTyped = 0 , |
bool | bFromCommand = false |
||
) |
Definition at line 2574 of file inputhdl.cxx.
References bInOwnChange, eMode, ScTabView::GetViewData(), NONE, pActiveViewSh, SC_INPUT_NONE, ScViewData::SetPasteMode(), and StartTable().
Referenced by AddRefEntry(), ClearText(), ScEditShell::Execute(), ScCellShell::Execute(), ScCellShell::ExecuteEdit(), ScEditShell::ExecuteTrans(), ScEditShell::ExecuteUndo(), InputChanged(), InputCommand(), ScViewFunc::InsertCurrentTime(), InsertFunction(), ScTabViewShell::InsertURLField(), KeyInput(), PasteFunctionData(), PasteManualTip(), and SetReference().
|
private |
|
private |
|
private |
|
private |
Definition at line 632 of file inputhdl.cxx.
References ScViewData::GetDocShell(), and ScDocShell::GetViewData().
Referenced by CancelHandler(), EnterHandler(), and RemoveRangeFinder().
bool ScInputHandler::DeleteSurroundingText | ( | const Selection & | rSelection | ) |
Definition at line 3868 of file inputhdl.cxx.
References EditView::DeleteSurroundingText(), eMode, pTableView, pTopView, SC_INPUT_NONE, and UpdateActiveView().
Referenced by ScGridWindow::DeleteSurroundingText().
void ScInputHandler::EnterHandler | ( | ScEnterMode | nBlockMode = ScEnterMode::NORMAL | ) |
Definition at line 2909 of file inputhdl.cxx.
References aAutoSearch, ScTabView::ActiveGrabFocus(), aCursorPos, ScViewFunc::AdjustBlockHeight(), aFormText, ScViewFunc::ApplySelectionPattern(), bAutoComplete, bFormulaMode, bInEnterHandler, bInOwnChange, BLOCK, bModified, bProtected, bSelIsRef, ScAddress::Col(), EditView::CompleteAutoCorrect(), SfxViewShell::Current(), ScDBFunc::DataPilotInput(), DeleteRangeFinder(), ScValidationData::DoError(), EE_CHAR_END(), EE_CHAR_ESCAPEMENT(), EE_CHAR_KERNING(), EE_CHAR_PAIRKERNING(), EE_CHAR_START(), EE_CHAR_XMLATTRIBS(), EE_FEATURE_FIELD(), EE_FEATURE_NOTCONV(), eMode, SfxBindings::Execute(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), ScValidationData::GetDataMode(), Application::GetDefDialogParent(), ScViewData::GetDocument(), LocaleDataWrapper::getDoubleQuotationMarkEnd(), LocaleDataWrapper::getDoubleQuotationMarkStart(), ScDocument::GetDPAtCursor(), GetEditText(), SvxAutoCorrect::GetEndDoubleQuote(), SvxAutoCorrect::GetEndSingleQuote(), ScDocument::GetFormatTable(), vcl::Window::GetFrameWeld(), ScTabView::GetFrameWin(), ScGlobal::getLocaleDataPtr(), ScPatternAttr::GetNumberFormat(), ScDocument::GetPattern(), ScDocument::GetPool(), LocaleDataWrapper::getQuotationMarkEnd(), LocaleDataWrapper::getQuotationMarkStart(), SvxAutoCorrect::GetStartDoubleQuote(), SvxAutoCorrect::GetStartSingleQuote(), ScDocument::GetValidationEntry(), ScViewData::GetView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), ScValidationData::HasErrMsg(), HideTip(), HideTipBelow(), ImplCreateEditEngine(), comphelper::LibreOfficeKit::isActive(), ScValidationData::IsDataValid(), ScValidationData::IsDataValidCustom(), SvNumberFormatter::IsNumberFormat(), lcl_IsNumber(), lcl_RemoveTabs(), lcl_SelectionToEnd(), MATRIX, mbDocumentDisposing, miAutoPosColumn, mpEditEngine, nFormSelEnd, nFormSelStart, nId, nValidation, pActiveViewSh, pColumnData, pData, pEditDefaults, pInputWin, pLastPattern, pLastState, pObject, pRefViewSh, pTableView, pTopView, RemoveAdjust(), ResetAutoPar(), ScAddress::Row(), SC_INPUT_NONE, SC_MOD, SC_VALID_CUSTOM, ScInputWindow::SetFormulaMode(), ScInputStatusItem::SetMisspellRanges(), ScTabView::SetTabNo(), SfxGetpApp(), ShowRefFrame(), StopInputWinEngine(), ScTabView::StopMarking(), ScAddress::Tab(), and UpdateAutoCorrFlag().
Referenced by ScModule::ActivateInputWindow(), ScTabView::ActivateView(), ScModule::InputEnterHandler(), KeyInput(), NotifyChange(), ScTabViewShell::PrepareClose(), ViewShellGone(), and ~ScInputHandler().
void ScInputHandler::ForgetLastPattern | ( | ) |
Definition at line 2226 of file inputhdl.cxx.
References NotifyChange(), pActiveViewSh, pLastPattern, pLastState, and ScTabViewShell::UpdateInputHandler().
Referenced by ScModule::ConfigurationChanged(), ScGridWindow::DataChanged(), lcl_DocStyleChanged(), ScViewFunc::RemoveStyleSheetInUse(), and ScViewFunc::UpdateStyleSheetInUse().
void ScInputHandler::FormulaPreview | ( | ) |
Definition at line 1773 of file inputhdl.cxx.
References aCursorPos, aManualTip, ScViewData::GetDocShell(), ScDocShell::GetDocument(), EditView::GetSelected(), ScTabView::GetViewData(), lcl_Calculate(), miAutoPosColumn, miAutoPosFormula, mpEditEngine, pActiveViewSh, pColumnData, pFormulaData, pTableView, pTopView, and ShowTip().
Referenced by ScDocShell::DoRecalc().
EditView * ScInputHandler::GetActiveView | ( | ) |
Definition at line 2220 of file inputhdl.cxx.
References pTableView, pTopView, and UpdateActiveView().
Referenced by ScFunctionWin::DoEnter(), ScEditShell::Execute(), ScCellShell::Execute(), ScCellShell::ExecuteEdit(), ScEditShell::GetState(), ScEditShell::GetURLField(), and ScTabViewShell::isAnyEditViewInRange().
|
private |
Definition at line 1909 of file inputhdl.cxx.
References aCursorPos, aEntries, ScAddress::Col(), ScDocument::GetDataEntries(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScTabView::GetViewData(), miAutoPosColumn, pActiveViewSh, pColumnData, ScAddress::Row(), and ScAddress::Tab().
Referenced by StartTable().
|
inline |
Definition at line 193 of file inputhdl.hxx.
References aCursorPos.
Referenced by ScDocShell::DoRecalc(), and ScDocFunc::NotifyInputHandler().
const OUString & ScInputHandler::GetEditString | ( | ) |
Definition at line 4271 of file inputhdl.cxx.
References aCurrentText, bTextValid, and mpEditEngine.
Referenced by ScFunctionWin::DoEnter(), ScTabViewShell::IsRefInputMode(), and ScInputWindow::ScInputWindow().
|
inline |
Definition at line 191 of file inputhdl.hxx.
References aFormText.
Referenced by ScFormulaDlg::fill(), ScFormulaDlg::getCurrentFormula(), ScFormulaDlg::ScFormulaDlg(), and ScInputWindow::ScInputWindow().
|
private |
Definition at line 956 of file inputhdl.cxx.
References ScFunctionList::GetCount(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScDocument::GetFormulaEntries(), ScFunctionList::GetFunction(), ScFuncDesc::getSignature(), ScGlobal::GetStarCalcFunctionList(), ScTabView::GetViewData(), i, ScFuncDesc::initArgumentInfo(), maFormulaChar, miAutoPosFormula, ScFuncDesc::mxFuncName, pActiveViewSh, pFormulaData, pFormulaDataPara, and ScTypedStrData::Standard.
Referenced by UpdateFormulaMode().
|
private |
Definition at line 4336 of file inputhdl.cxx.
References bCreatingFuncView, eMode, EMPTY_OUSTRING, EditView::GetEditEngine(), ScInputWindow::GetEditView(), ScInputWindow::MakeDialogEditView(), pInputWin, pTableView, SC_INPUT_TABLE, SetMode(), EditEngine::SetText(), and UpdateActiveView().
Referenced by InputReplaceSelection(), and InputSetSelection().
|
private |
Definition at line 1297 of file inputhdl.cxx.
References ScGlobal::getCharClassPtr(), i, maFormulaChar, nPos, p, and CharClass::uppercase().
Referenced by UseFormulaData().
|
inline |
Definition at line 263 of file inputhdl.hxx.
References pInputWin.
Referenced by ScModule::ActivateInputWindow(), ScTabViewShell::afterCallbackRegistered(), ScInputWindow::dispose(), ScModule::Execute(), ScCellShell::ExecuteMove(), ScTabView::KillEditView(), ScPosWnd::ReleaseFocus_Impl(), and ScTabViewShell::TabKeyInput().
|
inline |
Definition at line 252 of file inputhdl.hxx.
References pRangeFindList.
Referenced by ScGridWindow::DrawContent(), ScGridWindow::HitRangeFinder(), ScTabView::PaintRangeFinder(), and ScGridWindow::RFMouseMove().
|
static |
Definition at line 424 of file inputhdl.cxx.
References ScDocument::ExtendMerge(), ScDocument::FillInfo(), ScOutputData::FillReferenceMark(), ScViewData::GetActivePart(), ScDocShell::GetDocument(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScViewData::GetScrPos(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isCompatFlagSet(), nPPTX, nPPTY, OUTTYPE_WINDOW, Point, and PutInOrder().
Referenced by ScTabView::DoChartSelection(), and UpdateLokReferenceMarks().
|
inline |
Definition at line 247 of file inputhdl.hxx.
References bSelIsRef.
Referenced by ScTabViewShell::IsRefInputMode().
OUString ScInputHandler::GetSurroundingText | ( | ) |
Definition at line 3836 of file inputhdl.cxx.
References eMode, EditView::GetSurroundingText(), pTableView, pTopView, SC_INPUT_NONE, and UpdateActiveView().
Referenced by ScGridWindow::GetSurroundingText().
Selection ScInputHandler::GetSurroundingTextSelection | ( | ) |
Definition at line 3852 of file inputhdl.cxx.
References eMode, EditView::GetSurroundingTextSelection(), pTableView, pTopView, SC_INPUT_NONE, and UpdateActiveView().
Referenced by ScGridWindow::GetSurroundingTextSelection().
|
inline |
Definition at line 237 of file inputhdl.hxx.
References pTableView.
Referenced by ScInputWindow::AutoSum(), ScEditShell::Execute(), ScEditShell::ExecuteTrans(), ScEditShell::ExecuteUndo(), ScGridWindow::GetEditUrl(), ScViewFunc::InsertCurrentTime(), ScTabViewShell::InsertURLField(), and ScModelObj::setTextSelection().
bool ScInputHandler::GetTextAndFields | ( | ScEditEngineDefaulter & | rDestEngine | ) |
Definition at line 4291 of file inputhdl.cxx.
References EE_FEATURE_FIELD(), SfxItemSet::GetItemState(), EditEngine::GetTextLen(), i, mpEditEngine, EditEngine::QuickInsertText(), EditEngine::RemoveCharAttribs(), and ScEditEngineDefaulter::SetTextCurrentDefaults().
Referenced by ScTextWnd::InitEditEngine().
Size ScInputHandler::GetTextSize | ( | ) |
Definition at line 4282 of file inputhdl.cxx.
References mpEditEngine.
Referenced by ScViewFunc::ModifyCellSize().
|
inline |
Definition at line 238 of file inputhdl.hxx.
References pTopView.
Referenced by ScInputWindow::AutoSum(), ScEditShell::Execute(), ScEditShell::ExecuteTrans(), ScEditShell::ExecuteUndo(), ScEditShell::GetUndoState(), ScViewFunc::InsertCurrentTime(), and ScTabViewShell::InsertURLField().
void ScInputHandler::HideTip | ( | ) |
Definition at line 1017 of file inputhdl.cxx.
References aManualTip, Help::HidePopover(), LINK, nTipVisible, pTipVisibleParent, and vcl::Window::RemoveEventListener().
Referenced by ScTabViewShell::Deactivate(), EnterHandler(), InputCommand(), KeyInput(), NotifyChange(), PasteFunctionData(), PasteManualTip(), SetReference(), ShowTip(), and ShowTipCursor().
void ScInputHandler::HideTipBelow | ( | ) |
Definition at line 1028 of file inputhdl.cxx.
References aManualTip, Help::HidePopover(), LINK, nTipVisibleSec, pTipVisibleSecParent, and vcl::Window::RemoveEventListener().
Referenced by EnterHandler(), InputCommand(), KeyInput(), NotifyChange(), ShowTip(), ShowTipBelow(), and ShowTipCursor().
|
private |
Definition at line 861 of file inputhdl.cxx.
References EditEngine::CreatePool(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScDocument::GetEnginePool(), ScTabView::GetViewData(), LINK, ScEditUtil::ModifyDelimiters(), mpEditEngine, pActiveViewSh, pEditDefaults, and UpdateRefDevice().
Referenced by CancelHandler(), DataChanged(), EnterHandler(), NotifyChange(), SetMode(), StartTable(), and UpdateActiveView().
void ScInputHandler::InitRangeFinder | ( | const OUString & | rFormula | ) |
Definition at line 299 of file inputhdl.cxx.
References ScRange::aEnd, applyStartToEndFlags(), ScRange::aStart, COL2_VALID, COL_ABS, formula::FormulaGrammar::CONV_XL_R1C1, EE_CHAR_COLOR(), ScDocument::GetAddressConvention(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScDocument::GetSheetSeparator(), SfxObjectShell::GetTitle(), ScDocShell::GetViewData(), ScEditUtil::ModifyDelimiters(), nCount, nPos, ScRange::ParseAny(), pChar, RANGEFIND_MAX, ROW2_VALID, ROW_ABS, SC_MOD, ScAddress::SetTab(), ScAddress::Tab(), TAB2_3D, TAB2_VALID, TAB_3D, TAB_ABS, ScGlobal::UnicodeStrChr(), VALID, and ZERO.
Referenced by ScInputWindow::AutoSum(), ScCellShell::ExecuteEdit(), and StartTable().
Definition at line 4245 of file inputhdl.cxx.
References aCurrentText, aCursorPos, bTextValid, DataChanged(), DataChanging(), ScViewData::EditGrowX(), ScViewData::EditGrowY(), ScViewData::GetDocShell(), ScTabView::GetViewData(), mpEditEngine, pActiveViewSh, ScDocShell::PostEditView(), pTopView, SyncViews(), and UpdateActiveView().
Referenced by IMPL_LINK_NOARG(), and ScModule::InputChanged().
void ScInputHandler::InputCommand | ( | const CommandEvent & | rCEvt | ) |
in DataChanged ?
Definition at line 3884 of file inputhdl.cxx.
References aCursorPos, bAutoComplete, bFormulaMode, bOptLoaded, bProtected, bSelIsRef, EditView::Command(), DataChanged(), DataChanging(), eMode, CommandEvent::GetCommand(), ScViewData::GetDocShell(), EditView::GetEditEngine(), ScTabView::GetViewData(), HideTip(), HideTipBelow(), InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), miAutoPosColumn, miAutoPosFormula, mpEditEngine, pActiveViewSh, pColumnData, pFormulaData, ScDocShell::PostEditView(), pTableView, pTopView, RemoveSelection(), SC_INPUT_NONE, SC_MOD, EditView::SetSelection(), EditEngine::SetText(), SyncViews(), UpdateActiveView(), UseColData(), and UseFormulaData().
Referenced by ScTextWnd::Command(), and ScGridWindow::Command().
void ScInputHandler::InputGetSelection | ( | sal_Int32 & | rStart, |
sal_Int32 & | rEnd | ||
) |
Methods for FunctionAutoPilot: InputGetSelection, InputSetSelection, InputReplaceSelection, InputGetFormulaStr.
Definition at line 4330 of file inputhdl.cxx.
References nFormSelEnd, and nFormSelStart.
Referenced by ScModule::InputGetSelection(), and ScFormulaDlg::ScFormulaDlg().
void ScInputHandler::InputReplaceSelection | ( | const OUString & | rStr | ) |
Definition at line 4382 of file inputhdl.cxx.
References aBuf, aFormText, bModified, EditView::GetEditEngine(), GetFuncEditView(), nFormSelEnd, nFormSelStart, pActiveViewSh, pRefViewSh, EditView::SetEditEngineUpdateMode(), EditView::SetSelection(), and EditEngine::SetText().
Referenced by ScFormulaDlg::fill(), ScModule::InputReplaceSelection(), LOKPasteFunctionData(), and ScFormulaDlg::ScFormulaDlg().
Definition at line 4235 of file inputhdl.cxx.
References ResetAutoPar(), ShowTipCursor(), SyncViews(), and UpdateParenthesis().
Referenced by ScModule::InputSelection().
void ScInputHandler::InputSetSelection | ( | sal_Int32 | nStart, |
sal_Int32 | nEnd | ||
) |
Definition at line 4362 of file inputhdl.cxx.
References bModified, GetFuncEditView(), nFormSelEnd, nFormSelStart, and EditView::SetSelection().
Referenced by ScFormulaDlg::fill(), ScModule::InputSetSelection(), and ScFormulaDlg::ScFormulaDlg().
void ScInputHandler::InputTurnOffWinEngine | ( | ) |
Definition at line 4413 of file inputhdl.cxx.
References bInOwnChange, eMode, SC_INPUT_NONE, and StopInputWinEngine().
Referenced by ScModule::InputTurnOffWinEngine().
void ScInputHandler::InsertFunction | ( | const OUString & | rFuncName, |
bool | bAddPar = true |
||
) |
Definition at line 3487 of file inputhdl.cxx.
References AutoParAdded(), DataChanged(), DataChanging(), eMode, EditView::GetSelection(), EditView::InsertText(), ESelection::nEndPos, ESelection::nStartPos, pTableView, pTopView, SC_INPUT_NONE, EditView::SetSelection(), and UpdateActiveView().
Referenced by ScFunctionWin::DoEnter(), ScPosWnd::DoEnter(), and ScCellShell::ExecuteEdit().
|
staticprivate |
Definition at line 2765 of file inputhdl.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetBindings(), and SfxBindings::Invalidate().
Referenced by InputCommand(), and KeyInput().
|
inline |
Definition at line 186 of file inputhdl.hxx.
References SC_INPUT_NONE, and SC_INPUT_TYPE.
Referenced by ScAccessibleEditObject::CreateTextHelper(), ScModule::IsEditMode(), ScDocFunc::NotifyInputHandler(), ScTextWnd::StopEditEngine(), and ScGridWindow::UpdateSelectionOverlay().
|
inline |
Definition at line 262 of file inputhdl.hxx.
References bFormulaMode.
Referenced by ScDocShell::DoRecalc(), ScEditShell::GetAttrState(), ScModule::IsFormulaMode(), and ScTabViewShell::ScTabViewShell().
|
inline |
Definition at line 267 of file inputhdl.hxx.
References bInEnterHandler.
Referenced by ScCellShell::Execute().
|
inline |
Definition at line 268 of file inputhdl.hxx.
References bInOwnChange.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 185 of file inputhdl.hxx.
References SC_INPUT_NONE.
Referenced by ScDocShell::DoRecalc(), ScCellShell::ExecuteCursorSel(), ScGridWindow::GetEditUrl(), ScViewFunc::InsertCurrentTime(), ScModule::IsInputMode(), ScViewFunc::OnLOKInsertDeleteColumn(), ScViewFunc::OnLOKInsertDeleteRow(), ScTabViewShell::PrepareClose(), ScInputWindow::ScInputWindow(), ScGridWindow::SetCellSelectionPixel(), and ScModelObj::setTextSelection().
bool ScInputHandler::IsModalMode | ( | const SfxObjectShell * | pDocSh | ) |
Definition at line 3344 of file inputhdl.cxx.
References bFormulaMode, ScViewData::GetDocument(), ScDocument::GetDocumentShell(), ScTabView::GetViewData(), SfxObjectShell::HasName(), and pRefViewSh.
Referenced by ScModule::IsModalMode().
|
inline |
Definition at line 188 of file inputhdl.hxx.
References SC_INPUT_TOP.
Referenced by ScAccessibleEditObject::CreateTextHelper(), IMPL_LINK_NOARG(), ScPosWnd::ReleaseFocus_Impl(), and ScInputWindow::ScInputWindow().
bool ScInputHandler::KeyInput | ( | const KeyEvent & | rKEvt, |
bool | bStartEdit | ||
) |
in DataChanged?
Definition at line 3562 of file inputhdl.cxx.
References aCursorPos, aManualTip, bAutoComplete, bFormulaMode, BLOCK, bOptLoaded, bProtected, bSelIsRef, bUseTab, CancelHandler(), SfxViewFrame::Current(), CursorAtClosingPar(), DataChanged(), DataChanging(), EditView::DeleteSelected(), EditEngine::DoesKeyChangeText(), EditEngine::DoesKeyMoveCursor(), eMode, EnterHandler(), ScTabView::FindNextUnprot(), SfxViewFrame::GetBindings(), KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), EditView::GetControlWord(), ScViewData::GetDocShell(), EditView::GetEditEngine(), ScTabView::GetFrameWin(), vcl::KeyCode::GetFunction(), KeyEvent::GetKeyCode(), vcl::KeyCode::GetModifier(), ScTabView::GetViewData(), HideTip(), HideTipBelow(), SfxBindings::Invalidate(), InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), SfxObjectShell::IsModified(), vcl::KeyCode::IsShift(), KEY_BACKSPACE, KEY_DELETE, KEY_ESCAPE, KEY_F2, KEY_INSERT, KEY_RETURN, KEY_TAB, MATRIX, miAutoPosColumn, miAutoPosFormula, ScTabView::MoveCursorEnter(), mpEditEngine, nAutoPar, nCellPercentFormatDecSep, nCode, NextAutoEntry(), NextFormulaEntry(), NORMAL, nTipVisible, nTipVisibleSec, pActiveViewSh, PasteFunctionData(), PasteManualTip(), pColumnData, pFormulaData, pInputWin, ScDocShell::PostEditView(), EditView::PostKeyEvent(), pTableView, pTopView, RemoveSelection(), ResetAutoPar(), SC_INPUT_NONE, SC_INPUT_TABLE, SC_INPUT_TOP, SC_INPUT_TYPE, SC_MOD, EditView::SetControlWord(), ScDocShell::SetModified(), EditView::SetSelection(), EditEngine::SetText(), ShowTipCursor(), SkipClosingPar(), SyncViews(), UpdateActiveView(), UseColData(), and UseFormulaData().
Referenced by ScModule::InputKeyEvent().
void ScInputHandler::LOKPasteFunctionData | ( | const OUString & | rFunctionName | ) |
Definition at line 1673 of file inputhdl.cxx.
References EditView::GetEditEngine(), EditEngine::GetText(), InputReplaceSelection(), miAutoPosFormula, pActiveViewSh, PasteFunctionData(), pFormulaData, pTableView, and pTopView.
Referenced by ScModelObj::completeFunction().
void ScInputHandler::MergeLanguageAttributes | ( | ScEditEngineDefaulter & | rDestEngine | ) | const |
Definition at line 2493 of file inputhdl.cxx.
References EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), SfxItemSet::Get(), mpEditEngine, and ScEditEngineDefaulter::SetDefaultItem().
Referenced by StartTable().
|
private |
Definition at line 2000 of file inputhdl.cxx.
References aAutoSearch, ESelection::Adjust(), bInOwnChange, EditView::DeleteSelected(), GetEditText(), EditView::GetSelection(), EditView::InsertText(), lcl_RemoveLineEnd(), miAutoPosColumn, mpEditEngine, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, pColumnData, pTableView, pTopView, EditView::SetSelection(), and EditView::ShowCursor().
Referenced by KeyInput().
|
private |
Definition at line 1529 of file inputhdl.cxx.
References aAutoSearch, miAutoPosFormula, pFormulaData, pTableView, pTopView, EditView::ShowCursor(), and ShowFuncList().
Referenced by KeyInput().
void ScInputHandler::NotifyChange | ( | const ScInputHdlState * | pState, |
bool | bForce = false , |
||
ScTabViewShell * | pSourceSh = nullptr , |
||
bool | bStopEditing = true |
||
) |
Before EditEngine gets eventually created (so it gets the right pools)
To begin with remember as a string
Find by Timer?
Definition at line 3992 of file inputhdl.cxx.
References aCurrentText, aCursorPos, applyStartToEndFlags(), bCommandErrorShown, bFormulaMode, bInEnterHandler, bInOwnChange, bModified, bProtected, bSelIsRef, bTextValid, COL_ABS, formula::FormulaGrammar::CONV_XL_R1C1, SfxViewShell::Current(), ScAddress::Details::eConv, vcl::Window::Enable(), EnterHandler(), ScAddress::Format(), ScRange::Format(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetDocument(), ScInputHdlState::GetEditData(), GetEditText(), ScInputHdlState::GetEndPos(), ScTabViewShell::GetFormEditData(), ScEditUtil::GetMultilineString(), ScInputHdlState::GetPos(), ScInputHdlState::GetStartPos(), ScInputHdlState::GetString(), ScTabView::GetViewData(), SfxShell::GetViewShell(), HideTip(), HideTipBelow(), ImplCreateEditEngine(), vcl::Window::IsAccessibilityEventsSuppressed(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsEnabled(), ScModule::IsFormulaMode(), ScModule::IsRefDialogOpen(), lcl_RemoveTabs(), SfxViewShell::libreOfficeKitViewCallback(), mpEditEngine, pActiveViewSh, pData, pDelayTimer, pInputWin, pLastState, ROW_ABS, SC_MOD, vcl::Window::SetAccessibilityEventsSuppressed(), ScInputWindow::SetPosString(), ScInputWindow::SetSumAssignMode(), ScInputWindow::SetTextString(), SfxGetpApp(), VALID, and ZERO.
Referenced by ScPreviewShell::Activate(), CancelHandler(), ScTabViewShell::Deactivate(), ScRefHandler::EnterRefMode(), ForgetLastPattern(), ScFormulaDlg::notifyChange(), ScFormulaDlg::ScFormulaDlg(), and ScTabViewShell::UpdateInputHandler().
|
delete |
|
private |
Definition at line 1646 of file inputhdl.cxx.
References AutoParAdded(), DataChanged(), DataChanging(), ScTypedStrData::GetString(), HideTip(), miAutoPosFormula, pFormulaData, pTableView, pTopView, rData, EditView::ShowCursor(), and ShowTipCursor().
Referenced by KeyInput(), and LOKPasteFunctionData().
|
private |
Definition at line 1797 of file inputhdl.cxx.
References ESelection::Adjust(), aManualTip, DataChanged(), DataChanging(), EditView::GetSelection(), EditView::HasSelection(), HideTip(), EditView::InsertText(), mpEditEngine, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, pTableView, pTopView, EditView::SetSelection(), and u.
Referenced by KeyInput().
|
private |
Definition at line 2286 of file inputhdl.cxx.
References mpEditEngine.
Referenced by EnterHandler().
|
private |
Definition at line 2302 of file inputhdl.cxx.
References DeleteRangeFinder(), EE_CHAR_COLOR(), i, mpEditEngine, nCount, pTableView, pTopView, and EditView::ShowCursor().
Referenced by DataChanged().
|
private |
Definition at line 2750 of file inputhdl.cxx.
References EditView::GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, pTableView, pTopView, and EditView::SetSelection().
Referenced by AddRefEntry(), InputCommand(), and KeyInput().
|
private |
Definition at line 1856 of file inputhdl.cxx.
References nAutoPar.
Referenced by CancelHandler(), EnterHandler(), InputSelection(), and KeyInput().
void ScInputHandler::ResetDelayTimer | ( | ) |
Definition at line 4193 of file inputhdl.cxx.
References vcl::Window::Enable(), pDelayTimer, and pInputWin.
Referenced by ScTabViewShell::Activate(), and ScFormulaReferenceHelper::dispose().
|
static |
Definition at line 261 of file inputhdl.cxx.
References i, and SfxViewShell::libreOfficeKitViewCallback().
Referenced by CancelHandler(), ScTabView::DoChartSelection(), ScFormulaReferenceHelper::HideReference(), ScTextWnd::StopEditEngine(), UpdateLokReferenceMarks(), and ScGridWindow::UpdateSelectionOverlay().
|
inlinestatic |
Definition at line 289 of file inputhdl.hxx.
Referenced by ScModule::Execute().
void ScInputHandler::SetDocumentDisposing | ( | bool | b | ) |
Definition at line 553 of file inputhdl.cxx.
void ScInputHandler::SetInputWindow | ( | ScInputWindow * | pNew | ) |
Definition at line 2207 of file inputhdl.cxx.
References pInputWin.
Referenced by ScInputWindow::dispose(), ScInputWindow::ScInputWindow(), and ScInputWindow::SetInputHandler().
void ScInputHandler::SetMode | ( | ScInputMode | eNewMode, |
const OUString * | pInitText = nullptr , |
||
ScEditEngineDefaulter * | pTopEngine = nullptr |
||
) |
Definition at line 2800 of file inputhdl.cxx.
References aCursorPos, bInOwnChange, bModified, bProtected, eMode, ScTabView::GetActiveWin(), ScViewData::GetDocShell(), ScTabView::GetViewData(), vcl::Window::GrabFocus(), i, ImplCreateEditEngine(), mpEditEngine, nCount, NONE, pActiveViewSh, ScDocShell::PostEditView(), pTableView, pTopView, SC_INPUT_NONE, SC_INPUT_TABLE, SC_INPUT_TOP, SC_INPUT_TYPE, EditView::SetEditEngineUpdateMode(), ScViewData::SetPasteMode(), StartTable(), StopInputWinEngine(), UpdateActiveView(), and UpdateFormulaMode().
Referenced by GetFuncEditView(), ScInputWindow::ScInputWindow(), ScTabViewShell::ScTabViewShell(), ScModule::SetInputMode(), ScTextWnd::StartEditEngine(), and ScTextWnd::StopEditEngine().
|
inline |
Definition at line 245 of file inputhdl.hxx.
References bModified.
Referenced by ScGridWindow::Command(), ScEditShell::ExecuteAttr(), ScViewFunc::ModifyCellSize(), ScDocFunc::NotifyInputHandler(), ScViewFunc::OnLOKInsertDeleteColumn(), and ScViewFunc::OnLOKInsertDeleteRow().
void ScInputHandler::SetReference | ( | const ScRange & | rRef, |
const ScDocument & | rDoc | ||
) |
Definition at line 3385 of file inputhdl.cxx.
References aCursorPos, ESelection::Adjust(), ScRange::aEnd, ScRange::aStart, bSelIsRef, formula::FormulaGrammar::CONV_OOO, formula::FormulaGrammar::CONV_XL_A1, formula::FormulaGrammar::CONV_XL_OOX, formula::FormulaGrammar::CONV_XL_R1C1, DataChanged(), DataChanging(), ScAddress::Details::eConv, ScRange::Format(), ScViewData::GetDocument(), ScDocument::GetDocumentShell(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), EditView::GetSelection(), SfxMedium::GetURLObject(), ScTabView::GetViewData(), SfxObjectShell::HasName(), HideTip(), EditView::InsertText(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, pRefViewSh, pTableView, pTopView, EditView::SetSelection(), ScAddress::Tab(), TAB_ABS_3D, INetURLObject::Unambiguous, UpdateActiveView(), and VALID.
Referenced by ScModule::SetReference().
Definition at line 818 of file inputhdl.cxx.
References aScaleX, aScaleY, mpEditEngine, and Point.
Referenced by ScTabViewShell::Activate(), and ScTabView::ZoomChanged().
|
inline |
Definition at line 217 of file inputhdl.hxx.
Referenced by ScFormulaDlg::fill().
|
inline |
Definition at line 248 of file inputhdl.hxx.
References bSelIsRef.
Referenced by ScEditShell::Execute().
|
private |
Definition at line 1050 of file inputhdl.cxx.
References aBuf, aHelper, eMode, formula::FormulaHelper::GetArgStart(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), formula::IFunctionDescription::getFunctionName(), formula::FormulaHelper::GetFunctionStart(), formula::FormulaCompiler::GetNativeSymbolChar(), formula::FormulaHelper::GetNextFunc(), formula::IFunctionDescription::getParameterCount(), formula::IFunctionDescription::getParameterDescription(), ScDocument::GetSheetSeparator(), ScGlobal::GetStarCalcFunctionMgr(), ScTabView::GetViewData(), i, comphelper::LibreOfficeKit::isActive(), lcl_MatchParenthesis(), nCount, nLength, ocSep, pActiveViewSh, PAIRED_VAR_ARGS, pFormulaDataPara, SC_INPUT_TOP, ShowTip(), ShowTipBelow(), u, and VAR_ARGS.
Referenced by ShowTipCursor(), and UseFormulaData().
void ScInputHandler::ShowFuncList | ( | const ::std::vector< OUString > & | rFuncStrVec | ) |
Definition at line 1342 of file inputhdl.cxx.
References aHelper, SfxViewShell::Current(), formula::IFunctionDescription::getDescription(), formula::IFunctionDescription::getFunctionName(), formula::FormulaHelper::GetNextFunc(), formula::IFunctionDescription::getSignature(), ScGlobal::GetStarCalcFunctionMgr(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::isLOKMobilePhone(), SfxViewShell::libreOfficeKitViewCallback(), miAutoPosFormula, pFormulaData, ScResId(), and ShowTip().
Referenced by NextFormulaEntry(), and UseFormulaData().
void ScInputHandler::ShowRefFrame | ( | ) |
Definition at line 2717 of file inputhdl.cxx.
References SfxViewShell::Current(), SfxViewFrame::GetFirst(), SfxViewFrame::GetNext(), SfxViewShell::GetViewFrame(), pRefViewSh, and ScTabViewShell::SetActive().
Referenced by CancelHandler(), EnterHandler(), ScFormulaDlg::switchBack(), and UpdateFormulaMode().
void ScInputHandler::ShowTip | ( | const OUString & | rText | ) |
Definition at line 1234 of file inputhdl.cxx.
References vcl::Window::AddEventListener(), EditView::GetCursor(), ScInputWindow::GetCursorScreenPixelPos(), ScInputWindow::GetEditView(), ScInputWindow::GetEditWindow(), EditView::GetWindow(), HideTip(), HideTipBelow(), LINK, OutputDevice::LogicToPixel(), nTipVisible, vcl::Window::OutputToScreenPixel(), pInputWin, Point, pTableView, pTipVisibleParent, pTopView, and Help::ShowPopover().
Referenced by FormulaPreview(), ShowArgumentsTip(), and ShowFuncList().
void ScInputHandler::ShowTipBelow | ( | const OUString & | rText | ) |
Definition at line 1265 of file inputhdl.cxx.
References vcl::Window::AddEventListener(), EditView::GetCursor(), ScInputWindow::GetCursorScreenPixelPos(), ScInputWindow::GetEditView(), ScInputWindow::GetEditWindow(), EditView::GetWindow(), HideTipBelow(), LINK, OutputDevice::LogicToPixel(), nTipVisibleSec, vcl::Window::OutputToScreenPixel(), pInputWin, Point, pTableView, pTipVisibleSecParent, pTopView, and Help::ShowPopover().
Referenced by ShowArgumentsTip().
void ScInputHandler::ShowTipCursor | ( | ) |
Definition at line 1210 of file inputhdl.cxx.
References ESelection::Adjust(), bFormulaMode, EditView::GetSelection(), HideTip(), HideTipBelow(), mpEditEngine, ESelection::nEndPos, pFormulaDataPara, pTableView, pTopView, and ShowArgumentsTip().
Referenced by InputSelection(), KeyInput(), and PasteFunctionData().
|
private |
Definition at line 1882 of file inputhdl.cxx.
References EditView::GetSelection(), nAutoPar, ESelection::nEndPos, ESelection::nStartPos, pTableView, pTopView, and EditView::SetSelection().
Referenced by KeyInput().
|
private |
cTyped | typed character. If 0, look at existing document content for text or number. |
bInputActivated | true if the cell input mode is activated (via F2), false otherwise. |
pTopEngine | top window input line EditEngine. If not nullptr then some default attributes are merged to it from the table EditEngine. |
The SetDefaults is now (since MUST/src602 EditEngine changes) implemented as a SetParaAttribs. Any problems?
Definition at line 2317 of file inputhdl.cxx.
References aCurrentText, aCursorPos, ATTR_BACKGROUND(), ATTR_HOR_JUSTIFY(), ATTR_LINEBREAK(), ATTR_VALIDDATA(), ATTR_VALUE_FORMAT(), bAutoComplete, bCommandErrorShown, bCreatingFuncView, bLastIsSymbol, bModified, bProtected, bTextValid, ScAddress::Col(), svtools::DOCCOLOR, eAttrAdjust, eMode, ScTabView::ErrorMessage(), ScPatternAttr::FillEditItemSet(), ScTabView::GetActiveWin(), GetColData(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), GetEditText(), SvNumberFormatter::GetFormatDecimalSep(), ScDocument::GetFormatTable(), StyleSettings::GetHighContrastMode(), ScPatternAttr::GetItem(), SfxSetItem::GetItemSet(), SfxItemSet::GetItemState(), ScViewData::GetMarkData(), ScEditableTester::GetMessageId(), ScDocument::GetPattern(), Application::GetSettings(), AllSettings::GetStyleSettings(), SvNumberFormatter::GetType(), GetValue, ScTabView::GetViewData(), vcl::Window::GrabFocus(), ImplCreateEditEngine(), InitRangeFinder(), ScEditableTester::IsEditable(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), SfxObjectShell::IsReadOnly(), ScPatternAttr::IsSymbolFont(), Color::IsTransparent(), MergeLanguageAttributes(), mpEditEngine, nCellPercentFormatDecSep, svtools::ColorConfigValue::nColor, nValidation, pActiveViewSh, pEditDefaults, pInputWin, pLastPattern, ScAddress::Row(), SC_INPUT_NONE, SC_MOD, ScInputWindow::SetOkCancelMode(), ScInputWindow::SetTextString(), StopInputWinEngine(), SyncViews(), ScAddress::Tab(), ScEditableTester::TestSelectedBlock(), ScEditableTester::TestSelection(), UpdateActiveView(), UpdateAdjust(), UpdateFormulaMode(), UpdateSpellSettings(), and ScDocument::ValidCol().
Referenced by DataChanging(), and SetMode().
void ScInputHandler::StopInputWinEngine | ( | bool | bAll | ) |
Definition at line 2212 of file inputhdl.cxx.
References vcl::Window::IsDisposed(), pInputWin, pTopView, and ScInputWindow::StopEditEngine().
Referenced by CancelHandler(), ScInputWindow::dispose(), EnterHandler(), InputTurnOffWinEngine(), SetMode(), and StartTable().
Definition at line 2531 of file inputhdl.cxx.
References EditView::GetSelection(), lcl_SetTopSelection(), pTableView, pTopView, and EditView::SetSelection().
Referenced by InputChanged(), InputCommand(), InputSelection(), KeyInput(), and StartTable().
|
inline |
Definition at line 243 of file inputhdl.hxx.
Referenced by ScTabViewShell::TabKeyInput().
|
private |
Definition at line 2158 of file inputhdl.cxx.
References eMode, ScViewData::GetEditActivePart(), ScInputWindow::GetEditView(), ScTabView::GetViewData(), EditView::GetWindow(), ScTabView::GetWindowByPos(), i, ImplCreateEditEngine(), comphelper::LibreOfficeKit::isActive(), mpEditEngine, nCount, pActiveViewSh, pInputWin, pTableView, pTopView, EditView::RegisterViewShell(), SC_INPUT_TABLE, and SC_INPUT_TOP.
Referenced by AddRefEntry(), ClearText(), DeleteSurroundingText(), GetActiveView(), GetFuncEditView(), GetSurroundingText(), GetSurroundingTextSelection(), InputChanged(), InputCommand(), InsertFunction(), KeyInput(), SetMode(), SetReference(), and StartTable().
|
private |
Definition at line 2235 of file inputhdl.cxx.
References aCursorPos, ATTR_STACKED(), ATTR_VERTICAL_ASIAN(), CELLTYPE_VALUE, eAttrAdjust, EE_PARA_JUST(), ScDocument::GetCellType(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScPatternAttr::GetItem(), ScTabView::GetViewData(), mpEditEngine, pActiveViewSh, pEditDefaults, pLastPattern, and ScViewData::SetEditAdjust().
Referenced by StartTable(), and UpdateCellAdjust().
|
private |
Definition at line 884 of file inputhdl.cxx.
References bFormulaMode, bLastIsSymbol, and mpEditEngine.
Referenced by CancelHandler(), EnterHandler(), UpdateFormulaMode(), and ViewShellGone().
void ScInputHandler::UpdateCellAdjust | ( | SvxCellHorJustify | eJust | ) |
Definition at line 4187 of file inputhdl.cxx.
References eAttrAdjust, and UpdateAdjust().
|
private |
Definition at line 2671 of file inputhdl.cxx.
References bAutoComplete, bFormulaMode, bProtected, GetFormulaData(), mpEditEngine, pActiveViewSh, pInputWin, pRefViewSh, SC_MOD, ScInputWindow::SetFormulaMode(), SfxGetpApp(), ShowRefFrame(), UpdateAutoCorrFlag(), and UpdateParenthesis().
Referenced by DataChanged(), SetMode(), and StartTable().
void ScInputHandler::UpdateLokReferenceMarks | ( | ) |
Definition at line 474 of file inputhdl.cxx.
References ScRange::aEnd, ScRangeFindData::aRef, ScRange::aStart, svtools::CALCREFERENCE, ScAddress::Col(), ScRangeFindList::Count(), SfxViewShell::Current(), svtools::ColorConfig::GetColorValue(), ScRangeFindList::GetDocName(), ScViewData::GetDocShell(), ScRangeFindList::GetObject(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), GetReferenceMark(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScTabView::GetViewData(), i, comphelper::LibreOfficeKit::isActive(), ScRangeFindList::IsHidden(), ScViewData::IsRefMode(), svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, ScRange::PutInOrder(), PutInOrder(), rData, ScAddress::Row(), SC_MOD, SendReferenceMarks(), and ScAddress::Tab().
Referenced by ScTabView::InitRefMode(), ScTabView::OnLibreOfficeKitTabChanged(), ScGridWindow::RFMouseMove(), and ScTabView::UpdateRef().
|
private |
Distinguish if cell is already highlighted!!!!
Definition at line 2062 of file inputhdl.cxx.
References bFormulaMode, bParenthesisShown, EE_CHAR_WEIGHT(), eMode, EMPTY_OUSTRING, EditView::GetSelection(), EditView::HasSelection(), i, EditView::InsertText(), lcl_MatchParenthesis(), mpEditEngine, nCount, nPos, ESelection::nStartPos, pTableView, EditView::RemoveCharAttribs(), SC_INPUT_TOP, and WEIGHT_BOLD.
Referenced by DataChanged(), InputSelection(), and UpdateFormulaMode().
Definition at line 580 of file inputhdl.cxx.
References ScRangeFindData::aRef, Count, DataChanged, EE_CHAR_COLOR(), ScRange::Format(), ScViewData::GetDocument(), ScTabView::GetViewData(), i, lcl_Replace(), ScRangeFindData::nColor, nCount, ScRangeFindData::nFlags, ScRangeFindData::nSelEnd, ScRangeFindData::nSelStart, ScRange::PutInOrder(), rData, and EditView::ShowCursor().
Referenced by ScGridWindow::RFMouseMove().
void ScInputHandler::UpdateRefDevice | ( | ) |
Definition at line 832 of file inputhdl.cxx.
References aScaleX, aScaleY, ScViewData::GetDocument(), SfxViewFrame::GetFrame(), ScDocument::GetPrinter(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), SfxFrame::IsInPlace(), mpEditEngine, pActiveViewSh, Point, and SC_MOD.
Referenced by ScModule::ConfigurationChanged(), ImplCreateEditEngine(), ScModule::ModifyOptions(), ScDocShell::SetPrinter(), and ViewShellGone().
void ScInputHandler::UpdateSpellSettings | ( | bool | bFromStartTab = false | ) |
Definition at line 900 of file inputhdl.cxx.
References ScDocument::ApplyAsianEditSettings(), ATTR_HYPHENATE(), eMode, ScDocument::GetDocOptions(), ScViewData::GetDocument(), ScGlobal::GetEditDefaultLanguage(), ScDocument::GetEditTextDirection(), LinguMgr::GetHyphenator(), ScPatternAttr::GetItem(), LinguMgr::GetSpellChecker(), ScViewData::GetTabNo(), ScTabView::GetViewData(), ScDocOptions::IsAutoSpell(), ScPatternAttr::IsSymbolFont(), mpEditEngine, pActiveViewSh, pLastPattern, and SC_INPUT_NONE.
Referenced by ScModule::Execute(), ScDocShell::Execute(), ScModule::ModifyOptions(), and StartTable().
|
private |
Then GetExactMatch doesn't work either
Exact replacement in EnterHandler !!!
Definition at line 1930 of file inputhdl.cxx.
References aAutoSearch, ESelection::Adjust(), bUseTab, GetEditText(), EditView::GetSelection(), EditView::InsertText(), lcl_RemoveLineEnd(), miAutoPosColumn, mpEditEngine, ESelection::nEndPara, ESelection::nEndPos, pColumnData, pTableView, pTopView, and EditView::SetSelection().
Referenced by InputCommand(), and KeyInput().
|
private |
Definition at line 1460 of file inputhdl.cxx.
References aAutoSearch, ESelection::Adjust(), ScGlobal::getCharClassPtr(), GetFuncName(), EditView::GetSelection(), CharClass::isLetterNumeric(), miAutoPosFormula, mpEditEngine, n, ESelection::nEndPos, pFormulaData, pTableView, pTopView, ShowArgumentsTip(), and ShowFuncList().
Referenced by InputCommand(), and KeyInput().
void ScInputHandler::ViewShellGone | ( | const ScTabViewShell * | pViewSh | ) |
The input from the EnterHandler does not arrive anymore
Definition at line 2124 of file inputhdl.cxx.
References bFormulaMode, SfxViewShell::Current(), EnterHandler(), pActiveViewSh, pInputWin, pLastPattern, pLastState, pRefViewSh, SC_MOD, ScInputWindow::SetFormulaMode(), SfxGetpApp(), UpdateAutoCorrFlag(), and UpdateRefDevice().
Referenced by ScFormulaDlg::switchBack(), and ScModule::ViewShellGone().
|
private |
Definition at line 78 of file inputhdl.hxx.
Referenced by EnterHandler(), NextAutoEntry(), NextFormulaEntry(), UseColData(), and UseFormulaData().
|
private |
Definition at line 80 of file inputhdl.hxx.
Referenced by GetEditString(), InputChanged(), NotifyChange(), and StartTable().
|
private |
Definition at line 90 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), FormulaPreview(), GetColData(), GetCursorPos(), InputChanged(), InputCommand(), KeyInput(), NotifyChange(), SetMode(), SetReference(), StartTable(), and UpdateAdjust().
|
private |
Definition at line 82 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), GetFormString(), and InputReplaceSelection().
|
private |
Definition at line 77 of file inputhdl.hxx.
Referenced by FormulaPreview(), HideTip(), HideTipBelow(), KeyInput(), and PasteManualTip().
|
private |
Definition at line 110 of file inputhdl.hxx.
Referenced by SetRefScale(), and UpdateRefDevice().
|
private |
Definition at line 111 of file inputhdl.hxx.
Referenced by SetRefScale(), and UpdateRefDevice().
|
staticprivate |
Definition at line 127 of file inputhdl.hxx.
Referenced by EnterHandler(), InputCommand(), KeyInput(), ScInputHandler(), StartTable(), and UpdateFormulaMode().
|
private |
Definition at line 101 of file inputhdl.hxx.
Referenced by NotifyChange(), and StartTable().
|
private |
Definition at line 99 of file inputhdl.hxx.
Referenced by GetFuncEditView(), and StartTable().
|
private |
Definition at line 96 of file inputhdl.hxx.
Referenced by CancelHandler(), CursorAtClosingPar(), EnterHandler(), InputCommand(), IsFormulaMode(), IsModalMode(), KeyInput(), NotifyChange(), ShowTipCursor(), UpdateAutoCorrFlag(), UpdateFormulaMode(), UpdateParenthesis(), and ViewShellGone().
|
private |
Definition at line 100 of file inputhdl.hxx.
Referenced by EnterHandler(), IsInEnterHandler(), and NotifyChange().
|
private |
Definition at line 102 of file inputhdl.hxx.
Referenced by CancelHandler(), DataChanged(), DataChanging(), EnterHandler(), InputTurnOffWinEngine(), IsInOwnChange(), NextAutoEntry(), NotifyChange(), and SetMode().
|
private |
Definition at line 97 of file inputhdl.hxx.
Referenced by DataChanged().
|
private |
Definition at line 105 of file inputhdl.hxx.
Referenced by StartTable(), and UpdateAutoCorrFlag().
|
private |
Definition at line 94 of file inputhdl.hxx.
Referenced by CancelHandler(), DataChanged(), EnterHandler(), InputReplaceSelection(), InputSetSelection(), NotifyChange(), SetMode(), SetModified(), and StartTable().
|
staticprivate |
Definition at line 128 of file inputhdl.hxx.
Referenced by InputCommand(), KeyInput(), and ScInputHandler().
|
private |
Definition at line 98 of file inputhdl.hxx.
Referenced by UpdateParenthesis().
|
private |
Definition at line 104 of file inputhdl.hxx.
Referenced by EnterHandler(), InputCommand(), KeyInput(), NotifyChange(), SetMode(), StartTable(), and UpdateFormulaMode().
|
private |
Definition at line 95 of file inputhdl.hxx.
Referenced by DataChanged(), EnterHandler(), GetSelIsRef(), InputCommand(), KeyInput(), NotifyChange(), SetReference(), and SetSelIsRef().
|
private |
Definition at line 93 of file inputhdl.hxx.
Referenced by DataChanged(), GetEditString(), InputChanged(), NotifyChange(), and StartTable().
|
private |
Definition at line 92 of file inputhdl.hxx.
Referenced by KeyInput(), and UseColData().
|
private |
Definition at line 108 of file inputhdl.hxx.
Referenced by StartTable(), UpdateAdjust(), and UpdateCellAdjust().
|
private |
Definition at line 91 of file inputhdl.hxx.
Referenced by CancelHandler(), ClearText(), DataChanged(), DataChanging(), DeleteSurroundingText(), EnterHandler(), GetFuncEditView(), GetSurroundingText(), GetSurroundingTextSelection(), InputCommand(), InputTurnOffWinEngine(), InsertFunction(), KeyInput(), SetMode(), ShowArgumentsTip(), StartTable(), UpdateActiveView(), UpdateParenthesis(), and UpdateSpellSettings().
|
private |
Definition at line 129 of file inputhdl.hxx.
Referenced by GetFormulaData(), and GetFuncName().
|
private |
Definition at line 106 of file inputhdl.hxx.
Referenced by EnterHandler(), and ~ScInputHandler().
|
private |
Definition at line 70 of file inputhdl.hxx.
Referenced by EnterHandler(), FormulaPreview(), GetColData(), InputCommand(), KeyInput(), NextAutoEntry(), and UseColData().
|
private |
Definition at line 71 of file inputhdl.hxx.
Referenced by FormulaPreview(), GetFormulaData(), InputCommand(), KeyInput(), LOKPasteFunctionData(), NextFormulaEntry(), PasteFunctionData(), ShowFuncList(), and UseFormulaData().
|
private |
Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
Definition at line 63 of file inputhdl.hxx.
Referenced by AddRefEntry(), CancelHandler(), CursorAtClosingPar(), DataChanged(), EnterHandler(), FormulaPreview(), GetEditString(), GetTextAndFields(), GetTextSize(), ImplCreateEditEngine(), InputChanged(), InputCommand(), KeyInput(), MergeLanguageAttributes(), NextAutoEntry(), NotifyChange(), PasteManualTip(), RemoveAdjust(), RemoveRangeFinder(), SetMode(), SetRefScale(), ShowTipCursor(), StartTable(), UpdateActiveView(), UpdateAdjust(), UpdateAutoCorrFlag(), UpdateFormulaMode(), UpdateParenthesis(), UpdateRefDevice(), UpdateSpellSettings(), UseColData(), and UseFormulaData().
|
private |
Definition at line 88 of file inputhdl.hxx.
Referenced by AutoParAdded(), KeyInput(), ResetAutoPar(), and SkipClosingPar().
|
private |
Definition at line 86 of file inputhdl.hxx.
Referenced by KeyInput(), and StartTable().
|
private |
Definition at line 84 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), InputGetSelection(), InputReplaceSelection(), and InputSetSelection().
|
private |
Definition at line 83 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), InputGetSelection(), InputReplaceSelection(), and InputSetSelection().
|
private |
Definition at line 74 of file inputhdl.hxx.
Referenced by HideTip(), KeyInput(), and ShowTip().
|
private |
Definition at line 76 of file inputhdl.hxx.
Referenced by HideTipBelow(), KeyInput(), and ShowTipBelow().
|
private |
Definition at line 107 of file inputhdl.hxx.
Referenced by EnterHandler(), and StartTable().
|
private |
Definition at line 114 of file inputhdl.hxx.
Referenced by CancelHandler(), DataChanged(), DataChanging(), EnterHandler(), ForgetLastPattern(), FormulaPreview(), GetColData(), GetFormulaData(), ImplCreateEditEngine(), InputChanged(), InputCommand(), InputReplaceSelection(), KeyInput(), LOKPasteFunctionData(), NotifyChange(), ScInputHandler(), SetMode(), ShowArgumentsTip(), StartTable(), UpdateActiveView(), UpdateAdjust(), UpdateFormulaMode(), UpdateRefDevice(), UpdateSpellSettings(), and ViewShellGone().
|
private |
Definition at line 67 of file inputhdl.hxx.
Referenced by EnterHandler(), FormulaPreview(), GetColData(), InputCommand(), KeyInput(), NextAutoEntry(), and UseColData().
|
private |
Definition at line 122 of file inputhdl.hxx.
Referenced by NotifyChange(), ResetDelayTimer(), and ScInputHandler().
|
private |
Definition at line 118 of file inputhdl.hxx.
Referenced by EnterHandler(), ImplCreateEditEngine(), StartTable(), and UpdateAdjust().
|
private |
Definition at line 68 of file inputhdl.hxx.
Referenced by FormulaPreview(), GetFormulaData(), InputCommand(), KeyInput(), LOKPasteFunctionData(), NextFormulaEntry(), PasteFunctionData(), ShowFuncList(), and UseFormulaData().
|
private |
Definition at line 69 of file inputhdl.hxx.
Referenced by GetFormulaData(), ShowArgumentsTip(), and ShowTipCursor().
|
private |
Definition at line 61 of file inputhdl.hxx.
Referenced by CancelHandler(), DataChanged(), EnterHandler(), GetFuncEditView(), GetInputWindow(), KeyInput(), NotifyChange(), ResetDelayTimer(), SetInputWindow(), ShowTip(), ShowTipBelow(), StartTable(), StopInputWinEngine(), UpdateActiveView(), UpdateFormulaMode(), ViewShellGone(), and ~ScInputHandler().
|
private |
Definition at line 116 of file inputhdl.hxx.
Referenced by EnterHandler(), ForgetLastPattern(), StartTable(), UpdateAdjust(), UpdateSpellSettings(), and ViewShellGone().
|
private |
Definition at line 121 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), ForgetLastPattern(), NotifyChange(), and ViewShellGone().
|
private |
Definition at line 125 of file inputhdl.hxx.
Referenced by DataChanged(), and GetRangeFindList().
|
private |
Definition at line 113 of file inputhdl.hxx.
Referenced by CancelHandler(), EnterHandler(), InputReplaceSelection(), IsModalMode(), SetReference(), ShowRefFrame(), UpdateFormulaMode(), and ViewShellGone().
|
private |
Definition at line 64 of file inputhdl.hxx.
Referenced by AddRefEntry(), ClearText(), CursorAtClosingPar(), DataChanged(), DeleteSurroundingText(), EnterHandler(), FormulaPreview(), GetActiveView(), GetFuncEditView(), GetSurroundingText(), GetSurroundingTextSelection(), GetTableView(), InputCommand(), InsertFunction(), KeyInput(), LOKPasteFunctionData(), NextAutoEntry(), NextFormulaEntry(), PasteFunctionData(), PasteManualTip(), RemoveRangeFinder(), RemoveSelection(), SetMode(), SetReference(), ShowTip(), ShowTipBelow(), ShowTipCursor(), SkipClosingPar(), SyncViews(), UpdateActiveView(), UpdateParenthesis(), UseColData(), and UseFormulaData().
|
private |
Definition at line 73 of file inputhdl.hxx.
|
private |
Definition at line 75 of file inputhdl.hxx.
Referenced by HideTipBelow(), and ShowTipBelow().
|
private |
Definition at line 65 of file inputhdl.hxx.
Referenced by AddRefEntry(), ClearText(), CursorAtClosingPar(), DataChanged(), DeleteSurroundingText(), EnterHandler(), FormulaPreview(), GetActiveView(), GetSurroundingText(), GetSurroundingTextSelection(), GetTopView(), InputChanged(), InputCommand(), InsertFunction(), KeyInput(), LOKPasteFunctionData(), NextAutoEntry(), NextFormulaEntry(), PasteFunctionData(), PasteManualTip(), RemoveRangeFinder(), RemoveSelection(), SetMode(), SetReference(), ShowTip(), ShowTipBelow(), ShowTipCursor(), SkipClosingPar(), StopInputWinEngine(), SyncViews(), UpdateActiveView(), UseColData(), and UseFormulaData().