22#include <com/sun/star/ui/XAcceleratorConfiguration.hpp>
23#include <com/sun/star/uno/XComponentContext.hpp>
24#include <com/sun/star/container/XNameAccess.hpp>
25#include <com/sun/star/frame/XFrame.hpp>
31#include <config_features.h>
34#if HAVE_FEATURE_SCRIPTING
35class SfxMacroInfoItem;
70class FileDialogHelper;
82#if HAVE_FEATURE_SCRIPTING
83 const SfxMacroInfoItem* m_pMacroInfoItem;
94 css::uno::Reference<css::uno::XComponentContext>
m_xContext;
95 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xGlobal;
96 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xModule;
97 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xAct;
99 css::uno::Reference<css::frame::XFrame>
m_xFrame;
146 void Init(
const css::uno::Reference<css::ui::XAcceleratorConfiguration>& pAccMgr);
157 void Apply(
const css::uno::Reference<css::ui::XAcceleratorConfiguration>& pAccMgr);
DECL_LINK(SearchUpdateHdl, weld::Entry &, void)
css::uno::Reference< css::frame::XFrame > m_xFrame
std::unique_ptr< weld::RadioButton > m_xOfficeButton
css::uno::Reference< css::container::XNameAccess > m_xUICmdDescription
bool m_bStylesInfoInitialized
virtual bool FillItemSet(SfxItemSet *) override
std::unique_ptr< weld::Button > m_xResetButton
std::unique_ptr< weld::Button > m_xLoadButton
std::unique_ptr< sfx2::FileDialogHelper > m_pFileDlg
std::unique_ptr< weld::Button > m_xSaveButton
std::unique_ptr< weld::Entry > m_xSearchEdit
sal_Int32 MapKeyCodeToPos(const vcl::KeyCode &rCode) const
int applySearchFilter(OUString const &rSearchTerm)
DECL_LINK(ImplUpdateDataHdl, Timer *, void)
void StartFileDialog(StartFileDialogType nType, const OUString &rTitle)
DECL_LINK(SaveHdl, sfx2::FileDialogHelper *, void)
DECL_LINK(RadioHdl, weld::Toggleable &, void)
void Init(const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
DECL_LINK(RemoveHdl, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xEntriesBox
void Apply(const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
std::unique_ptr< weld::TreeView > m_xKeyBox
css::uno::Reference< css::uno::XComponentContext > m_xContext
i18nutil::SearchOptions2 m_options
DECL_LINK(Load, weld::Button &, void)
DECL_LINK(SelectHdl, weld::TreeView &, void)
OUString aLoadAccelConfigStr
virtual ~SfxAcceleratorConfigPage() override
DECL_LINK(ChangeHdl, weld::Button &, void)
DECL_LINK(Save, weld::Button &, void)
std::unique_ptr< weld::RadioButton > m_xModuleButton
DECL_LINK(FocusOut_Impl, weld::Widget &, void)
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
SfxStylesInfo_Impl m_aStylesInfo
OUString aSaveAccelConfigStr
SfxAcceleratorConfigPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet)
DECL_LINK(Default, weld::Button &, void)
std::unique_ptr< CuiConfigFunctionListBox > m_xFunctionBox
DECL_LINK(TimeOut_Impl, Timer *, void)
std::unique_ptr< weld::Button > m_xChangeButton
virtual void Reset(const SfxItemSet *) override
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xAct
DECL_LINK(LoadHdl, sfx2::FileDialogHelper *, void)
OUString GetLabel4Command(const OUString &rCommand)
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xGlobal
OUString m_sModuleLongName
std::unique_ptr< CuiConfigGroupListBox > m_xGroupLBox
std::unique_ptr< weld::Button > m_xRemoveButton
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xModule
TAccInfo(sal_Int32 nKeyPos, sal_Int32 nListPos, const vcl::KeyCode &aKey)
< it's important to set true as default - because only fix entries will be disabled later....
bool isConfigured() const