diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-10-20 20:03:11 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-10-24 14:25:43 +0200 |
commit | a5851d0a6fdc3e08e93daf8cf0ae7f6fc2d73ef6 (patch) | |
tree | eb3c87f7ed2323b88868b50fcfb791ce102ff886 /unotest | |
parent | c361f3987bc57bf345cb6da4806d2278b6221113 (diff) |
tdf#157817 sw: PDF/UA export: fix ToX header sections
The problem was that a P or equivalent element is not allowed as child
of a TOC; previously the P was outside/before the TOC because the ToX
header was completely ignored but now it starts a SE for the ToC content
section before being ignored.
Tagged PDF Best Practice Guide suggests putting the header inside a
Caption element.
Another problem is that if the ToX header is on one page but the first
entry in the ToX content section is on the next page, BeginTag() created
a new SE for the ToX content section.
(regression from commit 033e37b49b5712df19dbfd2c307a102bce620de1)
Change-Id: I3c1f8fdda81c1f10198f5eaefc10bcd14f277a8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158298
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'unotest')
0 files changed, 0 insertions, 0 deletions