|
LibreOffice Module cui (master) 1
|
#include <sal/config.h>#include <toolbarmodedlg.hxx>#include <toolbarmode.hrc>#include <com/sun/star/frame/ModuleManager.hpp>#include <comphelper/dispatchcommand.hxx>#include <comphelper/types.hxx>#include <dialmgr.hxx>#include <officecfg/Office/Common.hxx>#include <officecfg/Office/UI/ToolbarMode.hxx>#include <osl/file.hxx>#include <rtl/bootstrap.hxx>#include <sfx2/viewfrm.hxx>#include <strings.hrc>#include <unotools/confignode.hxx>#include <vcl/virdev.hxx>#include <vcl/graphicfilter.hxx>#include <vcl/EnumContext.hxx>#include <vcl/weld.hxx>#include <com/sun/star/beans/PropertyValue.hpp>Go to the source code of this file.
Functions | |
| static OUString | GetCurrentApp () |
| static OUString | GetCurrentMode () |
| static bool | file_exists (const OUString &fileName) |
| IMPL_LINK_NOARG (ToolbarmodeDialog, SelectToolbarmode, weld::Toggleable &, void) | |
| IMPL_LINK (ToolbarmodeDialog, OnApplyClick, weld::Button &, rButton, void) | |
|
static |
Definition at line 126 of file toolbarmodedlg.cxx.
Referenced by ToolbarmodeDialog::UpdateImage().
|
static |
Definition at line 32 of file toolbarmodedlg.cxx.
References vcl::EnumContext::Base, vcl::EnumContext::Calc, SfxViewFrame::Current(), vcl::EnumContext::Draw, vcl::EnumContext::Formula, vcl::EnumContext::GetApplicationEnum(), comphelper::getProcessComponentContext(), vcl::EnumContext::Impress, and vcl::EnumContext::Writer.
Referenced by GetCurrentMode(), IMPL_LINK(), and ToolbarmodeDialog::ToolbarmodeDialog().
|
static |
Definition at line 67 of file toolbarmodedlg.cxx.
References SfxViewFrame::Current(), GetCurrentApp(), utl::OConfigurationNode::getNodeValue(), comphelper::getProcessComponentContext(), comphelper::getString(), and utl::OConfigurationNode::isValid().
Referenced by ToolbarmodeDialog::ToolbarmodeDialog().
| IMPL_LINK | ( | ToolbarmodeDialog | , |
| OnApplyClick | , | ||
| weld::Button & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 172 of file toolbarmodedlg.cxx.
References utl::OConfigurationTreeRoot::commit(), comphelper::ConfigurationChanges::create(), SfxViewFrame::Current(), comphelper::dispatchCommand(), GetCurrentApp(), comphelper::getProcessComponentContext(), i, and utl::OConfigurationNode::setNodeValue().
| IMPL_LINK_NOARG | ( | ToolbarmodeDialog | , |
| SelectToolbarmode | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 162 of file toolbarmodedlg.cxx.
References CuiResId(), i, and m_pInfoLabel.