summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-10-28 18:48:25 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-10-29 13:18:57 +0000
commit930a3d462b05e111da37d31de7f60998ce9454b3 (patch)
tree1c670ba21686db4f5438a65cfb9e7a4aaf6575a4
parentbb615bc1462e5a48c368b51b0250138558882845 (diff)
tdf#33278: Enable UI for vertical left-to-right
Used mainly for traditional Mongolian. This has been disable since 2010 (shortly after the code was merged): commit faf68cc7565cb2662d4ed5b5902ec52975d99865 Author: Mathias Bauer <mba@openoffice.org> Date: Fri Jun 25 11:10:43 2010 +0200 CWS mongolianlayout: disable new direction until problems are fixed No idea what the problems are, but lets enable it and see what happens (the actual layout code have been enabled all the time and one can always manually craft ODT files that use it anyway). Change-Id: Id38d1735013d451f9fe116876483df3484dec051 Reviewed-on: https://gerrit.libreoffice.org/30364 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
-rw-r--r--cui/source/tabpages/page.cxx2
-rw-r--r--sw/uiconfig/swriter/ui/frmaddpage.ui4
2 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 0c9d42a68e07..0ddcd6d7d93f 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -255,7 +255,7 @@ SvxPageDescPage::SvxPageDescPage( vcl::Window* pParent, const SfxItemSet& rAttr
if( bCJK )
{
m_pTextFlowBox->InsertEntryValue( CUI_RESSTR( RID_SVXSTR_PAGEDIR_RTL_VERT ), FRMDIR_VERT_TOP_RIGHT );
-// m_pTextFlowBox->InsertEntryValue( CUI_RESSTR( RID_SVXSTR_PAGEDIR_LTR_VERT ), FRMDIR_VERT_TOP_LEFT );
+ m_pTextFlowBox->InsertEntryValue( CUI_RESSTR( RID_SVXSTR_PAGEDIR_LTR_VERT ), FRMDIR_VERT_TOP_LEFT );
}
}
diff --git a/sw/uiconfig/swriter/ui/frmaddpage.ui b/sw/uiconfig/swriter/ui/frmaddpage.ui
index a0822a58c50f..fae37d0c4920 100644
--- a/sw/uiconfig/swriter/ui/frmaddpage.ui
+++ b/sw/uiconfig/swriter/ui/frmaddpage.ui
@@ -517,6 +517,10 @@
<col id="1">2</col>
</row>
<row>
+ <col id="0" translatable="yes">Left-to-right (vertical)</col>
+ <col id="1">3</col>
+ </row>
+ <row>
<col id="0" translatable="yes">Use superordinate object settings</col>
<col id="1">4</col>
</row>