LibreOffice Module vcl (master)  1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
VclBuilder Class Reference

#include <builder.hxx>

Collaboration diagram for VclBuilder:
[legend]

Classes

struct  ButtonImageWidgetMap
 
struct  ComboBoxModelMap
 
struct  ListStore
 
struct  MenuAndId
 
struct  PackingData
 
struct  ParserState
 
struct  SizeGroup
 
class  sortIntoBestTabTraversalOrder
 
struct  stockinfo
 
struct  StringPair
 
struct  UStringPair
 
struct  WinAndId
 

Public Types

typedef std::map< OString, OUString > stringmap
 
typedef std::map< OString, std::pair< OString, OString > > accelmap
 
typedef void(* customMakeWidget) (VclPtr< vcl::Window > &rRet, VclPtr< vcl::Window > &pParent, stringmap &rVec)
 These functions create a new widget with parent pParent and return it in rRet. More...
 

Public Member Functions

 VclBuilder (vcl::Window *pParent, const OUString &sUIRootDir, const OUString &sUIFile, const OString &sID=OString(), const css::uno::Reference< css::frame::XFrame > &rFrame=css::uno::Reference< css::frame::XFrame >(), bool bLegacy=true, const NotebookBarAddonsItem &aNotebookBarAddonsItem=NotebookBarAddonsItem())
 
 ~VclBuilder ()
 
void disposeBuilder ()
 releases references and disposes all children. More...
 
template<typename T >
T * get (VclPtr< T > &ret, const OString &sID)
 
template<typename T >
T * get (const OString &sID)
 
vcl::Windowget_widget_root ()
 
PopupMenuget_menu (const OString &sID)
 
void drop_ownership (const vcl::Window *pWindow)
 
void setDeferredProperties ()
 
const OString & getUIFile () const
 return UI-File name (without '.ui') More...
 

Static Public Member Functions

static void preload ()
 Pre-loads all modules containing UI information. More...
 

Public Attributes

NotebookBarAddonsItem m_pNotebookBarAddonsItem
 

Private Types

typedef StringPair RadioButtonGroupMap
 
typedef UStringPair TextBufferMap
 
typedef UStringPair WidgetAdjustmentMap
 
typedef UStringPair ButtonMenuMap
 
typedef UStringPair MnemonicWidgetMap
 
typedef stringmap TextBuffer
 
typedef stringmap Adjustment
 
typedef std::map< OString, stockinfoStockMap
 
typedef std::map< VclPtr< vcl::Window >, stringmapAtkMap
 

Private Member Functions

 VclBuilder (const VclBuilder &)=delete
 
VclBuilderoperator= (const VclBuilder &)=delete
 
const ListStoreget_model_by_name (const OString &sID) const
 
void mungeModel (ListBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId)
 
void mungeModel (ComboBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId)
 
void mungeModel (SvTabListBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId)
 
const TextBufferget_buffer_by_name (const OString &sID) const
 
const Adjustmentget_adjustment_by_name (const OString &sID) const
 
vcl::Windowget_by_name (const OString &sID)
 
void delete_by_name (const OString &sID)
 
 DECL_LINK (ResponseHdl,::Button *, void)
 
VclPtr< vcl::WindowinsertObject (vcl::Window *pParent, const OString &rClass, const OString &rID, stringmap &rProps, stringmap &rPangoAttributes, stringmap &rAtkProps)
 
VclPtr< vcl::WindowmakeObject (vcl::Window *pParent, const OString &rClass, const OString &rID, stringmap &rVec)
 
void connectNumericFormatterAdjustment (const OString &id, const OUString &rAdjustment)
 
void connectFormattedFormatterAdjustment (const OString &id, const OUString &rAdjustment)
 
void connectTimeFormatterAdjustment (const OString &id, const OUString &rAdjustment)
 
void connectDateFormatterAdjustment (const OString &id, const OUString &rAdjustment)
 
void extractGroup (const OString &id, stringmap &rVec)
 
