summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-11-01 11:25:19 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-11-06 09:31:43 +0100
commitc58b39b77dcafcf63872e7dc4270c7258072b193 (patch)
treea8b0116bb8e3d7b4c022c32cead07119bd1c52a9 /sw
parenta226cec52e536c46e03f57a5f1f7931abbeb0cdd (diff)
tdf#121661 Roundtrip w:hyphenationZone via InteropGrabBag
Change-Id: I097afb54ff31bd1c878231b51eac5af9f27d35e9 Reviewed-on: https://gerrit.libreoffice.org/81880 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 0185e98b5f0a..c6226fd130ab 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -1146,6 +1146,14 @@ void DocxExport::WriteSettings()
hasProtectionProperties = true;
}
}
+ else if (rProp.Name == "HyphenationZone")
+ {
+ sal_Int16 nHyphenationZone;
+ rProp.Value >>= nHyphenationZone;
+ if (nHyphenationZone > 0)
+ pFS->singleElementNS(XML_w, XML_hyphenationZone, FSNS(XML_w, XML_val),
+ OString::number(nHyphenationZone));
+ }
}
}