summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 9bdba927e7bc..13fa1c56272f 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -2244,6 +2244,14 @@ void WW8AttributeOutput::TableOrientation( ww8::WW8TableNodeInfoInner::Pointer_t
m_rWW8Export.InsUInt16( 2 );
}
break;
+ case text::HoriOrientation::LEFT_AND_WIDTH:
+ // Width can only be specified for the LOGICAL left, so in RTL, that is always PHYSICAL right
+ if ( bIsRTL )
+ {
+ m_rWW8Export.InsUInt16( NS_sprm::sprmTJc90 ); //required for LO
+ m_rWW8Export.InsUInt16( 2 );
+ }
+ break;
default:
break;
}