[Libreoffice-commits] core.git: cui/source sw/uiconfig

Khaled Hosny khaledhosny at eglug.org
Sat Oct 29 13:19:22 UTC 2016


 cui/source/tabpages/page.cxx         |    2 +-
 sw/uiconfig/swriter/ui/frmaddpage.ui |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 930a3d462b05e111da37d31de7f60998ce9454b3
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Fri Oct 28 18:48:25 2016 +0200

    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 at 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 at eglug.org>
    Tested-by: Khaled Hosny <khaledhosny at eglug.org>

diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 0c9d42a..0ddcd6d 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 a0822a5..fae37d0 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>


More information about the Libreoffice-commits mailing list