diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-05-29 13:34:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-05-29 20:10:50 +0200 |
commit | 566c7017a84e3d573de85a6d986b81d3f59de0fa (patch) | |
tree | e2f49ae4d7913e198d8ed758b0e2768009bb71d5 /sc/source/core/tool/orcusxml.cxx | |
parent | ff0cb77a6c9fec7127c26f63a420e877ac4f852e (diff) |
tdf#160984 sw continuous endnotes: DOCX: export of <w:endnotePr> pos == sectEndHEADmaster
In case a DOCX file is re-exported to Word and it collected endnotes at
section end, this setting was lost on save.
The relevant markup seems to be <w:endnotePr> -> <w:pos
w:val="sectEnd"/>, though that's a per-section setting in Writer, and is
a per-doc setting in Word.
Fix the problem by doing it similar to
DocxExport::WriteDocumentBackgroundFill(), which takes the first page
style in a similar case; here we take the first section format.
This is meant to be good enough for the DOCX editing case, where we know
all sections have the same endnote position properties anyway.
Change-Id: I95508296e31c9be34196bdc0da2177101647abf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168187
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sc/source/core/tool/orcusxml.cxx')
0 files changed, 0 insertions, 0 deletions