void extractModel (const OString &id, stringmap &rVec)
 
void extractBuffer (const OString &id, stringmap &rVec)
 
void extractButtonImage (const OString &id, stringmap &rMap, bool bRadio)
 
void extractStock (const OString &id, stringmap &rMap)
 
void extractMnemonicWidget (const OString &id, stringmap &rMap)
 
void handleChild (vcl::Window *pParent, xmlreader::XmlReader &reader)
 
VclPtr< vcl::WindowhandleObject (vcl::Window *pParent, xmlreader::XmlReader &reader)
 
void handlePacking (vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader)
 
void applyPackingProperty (vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader)
 
void collectProperty (xmlreader::XmlReader &reader, stringmap &rVec) const
 
void insertMenuObject (PopupMenu *pParent, PopupMenu *pSubMenu, const OString &rClass, const OString &rID, stringmap &rProps, accelmap &rAccels)
 
void handleMenuChild (PopupMenu *pParent, xmlreader::XmlReader &reader)
 
void handleMenuObject (PopupMenu *pParent, xmlreader::XmlReader &reader)
 
void handleListStore (xmlreader::XmlReader &reader, const OString &rID, const OString &rClass)
 
void handleRow (xmlreader::XmlReader &reader, const OString &rID)
 
void handleTabChild (vcl::Window *pParent, xmlreader::XmlReader &reader)
 
void handleMenu (xmlreader::XmlReader &reader, const OString &rID)
 
std::vector< ComboBoxTextItemhandleItems (xmlreader::XmlReader &reader) const
 
void handleSizeGroup (xmlreader::XmlReader &reader)
 
void handleAtkObject (xmlreader::XmlReader &reader, vcl::Window *pWindow)
 
void handleActionWidget (xmlreader::XmlReader &reader)
 
PackingData get_window_packing_data (const vcl::Window *pWindow) const
 
void set_window_packing_position (const vcl::Window *pWindow, sal_Int32 nPosition)
 
void cleanupWidgetOwnScrolling (vcl::Window *pScrollParent, vcl::Window *pWindow, stringmap &rMap)
 
void set_response (const OString &sID, short nResponse)
 
OString get_by_window (const vcl::Window *pWindow) const
 
void delete_by_window (vcl::Window *pWindow)
 

Static Private Member Functions

static void mungeTextBuffer (VclMultiLineEdit &rTarget, const TextBuffer &rTextBuffer)
 
static void mungeAdjustment (NumericFormatter &rTarget, const Adjustment &rAdjustment)
 
static void mungeAdjustment (FormattedField &rTarget, const Adjustment &rAdjustment)
 
static void mungeAdjustment (DateField &rTarget, const Adjustment &rAdjustment)
 
static void mungeAdjustment (TimeField &rTarget, const Adjustment &rAdjustment)
 
static void mungeAdjustment (ScrollBar &rTarget, const Adjustment &rAdjustment)
 
static void mungeAdjustment (Slider &rTarget, const Adjustment &rAdjustment)
 
static bool extractAdjustmentToMap (const OString &id, stringmap &rVec, std::vector< WidgetAdjustmentMap > &rAdjustmentMap)
 
static std::vector< vcl::EnumContext::ContexthandleStyle (xmlreader::XmlReader &reader, int &nPriority)
 
static OString getStyleClass (xmlreader::XmlReader &reader)
 
static void collectPangoAttribute (xmlreader::XmlReader &reader, stringmap &rMap)
 
static void collectAtkRelationAttribute (xmlreader::XmlReader &reader, stringmap &rMap)
 
static void collectAtkRoleAttribute (xmlreader::XmlReader &reader, stringmap &rMap)
 
static void collectAccelerator (xmlreader::XmlReader &reader, accelmap &rMap)
 
static vcl::WindowprepareWidgetOwnScrolling (vcl::Window *pParent, WinBits &rWinStyle)
 

Private Attributes

std::vector< std::unique_ptr< OUString > > m_aUserData
 
stringmap m_aDeferredProperties
 
