diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2013-03-16 16:35:34 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-02 12:33:23 +0000 |
commit | df311b82a3df1576732dcf74a45c47316d31f7ee (patch) | |
tree | cb983df43c0cfb7500ac77de44a90b6c75012a9c /svx/source/dialog/dialcontrol.cxx | |
parent | 299586c998a571029cceb35d7b1528f940f530ad (diff) |
Widget UI for Calc cell alignment page
Format - cell, alignment tab
Change-Id: I78e4252064671720d41ad3af086b41d2efe06ac1
Reviewed-on: https://gerrit.libreoffice.org/2773
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 95f67deb8fef..a5a1eac5011f 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -25,6 +25,7 @@ #include <vcl/bitmap.hxx> #include <vcl/field.hxx> #include <svtools/colorcfg.hxx> +#include <vcl/builder.hxx> namespace svx { @@ -289,10 +290,22 @@ DialControl::DialControl( Window* pParent, const ResId& rResId ) : Init( GetOutputSizePixel() ); } +DialControl::DialControl( Window* pParent, WinBits nBits ) : + Control( pParent, nBits ), + mpImpl( new DialControl_Impl( *this ) ) +{ + Init( GetOutputSizePixel() ); +} + DialControl::~DialControl() { } +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeDialControl(Window *pParent, VclBuilder::stringmap &) +{ + return new DialControl(pParent, WB_BORDER | WB_TABSTOP); +} + void DialControl::Paint( const Rectangle& ) { Point aPos; |