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>
67 class FileDialogHelper;
89 css::uno::Reference<css::uno::XComponentContext>
m_xContext;
90 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xGlobal;
91 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xModule;
92 css::uno::Reference<css::ui::XAcceleratorConfiguration>
m_xAct;
94 css::uno::Reference<css::frame::XFrame>
m_xFrame;
141 void Init(
const css::uno::Reference<css::ui::XAcceleratorConfiguration>& pAccMgr);
152 void Apply(
const css::uno::Reference<css::ui::XAcceleratorConfiguration>& pAccMgr);
void Apply(const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
OUString GetLabel4Command(const OUString &rCommand)
void Init(const css::uno::Reference< css::ui::XAcceleratorConfiguration > &pAccMgr)
bool isConfigured() const
DECL_LINK(ChangeHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xLoadButton
const SfxMacroInfoItem * m_pMacroInfoItem
OUString m_sModuleLongName
std::unique_ptr< weld::RadioButton > m_xModuleButton
std::unique_ptr< CuiConfigGroupListBox > m_xGroupLBox
SfxStylesInfo_Impl m_aStylesInfo
std::unique_ptr< CuiConfigFunctionListBox > m_xFunctionBox
std::unique_ptr< weld::Entry > m_xSearchEdit
OUString aLoadAccelConfigStr
std::unique_ptr< weld::Button > m_xSaveButton
bool m_bStylesInfoInitialized
std::unique_ptr< weld::TreeView > m_xKeyBox
std::unique_ptr< weld::Button > m_xResetButton
OUString aSaveAccelConfigStr
sal_Int32 MapKeyCodeToPos(const vcl::KeyCode &rCode) const
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xGlobal
virtual ~SfxAcceleratorConfigPage() override
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xModule
css::uno::Reference< css::uno::XComponentContext > m_xContext
css::uno::Reference< css::container::XNameAccess > m_xUICmdDescription
std::unique_ptr< weld::Button > m_xRemoveButton
i18nutil::SearchOptions2 m_options
std::unique_ptr< weld::Button > m_xChangeButton
std::unique_ptr< sfx2::FileDialogHelper > m_pFileDlg
css::uno::Reference< css::frame::XFrame > m_xFrame
virtual void Reset(const SfxItemSet *) override
int applySearchFilter(OUString const &rSearchTerm)
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...
std::unique_ptr< weld::TreeView > m_xEntriesBox
virtual bool FillItemSet(SfxItemSet *) override
void StartFileDialog(StartFileDialogType nType, const OUString &rTitle)
SfxAcceleratorConfigPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rItemSet)
std::unique_ptr< weld::RadioButton > m_xOfficeButton
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xAct