std::vector< WinAndIdm_aChildren
 
std::vector< MenuAndIdm_aMenus
 
OString m_sID
 
OString m_sHelpRoot
 
ResHookProc const m_pStringReplace
 
VclPtr< vcl::Windowm_pParent
 
bool m_bToplevelHasDeferredInit
 
bool m_bToplevelHasDeferredProperties
 
bool m_bToplevelParentFound
 
bool const m_bLegacy
 
std::unique_ptr< ParserStatem_pParserState
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold). More...
 

Detailed Description

Definition at line 62 of file builder.hxx.

Member Typedef Documentation

typedef std::map<OString, std::pair<OString, OString> > VclBuilder::accelmap

Definition at line 66 of file builder.hxx.

Definition at line 229 of file builder.hxx.

Definition at line 255 of file builder.hxx.

Definition at line 197 of file builder.hxx.

typedef void(* VclBuilder::customMakeWidget) (VclPtr< vcl::Window > &rRet, VclPtr< vcl::Window > &pParent, stringmap &rVec)

These functions create a new widget with parent pParent and return it in rRet.

Definition at line 68 of file builder.hxx.

Definition at line 198 of file builder.hxx.

Definition at line 180 of file builder.hxx.

typedef std::map<OString, stockinfo> VclBuilder::StockMap
private

Definition at line 246 of file builder.hxx.

typedef std::map<OString, OUString> VclBuilder::stringmap

Definition at line 65 of file builder.hxx.

Definition at line 224 of file builder.hxx.

Definition at line 195 of file builder.hxx.

Definition at line 196 of file builder.hxx.

Constructor & Destructor Documentation

VclBuilder::VclBuilder ( vcl::Window pParent,
const OUString &  sUIRootDir,
const OUString &  sUIFile,
const OString &  sID = OString(),
const css::uno::Reference< css::frame::XFrame > &  rFrame = css::uno::Reference<css::frame::XFrame>(),
bool  bLegacy = true,
const NotebookBarAddonsItem aNotebookBarAddonsItem = NotebookBarAddonsItem() 
)

Definition at line 402 of file builder.cxx.

References vcl::Window::add_to_size_group(), CrashReporter::AddKeyValue(), DBG_UNHANDLED_EXCEPTION, delete_by_name(), delete_by_window(), DONTKNOW, eType, get_adjustment_by_name(), get_buffer_by_name(), get_by_name(), get_menu(), get_model_by_name(), FixedImage::GetImage(), Control::GetOptimalSize(), GetReadStringHook(), BuilderUtils::getRoleFromName(), vcl::Window::GetStyle(), vcl::Window::GetText(), vcl::Window::GetType(), vcl::Window::GetWindow(), RadioButton::group(), handleChild(), Size::Height(), IMAGE, vcl::Window::IsDialog(), vcl::Window::IsDockingWindow(), vcl::Window::IsSystemWindow(), LastChild, m_aChildren, m_bLegacy, m_bToplevelHasDeferredInit, m_bToplevelHasDeferredProperties, m_bToplevelParentFound, VclBuilder::stockinfo::m_nSize, m_pNotebookBarAddonsItem, m_pParent, m_pParserState, m_sHelpRoot, m_sID, VclBuilder::stockinfo::m_sStock, mungeAdjustment(), mungeModel(), mungeTextBuffer(), OUStringToOString(), SAL_WARN, SAL_WARN_IF, vcl::Window::set_height_request(), FixedText::set_mnemonic_widget(), vcl::Window::set_width_request(), vcl::Window::SetAccessibleRelationLabeledBy(), vcl::Window::SetAccessibleRelationLabelFor(), vcl::Window::SetAccessibleRelationMemberOf(), vcl::Window::SetAccessibleRole(), FixedImage::SetImage(), Button::SetModeImage(), RadioButton::SetModeRadioImage(), MenuButton::SetPopupMenu(), Button::SetSmallSymbol(), vcl::Window::SetStyle(), PushButton::SetSymbol(), WB_DEFBUTTON, WB_SMALLSTYLE, Size::Width(), and Yes.

