Print Page | Close Window

Deleting pages -> dependent actions?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2476
Printed Date: 17 Sep 25 at 3:08AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Deleting pages -> dependent actions?
Posted By: ukobsa
Subject: Deleting pages -> dependent actions?
Date Posted: 18 Dec 12 at 3:09PM
Hi,

When using DeletePages method I understand that the pages are not really deleted but removed from their parent pages dictionary so that they will no longer appear. Fine!
But what happens to other objects referring those pages?
My current problem was that there was an OpenAction destination that pointed to page 1. Then I deleted page 1 and saved the pdf. Now Adobe Reader calls me that the documents page tree has a problem.

So when deleting a page I should also adjust an OpenAction destination if it is available. But what other points should I check?
- named destinations
- outlines
- ... ???
Any further points?

Has someone already done a code that checks for object dependency and would like to share?


best regards,
Ulrich



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk