summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-20 12:30:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-20 16:52:57 +0000
commitc38a1de224b911387fba74ae3039d634509085fb (patch)
tree2930f54003741c67e4c985d936f936aa547b06fe /svtools
parent2ecf108c23c041619bb8b25338dca84ff89fe8eb (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.cxx12
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 ) :