summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/frmdlg/column.cxx4
-rw-r--r--sw/source/uibase/inc/column.hxx3
2 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index db28e793044a..af6561a7a594 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -435,6 +435,10 @@ SwColumnPage::SwColumnPage(vcl::Window *pParent, const SfxItemSet &rSet)
connectPercentField(m_aDistEd1, "spacing1mf");
connectPercentField(m_aDistEd2, "spacing2mf");
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_LTR ), SvxFrameDirection::Horizontal_LR_TB );
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_RTL ), SvxFrameDirection::Horizontal_RL_TB );
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_SUPER ), SvxFrameDirection::Environment );
+
SetExchangeSupport();
m_pDefaultVS->SetColCount( 5 );
diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx
index 531a914c3445..f64843fecd03 100644
--- a/sw/source/uibase/inc/column.hxx
+++ b/sw/source/uibase/inc/column.hxx
@@ -32,6 +32,7 @@
#include <sfx2/basedlgs.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/colorbox.hxx>
+#include <svx/frmdirlbox.hxx>
#include <fmtclbl.hxx>
#include "colex.hxx"
#include "prcntfld.hxx"
@@ -114,7 +115,7 @@ class SwColumnPage : public SfxTabPage
VclPtr<ListBox> m_pLinePosDLB;
VclPtr<FixedText> m_pTextDirectionFT;
- VclPtr<ListBox> m_pTextDirectionLB;
+ VclPtr<svx::FrameDirectionListBox> m_pTextDirectionLB;
// Example
VclPtr<SwColExample> m_pPgeExampleWN;