Apache OpenOffice (AOO) Bugzilla – Issue 116085
Created PDF of a range of pages contains full-document bookmarks
Last modified: 2017-05-20 11:41:48 UTC
Exporting just a range of pages from an odt into a PDF creates a PDF with those pages, which is fine. But the included bookmarks show all the chapters and subchapters, even those that are not in the exported page range. When you click on a non existing chapter in the bookmarks bar in a PDF viewer, you get transported to the page that corresponds to that page, counting pages from page 1. Example: exporting a document with 250 pages and 20 chapters and 50 subchapters, exporting just pages 30-40. You get a 10-page PDF and bookmarks of all 20 chapters and 50 subchapters. Clicking a bookmark of chapter 1 (that starts at page 9 in the original odt document) transports you to page 9 in the created PDF, which is actually page 39. The PDF should contain only bookmarks from the selected range of pages from the original odt document.
confirm
@od: HTH ?
defect cause by fix for issue 113919 patch for this issue and issue 113919 will follow.
Created attachment 75331 [details] patch to fix this issue and 113919
od->pl: Please take over as discussed. Thx.
committed in CWS ooo33gsl13
please verify in CWS ooo33gsl13
Verified with cws ooo33gsl13 = ok