summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfexport.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-24 07:40:14 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-24 07:40:58 +0200
commit0d7d6f242ef87c976095d22a7f5ebf751ba77ad8 (patch)
tree1ad3cb45e42b68caf18eefd18aa2c91dc796aee1 /sw/source/filter/ww8/rtfexport.cxx
parent17cf36bf72afc4a22a6d917bfcee9cddfd29779b (diff)
Related: tdf#92521 RTF export: handle section break right after a table
Change-Id: Ibb6e612165ec6e5d771bdf9efa13a88a72233d6f
Diffstat (limited to 'sw/source/filter/ww8/rtfexport.cxx')
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 8fec63d80f17..8d79e044e91a 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -772,6 +772,13 @@ bool RtfExport::DisallowInheritingOutlineNumbering(const SwFormat& rFormat)
return bRet;
}
+void RtfExport::OutputEndNode(const SwEndNode& rEndNode)
+{
+ if (TXT_MAINTEXT == m_nTextTyp && rEndNode.StartOfSectionNode()->IsTableNode())
+ // End node of a table: see if a section break should be written after the table.
+ AttrOutput().SectionBreaks(rEndNode);
+}
+
void RtfExport::OutputGrfNode(const SwGrfNode&)
{
/* noop, see RtfAttributeOutput::FlyFrameGraphic */