Print Page | Close Window

Problem with ClonePages and deleting pages

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=2281
Printed Date: 19 Jun 25 at 10:43AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Problem with ClonePages and deleting pages
Posted By: Aly
Subject: Problem with ClonePages and deleting pages
Date Posted: 30 May 12 at 1:39PM
I'm hoping someone can help me with this. I have basic information (headers, titles etc.) that repeats on every page of my document so I simply create the basic page and then clone it the number of times I require, which helps to keep the document size small. I then create a new layer on each page as required and add in the information that is unique to a page and all is fine, this works really well.

The data I'm plotting is for a series of numerical simulations for which I know the number of runs so I can clone the first page the right number of times before reading any of the data in. Occasionally a simulation will fail however I don't know they fail until I read in the data (not my software). This is not an issue in itself and I just ignore that simulation and plot the next one instead. What becomes an issue is that I end up with a load of pages at the end that have only the basic information of the cloned page but no simulation data to plot on them. So I thought the way round this is to delete these pages as I know how many runs have failed. Unfortunately when I use the DeletePages function it not only removes the last pages but also removes all of the cloned data from the whole document. So I basically end up with pages of data with none of the standard headers and footer etc.

It is as though the DeletePages function also deletes the cloned pages or at least mucks up the way this is handled by the PDF. Interestingly if I save the document and then delete the pages in Acrobat, it doesn't have this problem.

Anyone have any thoughts? IS this the way it is supposed to work or is this a bug in QuickPDF?



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