Files
loongoffice/include/xmloff
Michael Stahl 0451019f75 OFFICE-2102: ODF export: write <text:s> after non-mark elements too
... and fix the wrong export for <text:meta-field>, which erroneously
did not use the same bIsPrevCharSpace flag as everything else (which was
obviously a bug, as there should be one flag per paragraph).

Interop testing demonstrates that at least Word and Calligra Words
differ in their interpretation of spaces following <draw:frame> and
other shape elements, and <text:note>: if there is a U+0020 space
before the element, LO will not collapse a U+0020 space behind the
element but Word and Calligra Words do collapse it.

The distinction between "mark elements" and "non-mark elements" in the
whitespace collapsing implementation in OOo since the beginning was
never explicitly spelled out in ODF, although listing the
<text:bookmark> etc. elements in ODF 1.1, 5.1.1 was a strong hint.

Fortunately all 3 applications agree that a <text:s> following a
<draw:frame> is consumed as a space, and it is valid to write a <text:s>
in this situation, so just do that to improve interoperability.

Change-Id: I42260c0528db9fe7e87e8dbae5105aeadb83780d
2017-04-11 16:56:38 +02:00
..
2017-04-04 06:38:38 +00:00
2017-03-03 06:56:42 +00:00
2017-02-21 10:07:37 +00:00
2017-03-03 20:55:50 +00:00
2017-03-31 06:59:51 +00:00
2017-01-07 10:08:48 +00:00
2017-03-29 11:43:40 +00:00
2017-01-23 10:22:21 +00:00
2017-02-03 08:59:39 +00:00
2017-03-31 06:59:51 +00:00