[Libreoffice-commits] core.git: include/svx sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri May 17 08:07:10 UTC 2019


 include/svx/strings.hrc         |    1 +
 sw/source/ui/frmdlg/frmpage.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 52e47276694575f119192f6ddafa69ec7a7eb6b4
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu May 16 22:07:03 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri May 17 10:06:18 2019 +0200

    sw btlr writing mode: implement UI for fly frames
    
    Change-Id: Id183dccb5802a1be0180471140266f3dd7a8123d
    Reviewed-on: https://gerrit.libreoffice.org/72428
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index 042d4d59aee0..7434d1e3f890 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1666,6 +1666,7 @@
 #define RID_SVXSTR_PAGEDIR_RTL_HORI                         NC_("RID_SVXSTR_PAGEDIR_RTL_HORI", "Right-to-left (horizontal)")
 #define RID_SVXSTR_PAGEDIR_RTL_VERT                         NC_("RID_SVXSTR_PAGEDIR_RTL_VERT", "Right-to-left (vertical)")
 #define RID_SVXSTR_PAGEDIR_LTR_VERT                         NC_("RID_SVXSTR_PAGEDIR_LTR_VERT", "Left-to-right (vertical)")
+#define RID_SVXSTR_PAGEDIR_LTR_BTT_VERT                     NC_("RID_SVXSTR_PAGEDIR_LTR_BTT_VERT", "Bottom-to-top, left-to-right (vertical)")
 
 #endif
 
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 4517fdf89392..7d99d3b0fcf9 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2802,6 +2802,7 @@ SwFrameAddPage::SwFrameAddPage(TabPageParent pParent, const SfxItemSet &rSet)
     m_xTextFlowLB->append(SvxFrameDirection::Horizontal_RL_TB, SvxResId(RID_SVXSTR_FRAMEDIR_RTL));
     m_xTextFlowLB->append(SvxFrameDirection::Vertical_RL_TB, SvxResId(RID_SVXSTR_PAGEDIR_RTL_VERT));
     m_xTextFlowLB->append(SvxFrameDirection::Vertical_LR_TB, SvxResId(RID_SVXSTR_PAGEDIR_LTR_VERT));
+    m_xTextFlowLB->append(SvxFrameDirection::Vertical_LR_BT, SvxResId(RID_SVXSTR_PAGEDIR_LTR_BTT_VERT));
     m_xTextFlowLB->append(SvxFrameDirection::Environment, SvxResId(RID_SVXSTR_FRAMEDIR_SUPER));
     m_xDescriptionED->set_size_request(-1, m_xDescriptionED->get_preferred_size().Height());
 }


More information about the Libreoffice-commits mailing list