VclBuilder::~VclBuilder ( )

Definition at line 787 of file builder.cxx.

References disposeBuilder().

VclBuilder::VclBuilder ( const VclBuilder )
privatedelete

Member Function Documentation

void VclBuilder::applyPackingProperty ( vcl::Window pCurrent,
vcl::Window pParent,
xmlreader::XmlReader reader 
)
private
void VclBuilder::cleanupWidgetOwnScrolling ( vcl::Window pScrollParent,
vcl::Window pWindow,
stringmap rMap 
)
private
void VclBuilder::collectAccelerator ( xmlreader::XmlReader reader,
accelmap rMap 
)
staticprivate
void VclBuilder::collectAtkRelationAttribute ( xmlreader::XmlReader reader,
stringmap rMap 
)
staticprivate
void VclBuilder::collectAtkRoleAttribute ( xmlreader::XmlReader reader,
stringmap rMap 
)
staticprivate
void VclBuilder::collectPangoAttribute ( xmlreader::XmlReader reader,
stringmap rMap 
)
staticprivate
void VclBuilder::collectProperty ( xmlreader::XmlReader reader,
stringmap rVec 
) const
private
void VclBuilder::connectDateFormatterAdjustment ( const OString &  id,
const OUString &  rAdjustment 
)
private

Definition at line 1409 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::connectFormattedFormatterAdjustment ( const OString &  id,
const OUString &  rAdjustment 
)
private

Definition at line 1397 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::connectNumericFormatterAdjustment ( const OString &  id,
const OUString &  rAdjustment 
)
private

Definition at line 1391 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::connectTimeFormatterAdjustment ( const OString &  id,
const OUString &  rAdjustment 
)
private

Definition at line 1403 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

VclBuilder::DECL_LINK ( ResponseHdl  ,
::Button ,
void   
)
private
void VclBuilder::delete_by_name ( const OString &  sID)
private

Definition at line 4151 of file builder.cxx.

Referenced by VclBuilder().

void VclBuilder::delete_by_window ( vcl::Window pWindow)
private

Definition at line 4162 of file builder.cxx.

References VclReferenceBase::disposeOnce().

Referenced by VclBuilder().

void VclBuilder::disposeBuilder ( )

releases references and disposes all children.

Definition at line 792 of file builder.cxx.

References VclPtr< reference_type >::clear(), m_aChildren, m_aMenus, and m_pParent.

Referenced by ~VclBuilder().

void VclBuilder::drop_ownership ( const vcl::Window pWindow)

Definition at line 4168 of file builder.cxx.

bool VclBuilder::extractAdjustmentToMap ( const OString &  id,
VclBuilder::stringmap rMap,
std::vector< WidgetAdjustmentMap > &  rAdjustmentMap 
)
staticprivate

Definition at line 1415 of file builder.cxx.

Referenced by makeObject().

void VclBuilder::extractBuffer ( const OString &  id,
stringmap rVec 
)
private

Definition at line 1490 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::extractButtonImage ( const OString &  id,
stringmap rMap,
bool  bRadio 
)
private

Definition at line 1518 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::extractGroup ( const OString &  id,
stringmap rVec 
)
private

Definition at line 1377 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::extractMnemonicWidget ( const OString &  id,
stringmap rMap 
)
private

Definition at line 1528 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::extractModel ( const OString &  id,
stringmap rVec 
)
private

Definition at line 1479 of file builder.cxx.

References m_pParserState.

Referenced by makeObject().

void VclBuilder::extractStock ( const OString &  id,
stringmap rMap 
)
private

Definition at line 1500 of file builder.cxx.

References VclBuilder::stockinfo::m_nSize, m_pParserState, and VclBuilder::stockinfo::m_sStock.

Referenced by makeObject().

template<typename T >
T * VclBuilder::get ( VclPtr< T > &  ret,
const OString &  sID 
)
inline
template<typename T >
T * VclBuilder::get ( const OString &  sID)
inline

