|
LibreOffice Module cui (master) 1
|
#include <acccfg.hxx>
Public Member Functions | |
| SfxAcceleratorConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet) | |
| virtual | ~SfxAcceleratorConfigPage () override |
| virtual bool | FillItemSet (SfxItemSet *) override |
| virtual void | Reset (const SfxItemSet *) override |
| void | Apply (const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr) |
Public Member Functions inherited from SfxTabPage | |
| void | SetDialogController (SfxOkDialogController *pDialog) |
| virtual | ~SfxTabPage () override |
| void | set_visible (bool bVisible) |
| const SfxItemSet & | GetItemSet () const |
| virtual bool | FillItemSet (SfxItemSet *) |
| virtual void | Reset (const SfxItemSet *) |
| virtual bool | DeferResetToFirstActivation () |
| bool | HasExchangeSupport () const |
| void | SetExchangeSupport () |
| virtual void | ActivatePage (const SfxItemSet &) |
| virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
| void | SetUserData (const OUString &rString) |
| const OUString & | GetUserData () const |
| virtual void | FillUserData () |
| virtual bool | IsReadOnly () const |
| virtual void | PageCreated (const SfxAllItemSet &aSet) |
| virtual void | ChangesApplied () |
| void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
| css::uno::Reference< css::frame::XFrame > | GetFrame () const |
| const SfxItemSet * | GetDialogExampleSet () const |
| OUString | GetHelpId () const |
| OUString | GetConfigId () const |
| bool | IsVisible () const |
| weld::Window * | GetFrameWeld () const |
| std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Private Member Functions | |
| DECL_LINK (ChangeHdl, weld::Button &, void) | |
| DECL_LINK (RemoveHdl, weld::Button &, void) | |
| DECL_LINK (SelectHdl, weld::TreeView &, void) | |
| DECL_LINK (SearchUpdateHdl, weld::Entry &, void) | |
| DECL_LINK (Save, weld::Button &, void) | |
| DECL_LINK (Load, weld::Button &, void) | |
| DECL_LINK (Default, weld::Button &, void) | |
| DECL_LINK (RadioHdl, weld::Toggleable &, void) | |
| DECL_LINK (ImplUpdateDataHdl, Timer *, void) | |
| DECL_LINK (FocusOut_Impl, weld::Widget &, void) | |
| DECL_LINK (TimeOut_Impl, Timer *, void) | |
| DECL_LINK (KeyInputHdl, const KeyEvent &, bool) | |
| DECL_LINK (LoadHdl, sfx2::FileDialogHelper *, void) | |
| DECL_LINK (SaveHdl, sfx2::FileDialogHelper *, void) | |
| OUString | GetLabel4Command (const OUString &rCommand) |
| int | applySearchFilter (OUString const &rSearchTerm) |
| void | InitAccCfg () |
| sal_Int32 | MapKeyCodeToPos (const vcl::KeyCode &rCode) const |
| void | StartFileDialog (StartFileDialogType nType, const OUString &rTitle) |
| void | Init (const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr) |
| void | ResetConfig () |
Private Attributes | |
| std::unique_ptr< sfx2::FileDialogHelper > | m_pFileDlg |
| OUString | aLoadAccelConfigStr |
| OUString | aSaveAccelConfigStr |
| OUString | aFilterAllStr |
| OUString | aFilterCfgStr |
| SfxStylesInfo_Impl | m_aStylesInfo |
| bool | m_bStylesInfoInitialized |
| css::uno::Reference< css::uno::XComponentContext > | m_xContext |
| css::uno::Reference< css::ui::XAcceleratorConfiguration > | m_xGlobal |
| css::uno::Reference< css::ui::XAcceleratorConfiguration > | m_xModule |
| css::uno::Reference< css::ui::XAcceleratorConfiguration > | m_xAct |
| css::uno::Reference< css::container::XNameAccess > | m_xUICmdDescription |
| css::uno::Reference< css::frame::XFrame > | m_xFrame |
| OUString | m_sModuleLongName |
| OUString | m_sModuleUIName |
| Timer | m_aUpdateDataTimer |
| i18nutil::SearchOptions2 | m_options |
| Idle | m_aFillGroupIdle |
| std::unique_ptr< weld::TreeView > | m_xEntriesBox |
| std::unique_ptr< weld::RadioButton > | m_xOfficeButton |
| std::unique_ptr< weld::RadioButton > | m_xModuleButton |
| std::unique_ptr< weld::Button > | m_xChangeButton |
| std::unique_ptr< weld::Button > | m_xRemoveButton |
| std::unique_ptr< CuiConfigGroupListBox > | m_xGroupLBox |
| std::unique_ptr< CuiConfigFunctionListBox > | m_xFunctionBox |
| std::unique_ptr< weld::TreeView > | m_xKeyBox |
| std::unique_ptr< weld::Entry > | m_xSearchEdit |
| std::unique_ptr< weld::Button > | m_xLoadButton |
| std::unique_ptr< weld::Button > | m_xSaveButton |
| std::unique_ptr< weld::Button > | m_xResetButton |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxTabPage | |
| static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Protected Member Functions inherited from SfxTabPage | |
| SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
| sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
| TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
| const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
| const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
| SfxOkDialogController * | GetDialogController () const |
Definition at line 79 of file acccfg.hxx.
| SfxAcceleratorConfigPage::SfxAcceleratorConfigPage | ( | weld::Container * | pPage, |
| weld::DialogController * | pController, | ||
| const SfxItemSet & | rItemSet | ||
| ) |
Definition at line 844 of file acccfg.cxx.
References i18nutil::SearchOptions2::AlgorithmType2, Default, EDIT_UPDATEDATA_TIMEOUT, GetName(), Size::Height(), i, if(), KEYCODE_ARRAY, LINK, Load, m_aFillGroupIdle, m_aUpdateDataTimer, m_options, m_xChangeButton, m_xEntriesBox, m_xFunctionBox, m_xGroupLBox, m_xKeyBox, m_xLoadButton, m_xOfficeButton, m_xRemoveButton, m_xResetButton, m_xSaveButton, m_xSearchEdit, i18nutil::SearchOptions2::searchFlag, Timer::SetInvokeHandler(), Task::SetPriority(), Timer::SetTimeout(), SfxResId(), i18nutil::SearchOptions2::transliterateFlags, and Size::Width().
|
overridevirtual |
Definition at line 932 of file acccfg.cxx.
References i, m_aFillGroupIdle, m_xEntriesBox, nCount, and Task::Stop().
| void SfxAcceleratorConfigPage::Apply | ( | const css::uno::Reference< css::ui::XAcceleratorConfiguration > & | pAccMgr | ) |
Definition at line 1073 of file acccfg.cxx.
References i, TAccInfo::m_aKey, TAccInfo::m_sCommand, m_xEntriesBox, nCount, and svt::AcceleratorExecute::st_VCLKey2AWTKey().
Referenced by FillItemSet().
|
private |
Definition at line 1603 of file acccfg.cxx.
References aStr, i, m_options, m_xFunctionBox, utl::TextSearch::SearchForward(), and i18nutil::SearchOptions2::searchString.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1487 of file acccfg.cxx.
|
private |
Definition at line 1565 of file acccfg.cxx.
References SfxStylesInfo_Impl::getLabel4Style(), comphelper::SequenceAsHashMap::getUnpackedValueOrDefault(), m_aStylesInfo, m_sModuleLongName, m_xUICmdDescription, SfxStylesInfo_Impl::parseStyleCommand(), SfxStyleInfo_Impl::sCommand, and SfxStyleInfo_Impl::sLabel.
Referenced by Init().
|
private |
Definition at line 995 of file acccfg.cxx.
References GetLabel4Command(), vcl::KeyCode::GetName(), Application::GetReservedKeyCode(), Application::GetReservedKeyCodeCount(), SfxStylesInfo_Impl::init(), KEYCODE_ARRAY, KEYCODE_ARRAY_SIZE, m_aStylesInfo, TAccInfo::m_bIsConfigurable, m_bStylesInfoInitialized, TAccInfo::m_sCommand, m_sModuleLongName, m_xEntriesBox, m_xFrame, m_xGroupLBox, MapKeyCodeToPos(), nPos, svt::AcceleratorExecute::st_AWTKey2VCLKey(), weld::toId(), xController, and xModel.
|
private |
Definition at line 944 of file acccfg.cxx.
References SfxTabPage::GetFrame(), comphelper::getProcessComponentContext(), comphelper::SequenceAsHashMap::getUnpackedValueOrDefault(), m_sModuleLongName, m_sModuleUIName, m_xContext, m_xFrame, m_xGlobal, m_xModule, and m_xUICmdDescription.
Referenced by Reset().
|
private |
Definition at line 1548 of file acccfg.cxx.
References vcl::KeyCode::GetCode(), vcl::KeyCode::GetModifier(), i, TAccInfo::m_aKey, m_xEntriesBox, and nCount.
Referenced by Init().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1513 of file acccfg.cxx.
References SfxItemSet::GetItemIfSet(), InitAccCfg(), m_sModuleUIName, m_xGroupLBox, m_xModule, m_xModuleButton, m_xOfficeButton, and rSet.
|
private |
Definition at line 1110 of file acccfg.cxx.
References m_xEntriesBox.
|
private |
Definition at line 1467 of file acccfg.cxx.
References sfx2::FileDialogHelper::AcceleratorConfig, aFilterAllStr, aFilterCfgStr, FILEDIALOG_FILTER_ALL, SfxTabPage::GetFrameWeld(), LINK, m_pFileDlg, and nType.
|
private |
Definition at line 89 of file acccfg.hxx.
Referenced by StartFileDialog().
|
private |
Definition at line 90 of file acccfg.hxx.
Referenced by StartFileDialog().
|
private |
Definition at line 87 of file acccfg.hxx.
|
private |
Definition at line 88 of file acccfg.hxx.
|
private |
Definition at line 108 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage(), and ~SfxAcceleratorConfigPage().
|
private |
Definition at line 91 of file acccfg.hxx.
Referenced by GetLabel4Command(), and Init().
|
private |
Definition at line 105 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 92 of file acccfg.hxx.
Referenced by Init().
|
private |
Definition at line 106 of file acccfg.hxx.
Referenced by applySearchFilter(), and SfxAcceleratorConfigPage().
|
private |
Definition at line 85 of file acccfg.hxx.
Referenced by StartFileDialog().
|
private |
Definition at line 101 of file acccfg.hxx.
Referenced by GetLabel4Command(), Init(), and InitAccCfg().
|
private |
Definition at line 102 of file acccfg.hxx.
Referenced by InitAccCfg(), and Reset().
|
private |
Definition at line 97 of file acccfg.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 113 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 94 of file acccfg.hxx.
Referenced by InitAccCfg().
|
private |
Definition at line 110 of file acccfg.hxx.
Referenced by Apply(), Init(), MapKeyCodeToPos(), ResetConfig(), SfxAcceleratorConfigPage(), and ~SfxAcceleratorConfigPage().
|
private |
Definition at line 99 of file acccfg.hxx.
Referenced by FillItemSet(), Init(), and InitAccCfg().
|
private |
Definition at line 116 of file acccfg.hxx.
Referenced by applySearchFilter(), and SfxAcceleratorConfigPage().
|
private |
Definition at line 95 of file acccfg.hxx.
Referenced by InitAccCfg().
|
private |
Definition at line 115 of file acccfg.hxx.
Referenced by Init(), Reset(), and SfxAcceleratorConfigPage().
|
private |
Definition at line 117 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 119 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 96 of file acccfg.hxx.
Referenced by InitAccCfg(), and Reset().
|
private |
Definition at line 112 of file acccfg.hxx.
Referenced by Reset().
|
private |
Definition at line 111 of file acccfg.hxx.
Referenced by Reset(), and SfxAcceleratorConfigPage().
|
private |
Definition at line 114 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 121 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 120 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 118 of file acccfg.hxx.
Referenced by SfxAcceleratorConfigPage().
|
private |
Definition at line 98 of file acccfg.hxx.
Referenced by GetLabel4Command(), and InitAccCfg().