Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1649
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/49/1649/1
docx export: also export rPr in <pPr> (paragraph mark styling)
Change-Id: I179363e7d0acc3d6a1f95dcfe975275a9243e863
---
M sw/source/filter/ww8/docxattributeoutput.cxx
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx
b/sw/source/filter/ww8/docxattributeoutput.cxx
index b97b368..aefd172 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -442,6 +442,9 @@
{
WriteCollectedParagraphProperties();
+ // insert copy of <rPr>
+ m_pSerializer->copyTopMarkPop();
+
m_pSerializer->endElementNS( XML_w, XML_pPr );
if ( m_nColBreakStatus == COLBRK_WRITE )
@@ -973,6 +976,9 @@
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();
--
To view, visit https://gerrit.libreoffice.org/1649
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I179363e7d0acc3d6a1f95dcfe975275a9243e863
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>
Context
- [PATCH] docx export: also export rPr in <pPr> (paragraph mark stylin... · Pierre-Eric Pelloux-Prayer (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.