LibreOffice Module vcl (master) 1
Namespaces | Macros | Typedefs | Functions | Variables
builder.cxx File Reference
#include <config_feature_desktop.h>
#include <config_options.h>
#include <config_vclplug.h>
#include <memory>
#include <string_view>
#include <unordered_map>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <comphelper/lok.hxx>
#include <i18nutil/unicode.hxx>
#include <jsdialog/enabled.hxx>
#include <o3tl/string_view.hxx>
#include <officecfg/Office/Common.hxx>
#include <osl/module.hxx>
#include <sal/log.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/resmgr.hxx>
#include <utility>
#include <vcl/builder.hxx>
#include <vcl/dialoghelper.hxx>
#include <vcl/menu.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <vcl/toolkit/edit.hxx>
#include <vcl/toolkit/field.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/toolkit/fmtfield.hxx>
#include <vcl/toolkit/fixed.hxx>
#include <vcl/toolkit/fixedhyper.hxx>
#include <vcl/headbar.hxx>
#include <vcl/notebookbar/NotebookBarAddonsMerger.hxx>
#include <vcl/toolkit/ivctrl.hxx>
#include <vcl/layout.hxx>
#include <vcl/toolkit/lstbox.hxx>
#include <vcl/toolkit/menubtn.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/toolkit/prgsbar.hxx>
#include <vcl/toolkit/scrbar.hxx>
#include <vcl/split.hxx>
#include <vcl/svapp.hxx>
#include <vcl/toolkit/svtabbx.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/toolkit/throbber.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/toolkit/treelistentry.hxx>
#include <vcl/toolkit/vclmedit.hxx>
#include <vcl/settings.hxx>
#include <slider.hxx>
#include <vcl/weld.hxx>
#include <vcl/weldutils.hxx>
#include <vcl/commandinfoprovider.hxx>
#include <iconview.hxx>
#include <svdata.hxx>
#include <bitmaps.hlst>
#include <managedmenubutton.hxx>
#include <messagedialog.hxx>
#include <ContextVBox.hxx>
#include <DropdownBox.hxx>
#include <IPrioritable.hxx>
#include <OptionalBox.hxx>
#include <PriorityMergedHBox.hxx>
#include <PriorityHBox.hxx>
#include <window.h>
#include <xmlreader/xmlreader.hxx>
#include <desktop/crashreport.hxx>
#include <calendar.hxx>
#include <menutogglebutton.hxx>
#include <salinst.hxx>
#include <strings.hrc>
#include <treeglue.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <verticaltabctrl.hxx>
#include <wizdlg.hxx>
#include <tools/svlibrary.h>
#include <jsdialog/jsdialogbuilder.hxx>
#include <dlfcn.h>
Include dependency graph for builder.cxx:

Go to the source code of this file.

Namespaces

namespace  weld
 
namespace  vcl
 
namespace  BuilderUtils
 

Macros

#define SAL_DLLPREFIX   ""
 

Typedefs

typedef std::map< OUString, std::shared_ptr< NoAutoUnloadModule > > ModuleMap
 

Functions

static bool toBool (std::string_view rValue)
 
 weld::IMPL_LINK_NOARG (MetricSpinButton, spin_button_value_changed, SpinButton &, void)
 
 weld::IMPL_LINK (MetricSpinButton, spin_button_output, SpinButton &, rSpinButton, void)
 
 weld::IMPL_LINK (MetricSpinButton, spin_button_input, int *, result, bool)
 
 weld::IMPL_LINK (EntryTreeView, ClickHdl, weld::TreeView &, rView, void)
 
 weld::IMPL_LINK_NOARG (EntryTreeView, ModifyHdl, weld::Entry &, void)
 
size_t weld::GetAbsPos (const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
 
bool weld::IsEntryVisible (const weld::TreeView &rTreeView, const weld::TreeIter &rIter)
 
static void thisModule ()
 
void vcl::VclBuilderPreload ()
 Pre-loads all modules containing UI information. More...
 
void BuilderUtils::set_properties (vcl::Window *pWindow, const VclBuilder::stringmap &rProps)
 
OUString BuilderUtils::convertMnemonicMarkup (std::u16string_view rIn)
 
OUString BuilderUtils::extractCustomProperty (VclBuilder::stringmap &rMap)
 
void BuilderUtils::ensureDefaultWidthChars (VclBuilder::stringmap &rMap)
 
bool BuilderUtils::extractDropdown (VclBuilder::stringmap &rMap)
 
void BuilderUtils::reorderWithinParent (vcl::Window &rWindow, sal_uInt16 nNewPosition)
 
void BuilderUtils::reorderWithinParent (std::vector< vcl::Window * > &rChilds, bool bIsButtonBox)
 
sal_Int16 BuilderUtils::getRoleFromName (const OUString &roleName)
 
template<typename T >
static bool insertItems (vcl::Window *pWindow, VclBuilder::stringmap &rMap, std::vector< std::unique_ptr< OUString > > &rUserData, const std::vector< ComboBoxTextItem > &rItems)
 Insert items to a ComboBox or a ListBox. More...
 

Variables

static ModuleMap g_aModuleMap
 

Macro Definition Documentation

◆ SAL_DLLPREFIX

#define SAL_DLLPREFIX   ""

Definition at line 1443 of file builder.cxx.

Typedef Documentation

◆ ModuleMap

typedef std::map<OUString, std::shared_ptr<NoAutoUnloadModule> > ModuleMap

Definition at line 1435 of file builder.cxx.

Function Documentation

◆ insertItems()

template<typename T >
static bool insertItems ( vcl::Window pWindow,
VclBuilder::stringmap rMap,
std::vector< std::unique_ptr< OUString > > &  rUserData,
const std::vector< ComboBoxTextItem > &  rItems 
)
static

Insert items to a ComboBox or a ListBox.

They have no common ancestor that would have 'InsertEntry()', so use a template.

Definition at line 3524 of file builder.cxx.

References nPos.

◆ thisModule()

static void thisModule ( )
static

Definition at line 1422 of file builder.cxx.

References thisModule().

Referenced by thisModule(), and vcl::VclBuilderPreload().

◆ toBool()

static bool toBool ( std::string_view  rValue)
static

Variable Documentation

◆ g_aModuleMap

ModuleMap g_aModuleMap
static

Definition at line 1436 of file builder.cxx.

Referenced by vcl::VclBuilderPreload().