LibreOffice Module cui (master)  1
Functions
cfg.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <cassert>
#include <stdlib.h>
#include <typeinfo>
#include <vcl/stdtext.hxx>
#include <vcl/commandinfoprovider.hxx>
#include <vcl/event.hxx>
#include <vcl/graph.hxx>
#include <vcl/svapp.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/weld.hxx>
#include <vcl/decoview.hxx>
#include <vcl/virdev.hxx>
#include <sfx2/sfxhelp.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/sfxsids.hrc>
#include <svl/stritem.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <toolkit/helper/vclunohelper.hxx>
#include <algorithm>
#include <strings.hrc>
#include <acccfg.hxx>
#include <cfg.hxx>
#include <CustomNotebookbarGenerator.hxx>
#include <SvxMenuConfigPage.hxx>
#include <SvxToolbarConfigPage.hxx>
#include <SvxNotebookbarConfigPage.hxx>
#include <SvxConfigPageHelper.hxx>
#include "eventdlg.hxx"
#include <dialmgr.hxx>
#include <unotools/configmgr.hxx>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/FileSystemStorageFactory.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/XFrames.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/theUICommandDescription.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/ui/ItemType.hpp>
#include <com/sun/star/ui/ItemStyle.hpp>
#include <com/sun/star/ui/ImageManager.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/XUIConfigurationPersistence.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
#include <com/sun/star/ui/UIElementType.hpp>
#include <com/sun/star/ui/ImageType.hpp>
#include <com/sun/star/ui/theWindowStateConfiguration.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
#include <comphelper/documentinfo.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/processfactory.hxx>
Include dependency graph for cfg.cxx:

Go to the source code of this file.

Functions

void printPropertySet (const OUString &prefix, const uno::Reference< beans::XPropertySet > &xPropSet)
 
void printProperties (const OUString &prefix, const uno::Sequence< beans::PropertyValue > &aProp)
 
void printEntries (SvxEntries *entries)
 