Definition at line 440 of file builder.hxx.

References get_by_name(), name, SAL_WARN_IF, and w.

const VclBuilder::Adjustment * VclBuilder::get_adjustment_by_name ( const OString &  sID) const
private

Definition at line 4229 of file builder.cxx.

Referenced by VclBuilder().

const VclBuilder::TextBuffer * VclBuilder::get_buffer_by_name ( const OString &  sID) const
private

Definition at line 4221 of file builder.cxx.

Referenced by VclBuilder().

vcl::Window * VclBuilder::get_by_name ( const OString &  sID)
private

Definition at line 4086 of file builder.cxx.

Referenced by get(), and VclBuilder().

OString VclBuilder::get_by_window ( const vcl::Window pWindow) const
private

Definition at line 4176 of file builder.cxx.

Referenced by makeObject().

PopupMenu * VclBuilder::get_menu ( const OString &  sID)

Definition at line 4097 of file builder.cxx.

Referenced by VclBuilder().

const VclBuilder::ListStore * VclBuilder::get_model_by_name ( const OString &  sID) const
private

Definition at line 4213 of file builder.cxx.

Referenced by VclBuilder().

vcl::Window * VclBuilder::get_widget_root ( )

Definition at line 4081 of file builder.cxx.

Referenced by UIPreviewApp::Main().

VclBuilder::PackingData VclBuilder::get_window_packing_data ( const vcl::Window pWindow) const
private

Definition at line 4187 of file builder.cxx.

References vcl::Window::ImplGetWindow().

OString VclBuilder::getStyleClass ( xmlreader::XmlReader reader)
staticprivate
const OString& VclBuilder::getUIFile ( ) const
inline

return UI-File name (without '.ui')

Definition at line 102 of file builder.hxx.

void VclBuilder::handleActionWidget ( xmlreader::XmlReader reader)
private
void VclBuilder::handleAtkObject ( xmlreader::XmlReader reader,
vcl::Window pWindow 
)
private
void VclBuilder::handleChild ( vcl::Window pParent,
xmlreader::XmlReader reader 
)
private
std::vector< ComboBoxTextItem > VclBuilder::handleItems ( xmlreader::XmlReader reader) const
private
void VclBuilder::handleListStore ( xmlreader::XmlReader reader,
const OString &  rID,
const OString &  rClass 
)
private
void VclBuilder::handleMenu ( xmlreader::XmlReader reader,
const OString &  rID 
)
private
void VclBuilder::handleMenuChild ( PopupMenu pParent,
xmlreader::XmlReader reader 
)
private
void VclBuilder::handleMenuObject ( PopupMenu pParent,
xmlreader::XmlReader reader 
)
private
VclPtr< vcl::Window > VclBuilder::handleObject ( vcl::Window pParent,
xmlreader::XmlReader reader 
)
private
void VclBuilder::handlePacking ( vcl::Window pCurrent,
vcl::Window pParent,
xmlreader::XmlReader reader 
)
private
void VclBuilder::handleRow ( xmlreader::XmlReader reader,
const OString &  rID 
)
private
void VclBuilder::handleSizeGroup ( xmlreader::XmlReader reader)
private
std::vector< vcl::EnumContext::Context > VclBuilder::handleStyle ( xmlreader::XmlReader reader,
int nPriority 
)
staticprivate
void VclBuilder::handleTabChild ( vcl::Window pParent,
xmlreader::XmlReader reader 
)
private
void VclBuilder::insertMenuObject ( PopupMenu pParent,
PopupMenu pSubMenu,
const OString &  rClass,
const OString &  rID,
stringmap rProps,
accelmap rAccels 
)
private
VclPtr< vcl::Window > VclBuilder::insertObject ( vcl::Window pParent,
const OString &  rClass,
const OString &  rID,
stringmap rProps,
stringmap rPangoAttributes,
stringmap rAtkProps 
)
private
VclPtr< vcl::Window > VclBuilder::makeObject ( vcl::Window pParent,
const OString &  rClass,
const OString &  rID,
stringmap rVec 
)
private

