diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-05-30 18:25:09 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-06-02 04:54:54 +0200 |
commit | 6fe1ff54c667a4f669feee6954dd9b859fd442b2 (patch) | |
tree | 25076e5502ad6cbf44ffff9406887e9dfc4485cf /include/vcl/builder.hxx | |
parent | 4f14ed6d346a488976262e69fdbc2fd21881b659 (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.hxx | 9 |
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 |