static std::unique_ptr< SfxTabPageCreateSvxMenuConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static std::unique_ptr< SfxTabPageCreateSvxContextMenuConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static std::unique_ptr< SfxTabPageCreateKeyboardConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static std::unique_ptr< SfxTabPageCreateSvxNotebookbarConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static std::unique_ptr< SfxTabPageCreateSvxToolbarConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static std::unique_ptr< SfxTabPageCreateSvxEventConfigPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
 IMPL_LINK (SvxMenuEntriesListBox, KeyInputHdl, const KeyEvent &, rKeyEvent, bool)
 
 IMPL_LINK_NOARG (SvxConfigPage, SelectElementHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SvxConfigPage, SelectSaveInLocation, weld::ComboBox &, void)
 
 IMPL_LINK (SvxConfigPage, MoveHdl, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SvxConfigPage, FunctionDoubleClickHdl, weld::TreeView &, bool)
 
 IMPL_LINK_NOARG (SvxConfigPage, SelectFunctionHdl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (SvxConfigPage, ImplUpdateDataHdl, Timer *, void)
 
 IMPL_LINK_NOARG (SvxConfigPage, SearchUpdateHdl, weld::Entry &, void)
 
 IMPL_LINK_NOARG (SvxConfigPage, FocusOut_Impl, weld::Widget &, void)
 
 IMPL_LINK_NOARG (SvxMainMenuOrganizerDialog, ModifyHdl, weld::Entry &, void)
 
 IMPL_LINK_NOARG (SvxMainMenuOrganizerDialog, SelectHdl, weld::TreeView &, void)
 
 IMPL_LINK (SvxMainMenuOrganizerDialog, MoveHdl, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (SvxIconSelectorDialog, SelectHdl, ValueSet *, void)
 
 IMPL_LINK_NOARG (SvxIconSelectorDialog, ImportHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxIconSelectorDialog, DeleteHdl, weld::Button &, void)
 

Function Documentation

static std::unique_ptr<SfxTabPage> CreateKeyboardConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 175 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

static std::unique_ptr<SfxTabPage> CreateSvxContextMenuConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 170 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

static std::unique_ptr<SfxTabPage> CreateSvxEventConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 191 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

static std::unique_ptr<SfxTabPage> CreateSvxMenuConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 165 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

static std::unique_ptr<SfxTabPage> CreateSvxNotebookbarConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 180 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

static std::unique_ptr<SfxTabPage> CreateSvxToolbarConfigPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 186 of file cfg.cxx.

Referenced by SvxConfigDialog::SvxConfigDialog().

IMPL_LINK ( SvxMenuEntriesListBox  ,
KeyInputHdl  ,
const KeyEvent ,
rKeyEvent  ,
bool   
)

Definition at line 938 of file cfg.cxx.

References vcl::KeyCode::GetCode(), vcl::KeyCode::IsMod1(), KEY_DELETE, KEY_DOWN, and KEY_UP.

IMPL_LINK ( SvxConfigPage  ,
MoveHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 1553 of file cfg.cxx.

IMPL_LINK ( SvxMainMenuOrganizerDialog  ,
MoveHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 1805 of file cfg.cxx.

References sId.

IMPL_LINK_NOARG ( SvxConfigPage  ,
SelectElementHdl  ,
weld::ComboBox ,
void   
)

Definition at line 1014 of file cfg.cxx.

IMPL_LINK_NOARG ( SvxConfigPage  ,
SelectSaveInLocation  ,
weld::ComboBox ,
void   
)

Definition at line 1315 of file cfg.cxx.

References Init(), notebookbarTabScope, and sId.

IMPL_LINK_NOARG ( SvxConfigPage  ,
FunctionDoubleClickHdl  ,
weld::TreeView ,
bool   
)

Definition at line 1558 of file cfg.cxx.

IMPL_LINK_NOARG ( SvxConfigPage  ,
SelectFunctionHdl  ,
weld::TreeView ,
void   
)
IMPL_LINK_NOARG ( SvxConfigPage  ,
ImplUpdateDataHdl  ,
Timer ,
void   
)

Definition at line 1604 of file cfg.cxx.

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

Definition at line 1611 of file cfg.cxx.

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

Definition at line 1616 of file cfg.cxx.

IMPL_LINK_NOARG ( SvxMainMenuOrganizerDialog  ,
ModifyHdl  ,
weld::Entry ,
void   
)

Definition at line 1774 of file cfg.cxx.

References SvxConfigEntry::GetName(), and SvxConfigEntry::SetName().

IMPL_LINK_NOARG ( SvxMainMenuOrganizerDialog  ,
SelectHdl  ,
weld::TreeView ,
void   
)

Definition at line 1792 of file cfg.cxx.

IMPL_LINK_NOARG ( SvxIconSelectorDialog  ,
SelectHdl  ,
ValueSet ,
void   
)

Definition at line 2805 of file cfg.cxx.

References SvxConfigPageHelper::GetImageType(), and nId.

IMPL_LINK_NOARG ( SvxIconSelectorDialog  ,
ImportHdl  ,
weld::Button ,
void   
)

Definition at line 2826 of file cfg.cxx.

References ERRCODE_NONE, m_xDialog, and xController.

IMPL_LINK_NOARG ( SvxIconSelectorDialog  ,
DeleteHdl  ,
weld::Button ,
void   
)
void printEntries ( SvxEntries entries)

Definition at line 149 of file cfg.cxx.

References SAL_WARN.

void printProperties ( const OUString &  prefix,
const uno::Sequence< beans::PropertyValue > &  aProp 
)

Definition at line 135 of file cfg.cxx.

References SAL_WARN.

void printPropertySet ( const OUString &  prefix,
const uno::Reference< beans::XPropertySet > &  xPropSet 
)

Definition at line 101 of file cfg.cxx.

References a, and SAL_WARN.