diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-20 12:30:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-20 16:52:57 +0000 |
commit | c38a1de224b911387fba74ae3039d634509085fb (patch) | |
tree | 2930f54003741c67e4c985d936f936aa547b06fe /svtools | |
parent | 2ecf108c23c041619bb8b25338dca84ff89fe8eb (diff) |
convert columns dialog (and sections/frame/page tab page) to .ui
Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 85eb235b1b44..e9872d7c8176 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -763,6 +763,18 @@ LineListBox::LineListBox( Window* pParent, WinBits nWinStyle ) : ImplInit(); } +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeLineListBox(Window *pParent, VclBuilder::stringmap &rMap) +{ + bool bDropdown = extractDropdown(rMap); + WinBits nWinBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_TABSTOP; + if (bDropdown) + nWinBits |= WB_DROPDOWN; + LineListBox *pListBox = new LineListBox(pParent, nWinBits); + if (bDropdown) + pListBox->EnableAutoSize(true); + return pListBox; +} + // ----------------------------------------------------------------------- LineListBox::LineListBox( Window* pParent, const ResId& rResId ) : |