From be92468ae3595d4384510a9cc0e15629c7cb0692 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 14 Aug 2019 23:01:07 +0200 Subject: sw btlr writing mode: RTF filter of Writer textframes Both import and export needed fixing. Change-Id: Ie1728c3e67d8637e3720748d7f61a69c058eafe3 Reviewed-on: https://gerrit.libreoffice.org/77474 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/source/filter/ww8/rtfattributeoutput.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sw/source') diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 81875b744fb1..85b775ad5bb1 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -3531,6 +3531,11 @@ void RtfAttributeOutput::FormatFrameDirection(const SvxFrameDirectionItem& rDire // Top to bottom non-ASCII font m_aFlyProperties.push_back(std::make_pair("txflTextFlow", "3")); } + else if (rDirection.GetValue() == SvxFrameDirection::Vertical_LR_BT) + { + // Bottom to top non-ASCII font + m_aFlyProperties.push_back(std::make_pair("txflTextFlow", "2")); + } return; } -- cgit