Definition at line 1624 of file builder.cxx.

References AUTOCHECK, CENTER, CHECKABLE, cleanupWidgetOwnScrolling(), CLICKABLE, connectDateFormatterAdjustment(), connectFormattedFormatterAdjustment(), connectNumericFormatterAdjustment(), connectTimeFormatterAdjustment(), VclPtr< reference_type >::Create(), Dialog::Default, DOWNARROW, DROPDOWN, ComboBox::EnableAutoSize(), ListBox::EnableAutoSize(), CheckBox::EnableTriState(), BuilderUtils::ensureDefaultWidthChars(), extractAdjustmentToMap(), extractBuffer(), extractButtonImage(), BuilderUtils::extractCustomProperty(), BuilderUtils::extractDropdown(), extractGroup(), extractMnemonicWidget(), extractModel(), extractStock(), VclPtr< reference_type >::get(), get_by_window(), SvHeaderTabListBox::GetHeaderBar(), vcl::Window::GetHelpId(), ToolBox::GetItemCount(), ToolBox::GetItemId(), TabControl::GetPageCount(), VerticalTabControl::GetPageParent(), vcl::Window::GetType(), ToolBox::HideItem(), vcl::Window::ImplGetWindowImpl(), SvHeaderTabListBox::InitHeaderBar(), ToolBox::InsertItem(), TabControl::InsertPage(), ToolBox::InsertSeparator(), LEFT, LEFTIMAGE, FixedImage::loadThemeImage(), m_aChildren, m_bLegacy, m_pNotebookBarAddonsItem, m_pParserState, m_sHelpRoot, m_xFrame, NotebookBarAddonsMerger::MergeNotebookBarAddons(), WindowImpl::mpBorderWindow, WindowImpl::mpParent, WindowImpl::mpRealParent, NONE, Dialog::NoParent, prepareWidgetOwnScrolling(), RADIOCHECK, RIGHT, SAL_DLLEXTENSION, SAL_DLLPREFIX, SAL_INFO, SAL_INFO_IF, SAL_WARN, SAL_WARN_IF, vcl::Window::set_border_width(), vcl::Window::set_expand(), vcl::Window::set_width_request(), vcl::Window::SetAccessibleRole(), TabControl::SetCurPageId(), MetricFormatter::SetCustomUnitText(), NumericFormatter::SetDecimalDigits(), PushButton::SetDropDown(), SvTreeListBox::SetEntryHeight(), ToolBox::SetHelpId(), vcl::Window::SetHelpId(), SvTreeListBox::SetHighlightRange(), Button::SetImageAlign(), ToolBox::SetItemCommand(), ToolBox::SetItemImage(), FormattedField::SetMinValue(), SvTreeListBox::SetNoAutoCurEntry(), ToolBox::SetQuickHelpText(), SvTreeListBox::SetQuickSearch(), SvTreeListBox::SetSpaceBetweenEntries(), CheckBox::SetState(), TabControl::SetTabPage(), vcl::Window::SetText(), vcl::Window::SetType(), MetricFormatter::SetUnit(), MetricField::SetUnit(), vcl::Window::Show(), SVLIBRARY, thisModule(), TRISTATE_INDET, void(), WB_3DLOOK, WB_BORDER, WB_BUTTONSTYLE, WB_CENTER, WB_CLIPCHILDREN, WB_CLOSEABLE, WB_DOCKABLE, WB_DROPDOWN, WB_HIDESELECTION, WB_HORZ, WB_LEFT, WB_MOVEABLE, WB_NOLABEL, WB_REPEAT, WB_SCALE, WB_SIMPLEMODE, WB_SIZEABLE, WB_SPIN, WB_STDTABCONTROL, WB_TABSTOP, WB_VCENTER, WB_VERT, and WB_WORDBREAK.

