summaryrefslogtreecommitdiff
path: root/include/vcl/builder.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-05-30 18:25:09 +0200
committerJan Holesovsky <kendy@suse.cz>2013-06-02 04:54:54 +0200
commit6fe1ff54c667a4f669feee6954dd9b859fd442b2 (patch)
tree25076e5502ad6cbf44ffff9406887e9dfc4485cf /include/vcl/builder.hxx
parent4f14ed6d346a488976262e69fdbc2fd21881b659 (diff)
sidebar: Allow creation of toolboxes using Widget layout / .ui.
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r--include/vcl/builder.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 31a82418447a..d699d504278d 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -23,6 +23,8 @@
#include <boost/noncopyable.hpp>
#include <boost/ptr_container/ptr_map.hpp>
+#include <com/sun/star/frame/XFrame.hpp>
+
class ListBox;
class NumericFormatter;
class PopupMenu;
@@ -235,8 +237,13 @@ private:
}
bool operator()(const Window *pA, const Window *pB) const;
};
+
+ /// XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold).
+ com::sun::star::uno::Reference<com::sun::star::frame::XFrame> m_xFrame;
+
public:
- VclBuilder(Window *pParent, OUString sUIRootDir, OUString sUIFile, OString sID = OString());
+ VclBuilder(Window *pParent, OUString sUIRootDir, OUString sUIFile, OString sID = OString(),
+ const com::sun::star::uno::Reference<com::sun::star::frame::XFrame> &rFrame = com::sun::star::uno::Reference<com::sun::star::frame::XFrame>());
~VclBuilder();
Window *get_widget_root();
//sID must exist and be of type T