Issue 116085 - Created PDF of a range of pages contains full-document bookmarks
Summary: Created PDF of a range of pages contains full-document bookmarks
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOO330m15
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 111112
  Show dependency tree
 
Reported: 2010-12-12 23:28 UTC by miles
Modified: 2017-05-20 11:41 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch to fix this issue and 113919 (2.19 KB, patch)
2010-12-13 14:27 UTC, Oliver-Rainer Wittmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description miles 2010-12-12 23:28:50 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.
Comment 1 philipp.lohmann 2010-12-13 10:18:16 UTC
confirm
Comment 2 philipp.lohmann 2010-12-13 10:18:49 UTC
@od: HTH ?
Comment 3 Oliver-Rainer Wittmann 2010-12-13 14:21:33 UTC
defect cause by fix for issue 113919

patch for this issue and issue 113919 will follow.
Comment 4 Oliver-Rainer Wittmann 2010-12-13 14:27:52 UTC
Created attachment 75331 [details]
patch to fix this issue and 113919
Comment 5 Oliver-Rainer Wittmann 2010-12-15 10:44:12 UTC
od->pl: Please take over as discussed. Thx.
Comment 6 philipp.lohmann 2010-12-15 12:26:45 UTC
committed in CWS ooo33gsl13
Comment 7 philipp.lohmann 2010-12-16 15:00:19 UTC
please verify in CWS ooo33gsl13
Comment 8 h.ilter 2010-12-17 11:00:22 UTC
Verified with cws ooo33gsl13 = ok