summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-10 16:29:48 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-10 20:10:16 +0100
commit8f48f91009caa86d896f247059874242ed18bf39 (patch)
treeace1b39f63ca0f0228cb7fbc8c8b2c46728e3e7c /solenv
parent6e8ae79176be1c34cadc833c8e521be19455fade (diff)
ODT export: omit unreferenced <text:list xml:id="...">
This attribute is needed when a numbering is built using multiple, independent <text:list> elements. In that case the markup to connect these are either: <text:list text:style-name="L1"> </text:list> ... <text:list text:continue-numbering="true" text:style-name="L1"> </text:list> In case there is no other list in-between, or: <text:list xml:id="..." text:style-name="L1"> </text:list> ... <text:list text:continue-list="..." text:style-name="L1"> </text:list> In case there are other lists in-between. This means that at least in case all the text nodes of the numbering are after each other, then the random value in xml:id="..." is never referenced, so it can be omitted. This helps deterministic ODF output when the input is HTML, where there are never text:continue-list="..." attributes that would refer to these xml:id="..." attributes. Change-Id: Ice69422a12d4229879f89f3a4a24ed926c6d43af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131322 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'solenv')
0 files changed, 0 insertions, 0 deletions