diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 8b3adb4c5337..b3162aa9b628 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2114,13 +2114,19 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode ) sal_Int32 nAktPos = 0; sal_Int32 const nEnd = aStr.getLength(); + bool bIsEndOfCell = false; bool bIncludeEndOfParaCRInRedlineProperties = false; sal_Int32 nOpenAttrWithRange = 0; OUString aStringForImage("\001"); ww8::WW8TableNodeInfoInner::Pointer_t pTextNodeInfoInner; if ( pTextNodeInfo.get() != NULL ) + { pTextNodeInfoInner = pTextNodeInfo->getFirstInner(); + if ( pTextNodeInfoInner->isEndOfCell() ) { + bIsEndOfCell = true; + } + } do { const SwRedlineData* pRedlineData = aAttrIter.GetRunLevelRedline( nAktPos ); @@ -2323,6 +2329,11 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode ) } WriteCR( pTextNodeInfoInner ); + + if ( bIsEndOfCell ) + { + AttrOutput().OutputFKP(true); + } } } }