diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-03-09 13:36:27 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-09 16:58:20 +0100 |
commit | 4ccafbc96b9cf30963060acd443cfc9435b7d5e8 (patch) | |
tree | abd489fc113dd7c79faa0647c6dbbd8b8c257b83 /bean | |
parent | 90c4625dcfe402d11411a52a8625a18b7e934ede (diff) |
PDF export of PDF images: don't preserve annotations in general
Regression from 33c9bc0225a92f26770f9ef20b252af47853e7b9 (PDF export of
PDF images: preserve hyperlinks, 2022-01-07), the problem was that we
want to preserve hyperlinks, but annotations are added by the PDF export
explicitly, so it isn't a good idea to "preserve" them as well.
Fix the problem by going back to the old behavior, except when the
annotation sub-type is /Link.
This keeps hyperlinks working but doesn't lead to duplicated comments
when re-exporting an image + adding comments explicitly.
Conflicts:
vcl/qa/cppunit/pdfexport/pdfexport.cxx
Change-Id: I910990da59bdc1150cc346f1a5471cb6da55dd2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131262
Tested-by: Aron Budea <aron.budea@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'bean')
0 files changed, 0 insertions, 0 deletions