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 <config_features.h>
#include <com/sun/star/frame/LayoutManager.hpp>
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 ... excepting keys, which are used for the dialog itself. 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::Toggleable &, 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 = std::size(KEYCODE_ARRAY)
 

Function Documentation

◆ IMPL_LINK() [1/2]

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 811 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() [2/2]

IMPL_LINK ( SfxAcceleratorConfigPage  ,
SelectHdl  ,
weld::TreeView ,
rListBox  ,
void   
)

◆ IMPL_LINK_NOARG() [1/12]

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

Definition at line 1156 of file acccfg.cxx.

References TAccInfo::m_sCommand, and nPos.

◆ IMPL_LINK_NOARG() [2/12]

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

Definition at line 1142 of file acccfg.cxx.

References Init().

◆ IMPL_LINK_NOARG() [3/12]

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

Definition at line 1122 of file acccfg.cxx.

◆ IMPL_LINK_NOARG() [4/12]

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
ImplUpdateDataHdl  ,
Timer ,
void   
)

Definition at line 1112 of file acccfg.cxx.

◆ IMPL_LINK_NOARG() [5/12]

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

Definition at line 1131 of file acccfg.cxx.

◆ IMPL_LINK_NOARG() [6/12]

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

Definition at line 1317 of file acccfg.cxx.

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

◆ IMPL_LINK_NOARG() [7/12]

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

Definition at line 1280 of file acccfg.cxx.

References Init(), m_xContext, and m_xFrame.

◆ IMPL_LINK_NOARG() [8/12]

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

Definition at line 1174 of file acccfg.cxx.

References TAccInfo::m_sCommand, and nPos.

◆ IMPL_LINK_NOARG() [9/12]

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

Definition at line 1137 of file acccfg.cxx.

◆ IMPL_LINK_NOARG() [10/12]

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

◆ IMPL_LINK_NOARG() [11/12]

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

Definition at line 1117 of file acccfg.cxx.

◆ IMPL_LINK_NOARG() [12/12]

IMPL_LINK_NOARG ( SfxAcceleratorConfigPage  ,
TimeOut_Impl  ,
Timer ,
void   
)

Definition at line 1307 of file acccfg.cxx.

References GetFrameWeld().

Variable Documentation

◆ FOLDERNAME_UICONFIG

constexpr OUStringLiteral FOLDERNAME_UICONFIG = u"Configurations2"
constexpr

Definition at line 72 of file acccfg.cxx.

Referenced by IMPL_LINK_NOARG().

◆ KEYCODE_ARRAY

const sal_uInt16 KEYCODE_ARRAY[]

◆ KEYCODE_ARRAY_SIZE

const sal_uInt16 KEYCODE_ARRAY_SIZE = std::size(KEYCODE_ARRAY)

Definition at line 806 of file acccfg.cxx.

Referenced by SfxAcceleratorConfigPage::Init().

◆ MEDIATYPE_PROPNAME

constexpr OUStringLiteral MEDIATYPE_PROPNAME = u"MediaType"
constexpr

Definition at line 74 of file acccfg.cxx.

Referenced by IMPL_LINK_NOARG().