Issue #1058: OpenXML Filter: DrawingML text line break repositioning on merge causes some documents to become corrupted (okapiframework/okapi)

5 views
Skip to first unread message

DenisKonovalyenko

unread,
May 12, 2021, 3:29:41 AM5/12/21
to okapi-...@googlegroups.com
New issue 1058: OpenXML Filter: DrawingML text line break repositioning on merge causes some documents to become corrupted
https://bitbucket.org/okapiframework/okapi/issues/1058/openxml-filter-drawingml-text-line-break

Denis Konovalyenko:

When the filter parameter `bPreferenceAddLineSeparatorAsCharacter.b=true` and there is a `a:p`>`a:br` in a document, it is written back as `a:p`>`a:r`>`a:br`. This causes the repairing dialogue to appear if additional formatting is applied to text before or after `a:br`.

For instance, if there is a PPTX document with the following UI:

![](https://bitbucket.org/repo/Bp79rx/images/3599603929-two-rows-ui.png)
it can be represented after round-tripping as:

![](https://bitbucket.org/repo/Bp79rx/images/741245549-two-rows-round-tripped-ui.png)
Here are the slide parts differences:

![](https://bitbucket.org/repo/Bp79rx/images/3573015097-two-rows-diff.png)


Furthermore, as it was noted, if extra formatting is involved, merged documents can’t be opened correctly by PowerPoint.

For more information please refer to the attached documents.

Responsible: Denis Konovalyenko

Reply all
Reply to author
Forward
0 new messages