LibreOffice Module cui (master) 1
|
#include <memory>
#include <string_view>
#include <config_features.h>
#include <config_feature_opencl.h>
#include <config_feature_desktop.h>
#include <config_gpgme.h>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/Writer.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <treeopt.hrc>
#include <helpids.h>
#include "cfgchart.hxx"
#include "connpoolconfig.hxx"
#include "connpooloptions.hxx"
#include <cuioptgenrl.hxx>
#include <dbregister.hxx>
#include "dbregisterednamesconfig.hxx"
#include <dialmgr.hxx>
#include "fontsubs.hxx"
#include "optaccessibility.hxx"
#include <optasian.hxx>
#include "optchart.hxx"
#include "optcolor.hxx"
#include "optctl.hxx"
#include "optfltr.hxx"
#include "optgdlg.hxx"
#include "opthtml.hxx"
#include "optinet2.hxx"
#include "optjava.hxx"
#include "optjsearch.hxx"
#include <optlingu.hxx>
#include <optpath.hxx>
#include "optsave.hxx"
#include "optupdt.hxx"
#include "personalization.hxx"
#include <treeopt.hxx>
#include "optbasic.hxx"
#include "optlanguagetool.hxx"
#include "optdeepl.hxx"
#include <com/sun/star/awt/XContainerWindowEventHandler.hpp>
#include <com/sun/star/awt/ContainerWindowProvider.hpp>
#include <com/sun/star/awt/XControl.hpp>
#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/UnknownModuleException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/linguistic2/LinguProperties.hpp>
#include <com/sun/star/setup/UpdateCheck.hpp>
#include <comphelper/getexpandeduri.hxx>
#include <comphelper/processfactory.hxx>
#include <editeng/langitem.hxx>
#include <editeng/optitems.hxx>
#include <editeng/unolingu.hxx>
#include <linguistic/misc.hxx>
#include <officecfg/Office/OptionsDialog.hxx>
#include <sfx2/app.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/module.hxx>
#include <sfx2/printopt.hxx>
#include <sfx2/shell.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/flagitem.hxx>
#include <svl/intitem.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <svx/databaseregistrationui.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/optionsdlg.hxx>
#include <unotools/viewoptions.hxx>
#include <utility>
#include <vcl/help.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weldutils.hxx>
#include <vcl/window.hxx>
#include <sal/log.hxx>
Go to the source code of this file.
Classes | |
struct | OptionsPageInfo |
struct | OptionsGroupInfo |
Functions | |
static void | SetViewOptUserItem (SvtViewOptions &rOpt, const OUString &rData) |
static OUString | GetViewOptUserItem (const SvtViewOptions &rOpt) |
static void | setGroupName (std::u16string_view rModule, const OUString &rGroupName) |
static OUString | getGroupName (std::u16string_view rModule, bool bForced) |
static void | deleteGroupNames () |
static sal_uInt16 | getGroupNodeId (std::u16string_view rModule) |
static std::unique_ptr< SfxTabPage > | CreateGeneralTabPage (sal_uInt16 nId, weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) |
static bool | lcl_getStringFromID (sal_uInt16 _nPageId, OUString &_rGroupName, OUString &_rPageName) |
static bool | lcl_isOptionHidden (sal_uInt16 _nPageId, const SvtOptionsDialogOptions &_rOptOptions) |
IMPL_LINK_NOARG (OfaTreeOptionsDialog, ShowPageHdl_Impl, weld::TreeView &, void) | |
IMPL_LINK_NOARG (OfaTreeOptionsDialog, BackHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (OfaTreeOptionsDialog, HelpHdl_Impl, weld::Widget &, bool) | |
IMPL_LINK (OfaTreeOptionsDialog, ApplyHdl_Impl, weld::Button &, rButton, void) | |
static bool | isNodeActive (OptionsNode const *pNode, Module *pModule) |
static sal_uInt16 | lcl_getGroupId (std::u16string_view rGroupName, const weld::TreeView &rTreeLB) |
static void | lcl_insertLeaf (OfaTreeOptionsDialog *pDlg, OptionsNode const *pNode, OptionsLeaf const *pLeaf, const weld::TreeView &rTreeLB) |
Variables | |
constexpr OUStringLiteral | VIEWOPT_DATANAME = u"page data" |
static ModuleToGroupNameMap_Impl | ModuleMap [] |
OptionsMapping_Impl const | OptionsMap_Impl [] |
|
static |
Definition at line 242 of file treeopt.cxx.
References SfxCommonPrintOptionsTabPage::Create(), offapp::ConnectionPoolOptionsPage::Create(), SvxGeneralTabPage::Create(), SvxAsianLayoutPage::Create(), SvxFontSubstTabPage::Create(), SvxAccessibilityOptionsTabPage::Create(), SvxColorOptionsTabPage::Create(), SvxCTLOptionsPage::Create(), OptDeeplTabPage::Create(), OfaMSFilterTabPage::Create(), OfaMSFilterTabPage2::Create(), OfaMiscTabPage::Create(), OfaViewTabPage::Create(), OfaLanguagesTabPage::Create(), OfaHtmlTabPage::Create(), SvxProxyTabPage::Create(), SvxSecurityTabPage::Create(), SvxEMailTabPage::Create(), OptLanguageToolTabPage::Create(), SvxSaveTabPage::Create(), SvxDefaultColorOptPage::Create(), svx::DbRegistrationOptionsPage::Create(), SvxLinguTabPage::Create(), SvxPathTabPage::Create(), SvxBasicIDEOptionsPage::Create(), SvxJavaOptionsPage::Create(), SvxJSearchOptionsPage::Create(), SvxOpenCLTabPage::Create(), SvxOnlineUpdateTabPage::Create(), SvxPersonalizationTabPage::Create(), nId, OFA_TP_LANGUAGES, OFA_TP_MISC, OFA_TP_VIEW, RID_OFAPAGE_HTMLOPT, RID_OFAPAGE_MSFILTEROPT2, RID_OPTPAGE_CHART_DEFCOLORS, RID_SFXPAGE_GENERAL, RID_SFXPAGE_LINGU, RID_SFXPAGE_PATH, RID_SFXPAGE_PRINTOPTIONS, RID_SFXPAGE_SAVE, RID_SVX_FONT_SUBSTITUTION, RID_SVXPAGE_ACCESSIBILITYCONFIG, RID_SVXPAGE_ASIAN_LAYOUT, RID_SVXPAGE_BASICIDE_OPTIONS, RID_SVXPAGE_COLORCONFIG, RID_SVXPAGE_DEEPL_OPTIONS, RID_SVXPAGE_INET_MAIL, RID_SVXPAGE_INET_PROXY, RID_SVXPAGE_INET_SECURITY, RID_SVXPAGE_JSEARCH_OPTIONS, RID_SVXPAGE_LANGTOOL_OPTIONS, RID_SVXPAGE_ONLINEUPDATE, RID_SVXPAGE_OPENCL, RID_SVXPAGE_OPTIONS_CTL, RID_SVXPAGE_OPTIONS_JAVA, RID_SVXPAGE_PERSONALIZATION, and rSet.
Referenced by OfaTreeOptionsDialog::SelectHdl_Impl().
|
static |
Definition at line 210 of file treeopt.cxx.
Referenced by OfaTreeOptionsDialog::~OfaTreeOptionsDialog().
|
static |
Definition at line 178 of file treeopt.cxx.
References CuiResId(), first, and u.
Referenced by isNodeActive(), and OfaTreeOptionsDialog::LoadNodes().
|
static |
Definition at line 216 of file treeopt.cxx.
Referenced by lcl_insertLeaf().
|
static |
Definition at line 131 of file treeopt.cxx.
References Any, SvtViewOptions::GetUserItem(), and VIEWOPT_DATANAME.
Referenced by OfaTreeOptionsDialog::SelectHdl_Impl().
IMPL_LINK | ( | OfaTreeOptionsDialog | , |
ApplyHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 664 of file treeopt.cxx.
References SfxShell::CreateItemSet(), comphelper::getProcessComponentContext(), OptionsGroupInfo::m_nDialogId, OptionsPageInfo::m_nPageId, OptionsGroupInfo::m_pInItemSet, OptionsGroupInfo::m_pOutItemSet, OptionsGroupInfo::m_pShell, m_xDialog, OptionsPageInfo::m_xPage, RET_OK, RID_SVXPAGE_COLOR, and utl::ConfigManager::storeConfigItems().
IMPL_LINK_NOARG | ( | OfaTreeOptionsDialog | , |
BackHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 610 of file treeopt.cxx.
IMPL_LINK_NOARG | ( | OfaTreeOptionsDialog | , |
HelpHdl_Impl | , | ||
weld::Widget & | , | ||
bool | |||
) |
Definition at line 648 of file treeopt.cxx.
References Application::GetHelp(), m_xDialog, OptionsPageInfo::m_xPage, and Help::Start().
IMPL_LINK_NOARG | ( | OfaTreeOptionsDialog | , |
ShowPageHdl_Impl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 587 of file treeopt.cxx.
|
static |
Definition at line 1587 of file treeopt.cxx.
References getGroupName(), Module::m_aNodeList, Module::m_bActive, OptionsNode::m_bAllModules, and OptionsNode::m_sId.
Referenced by OfaTreeOptionsDialog::LoadNodes().
|
static |
Definition at line 1852 of file treeopt.cxx.
References weld::TreeView::get_iter_depth(), weld::TreeView::get_iter_first(), weld::TreeView::get_text(), weld::TreeView::iter_next(), and weld::TreeView::make_iterator().
Referenced by lcl_insertLeaf().
|
static |
Definition at line 382 of file treeopt.cxx.
References OptionsMap_Impl.
Referenced by lcl_isOptionHidden().
|
static |
Definition at line 1873 of file treeopt.cxx.
References OfaTreeOptionsDialog::AddGroup(), OfaTreeOptionsDialog::AddTabPage(), getGroupNodeId(), lcl_getGroupId(), OptionsLeaf::m_sEventHdl, OptionsPageInfo::m_sEventHdl, OptionsNode::m_sId, OptionsLeaf::m_sLabel, OptionsNode::m_sLabel, OptionsLeaf::m_sPageURL, and OptionsPageInfo::m_sPageURL.
Referenced by OfaTreeOptionsDialog::InsertNodes().
|
static |
Definition at line 403 of file treeopt.cxx.
References SvtOptionsDialogOptions::IsGroupHidden(), SvtOptionsDialogOptions::IsPageHidden(), and lcl_getStringFromID().
Referenced by OfaTreeOptionsDialog::Initialize().
|
static |
Definition at line 166 of file treeopt.cxx.
Referenced by OfaTreeOptionsDialog::Initialize().
|
static |
Definition at line 126 of file treeopt.cxx.
References Any, SvtViewOptions::SetUserItem(), and VIEWOPT_DATANAME.
Referenced by OfaTreeOptionsDialog::~OfaTreeOptionsDialog().
|
static |
Definition at line 150 of file treeopt.cxx.
OptionsMapping_Impl const OptionsMap_Impl[] |
Definition at line 299 of file treeopt.cxx.
Referenced by lcl_getStringFromID().
|
constexpr |
Definition at line 124 of file treeopt.cxx.
Referenced by GetViewOptUserItem(), and SetViewOptUserItem().