LibreOffice Module cui (master)  1
Functions | Variables
acccfg.cxx File Reference
#include <acccfg.hxx>
#include <cfgutil.hxx>
#include <dialmgr.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/minfitem.hxx>
#include <sfx2/sfxresid.hxx>
#include <sal/macros.h>
#include <vcl/event.hxx>
#include <strings.hrc>
#include <sfx2/strings.hrc>
#include <svx/svxids.hrc>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/embed/StorageFactory.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/form/XReset.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/theUICommandDescription.hpp>
#include <com/sun/star/ui/GlobalAcceleratorConfiguration.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/UIConfigurationManager.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <unotools/textsearch.hxx>
#include <comphelper/processfactory.hxx>
#include <svtools/acceleratorexecute.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/sequenceashashmap.hxx>
Include dependency graph for acccfg.cxx:

Go to the source code of this file.

Functions

 IMPL_LINK (SfxAcceleratorConfigPage, KeyInputHdl, const KeyEvent &, rKey, bool)
 select the entry, which match the current key input ... More...
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, ImplUpdateDataHdl, Timer *, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, SearchUpdateHdl, weld::Entry &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, FocusOut_Impl, weld::Widget &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, Load, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, Save, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, Default, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, ChangeHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, RemoveHdl, weld::Button &, void)
 
 IMPL_LINK (SfxAcceleratorConfigPage, SelectHdl, weld::TreeView &, rListBox, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, RadioHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, TimeOut_Impl, Timer *, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper *, void)
 
 IMPL_LINK_NOARG (SfxAcceleratorConfigPage, SaveHdl, sfx2::FileDialogHelper *, void)
 

Variables

constexpr OUStringLiteral FOLDERNAME_UICONFIG = u"Configurations2"
 
constexpr OUStringLiteral MEDIATYPE_PROPNAME = u"MediaType"
 
const sal_uInt16 KEYCODE_ARRAY []
 
const sal_uInt16 KEYCODE_ARRAY_SIZE = SAL_N_ELEMENTS(KEYCODE_ARRAY)
 

Function Documentation

IMPL_LINK ( SfxAcceleratorConfigPage  ,
KeyInputHdl  ,
const KeyEvent ,
rKey  ,
bool   
)

select the entry, which match the current key input ...

excepting keys, which are used for the dialog itself.

Definition at line 782 of file acccfg.cxx.

References vcl::KeyCode::GetCode(), vcl::KeyCode::GetModifier(), i, KEY_DOWN, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_UP, TAccInfo::m_aKey, and nCount.

IMPL_LINK ( SfxAcceleratorConfigPage  ,
SelectHdl  ,
weld::TreeView ,
rListBox  ,
void   
)
IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
ImplUpdateDataHdl  ,
Timer ,
void   
)

Definition at line 1086 of file acccfg.cxx.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
SearchUpdateHdl  ,
weld::Entry ,
void   
)

Definition at line 1091 of file acccfg.cxx.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
FocusOut_Impl  ,
weld::Widget ,
void   
)

Definition at line 1096 of file acccfg.cxx.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
Load  ,
weld::Button ,
void   
)

Definition at line 1105 of file acccfg.cxx.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
Save  ,
weld::Button ,
void   
)

Definition at line 1111 of file acccfg.cxx.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
Default  ,
weld::Button ,
void   
)

Definition at line 1116 of file acccfg.cxx.

References Init().

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
ChangeHdl  ,
weld::Button ,
void   
)

Definition at line 1130 of file acccfg.cxx.

References TAccInfo::m_sCommand, and nPos.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
RemoveHdl  ,
weld::Button ,
void   
)

Definition at line 1148 of file acccfg.cxx.

References TAccInfo::m_sCommand, and nPos.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
RadioHdl  ,
weld::Button ,
void   
)

Definition at line 1256 of file acccfg.cxx.

References Init(), m_xContext, and m_xFrame.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
TimeOut_Impl  ,
Timer ,
void   
)

Definition at line 1283 of file acccfg.cxx.

References GetFrameWeld().

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
LoadHdl  ,
sfx2::FileDialogHelper ,
void   
)

Definition at line 1293 of file acccfg.cxx.

References assert(), ERRCODE_NONE, FOLDERNAME_UICONFIG, GetFrameWeld(), Init(), and m_xContext.

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
SaveHdl  ,
sfx2::FileDialogHelper ,
void   
)

Variable Documentation

constexpr OUStringLiteral FOLDERNAME_UICONFIG = u"Configurations2"

Definition at line 68 of file acccfg.cxx.

Referenced by IMPL_LINK_NOARG().

const sal_uInt16 KEYCODE_ARRAY[]
const sal_uInt16 KEYCODE_ARRAY_SIZE = SAL_N_ELEMENTS(KEYCODE_ARRAY)

Definition at line 777 of file acccfg.cxx.

Referenced by SfxAcceleratorConfigPage::Init().

constexpr OUStringLiteral MEDIATYPE_PROPNAME = u"MediaType"

Definition at line 70 of file acccfg.cxx.

Referenced by IMPL_LINK_NOARG().