Issue 116085

Summary: Created PDF of a range of pages contains full-document bookmarks
Product: Writer Reporter: miles
Component: save-exportAssignee: h.ilter
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues, mdxonefour, orw, philipp.lohmann, vitriol_vitriol
Version: OOO330m15Keywords: regression
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 111112    
Attachments:
Description Flags
patch to fix this issue and 113919 none

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