diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-01-11 14:38:12 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-01-14 15:50:07 +0000 |
commit | 8c178a50334109b34ef456ca6aa51cd3d98699ae (patch) | |
tree | 4cb8deae7a1df16e47295f3ea291b71858a78335 | |
parent | ee9f23bb94b4c2c8c4db6466ecca272a092e9492 (diff) |
docx export: also export rPr in <pPr> (paragraph mark styling)
Change-Id: I179363e7d0acc3d6a1f95dcfe975275a9243e863
Reviewed-on: https://gerrit.libreoffice.org/1649
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 273287b5a2d5..e72e9241a63c 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -442,6 +442,9 @@ void DocxAttributeOutput::EndParagraphProperties() { WriteCollectedParagraphProperties(); + // insert copy of <rPr> + m_pSerializer->copyTopMarkPop(); + m_pSerializer->endElementNS( XML_w, XML_pPr ); if ( m_nColBreakStatus == COLBRK_WRITE ) @@ -973,6 +976,9 @@ void DocxAttributeOutput::EndRunProperties( const SwRedlineData* /*pRedlineData* m_pSerializer->endElementNS( XML_w, XML_rPr ); + // Clone <rPr>...</rPr> for later re-use, in pPr + m_pSerializer->copyTopMarkPush(); + // write footnotes/endnotes if we have any FootnoteEndnoteReference(); |