void VclBuilder::mungeAdjustment ( NumericFormatter rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeAdjustment ( FormattedField rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeAdjustment ( DateField rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeAdjustment ( TimeField rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeAdjustment ( ScrollBar rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeAdjustment ( Slider rTarget,
const Adjustment rAdjustment 
)
staticprivate
void VclBuilder::mungeModel ( ListBox rTarget,
const ListStore rStore,
sal_uInt16  nActiveId 
)
private
void VclBuilder::mungeModel ( ComboBox rTarget,
const ListStore rStore,
sal_uInt16  nActiveId 
)
private
void VclBuilder::mungeModel ( SvTabListBox rTarget,
const ListStore rStore,
sal_uInt16  nActiveId 
)
private
void VclBuilder::mungeTextBuffer ( VclMultiLineEdit rTarget,
const TextBuffer rTextBuffer 
)
staticprivate

Definition at line 4499 of file builder.cxx.

References SAL_INFO, and VclMultiLineEdit::SetText().

Referenced by VclBuilder().

VclBuilder& VclBuilder::operator= ( const VclBuilder )
privatedelete
void VclBuilder::preload ( )
static

Pre-loads all modules containing UI information.

Definition at line 1593 of file builder.cxx.

References SAL_DLLEXTENSION, SAL_DLLPREFIX, SVLIBRARY, and thisModule().

vcl::Window * VclBuilder::prepareWidgetOwnScrolling ( vcl::Window pParent,
WinBits rWinStyle 
)
staticprivate
void VclBuilder::set_response ( const OString &  sID,
short  nResponse 
)
private
void VclBuilder::set_window_packing_position ( const vcl::Window pWindow,
sal_Int32  nPosition 
)
private

Definition at line 4204 of file builder.cxx.

void VclBuilder::setDeferredProperties ( )

Member Data Documentation

std::vector<WinAndId> VclBuilder::m_aChildren
private

Definition at line 147 of file builder.hxx.

Referenced by disposeBuilder(), makeObject(), and VclBuilder().

stringmap VclBuilder::m_aDeferredProperties
private

Definition at line 122 of file builder.hxx.

Referenced by setDeferredProperties().

std::vector<MenuAndId> VclBuilder::m_aMenus
private

Definition at line 156 of file builder.hxx.

Referenced by disposeBuilder().

std::vector<std::unique_ptr<OUString> > VclBuilder::m_aUserData
private

Definition at line 115 of file builder.hxx.

bool const VclBuilder::m_bLegacy
private

Definition at line 309 of file builder.hxx.

Referenced by makeObject(), and VclBuilder().

bool VclBuilder::m_bToplevelHasDeferredInit
private

Definition at line 306 of file builder.hxx.

Referenced by VclBuilder().

bool VclBuilder::m_bToplevelHasDeferredProperties
private

Definition at line 307 of file builder.hxx.

Referenced by setDeferredProperties(), and VclBuilder().

bool VclBuilder::m_bToplevelParentFound
private

Definition at line 308 of file builder.hxx.

Referenced by VclBuilder().

NotebookBarAddonsItem VclBuilder::m_pNotebookBarAddonsItem

Definition at line 80 of file builder.hxx.

Referenced by makeObject(), and VclBuilder().

VclPtr<vcl::Window> VclBuilder::m_pParent
private

Definition at line 305 of file builder.hxx.

Referenced by disposeBuilder(), setDeferredProperties(), and VclBuilder().

std::unique_ptr<ParserState> VclBuilder::m_pParserState
private
ResHookProc const VclBuilder::m_pStringReplace
private

Definition at line 304 of file builder.hxx.

OString VclBuilder::m_sHelpRoot
private

Definition at line 303 of file builder.hxx.

Referenced by makeObject(), and VclBuilder().

OString VclBuilder::m_sID
private

Definition at line 302 of file builder.hxx.

Referenced by VclBuilder().

css::uno::Reference<css::frame::XFrame> VclBuilder::m_xFrame
private

XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold).

Definition at line 328 of file builder.hxx.

Referenced by makeObject().


The documentation for this class was generated from the following files: