summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/trvlfrm.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-07-26 13:47:54 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-07-26 18:04:54 +0200
commit4e6327c673075ab4a44f497a06a8dbf759c1a72a (patch)
tree17256e0cc2c8cd1aba8c43933b6695d5e03a4be3 /sw/source/core/layout/trvlfrm.cxx
parentebbd0d763a84fdc6fc4fc8e70242f5c5ee70be71 (diff)
sw reqif-xhtml export: fix duplicated bookmark names in fragments
The problem was that exporting multiple documents to reqif fragments and then combining them to a single document resulted in non-unique bookmark identifiers, even if they were unique in the original source documents. Writer already tries to ensure unique bookmark names, but if the export result is not a full document on its own, this is not enough. On the other hand, bookmarks in these fragments are almost always used unintentionally. Fix the problem by keeping the bookmark output in the HTML/XHTML case, but disable it for ReqIF. Note that we disable unique anchors in general, so this fixes the same problem with section anchors as well. Change-Id: Ib47d1589fa08d205b7904e21656c937bfbca0a2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137464 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/layout/trvlfrm.cxx')
0 files changed, 0 insertions, 0 deletions