Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Interleave pages from 2-3 different files
  FAQ FAQ  Forum Search   Register Register  Login Login

Interleave pages from 2-3 different files

 Post Reply Post Reply
Author
Message
CThomp2009 View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Jan 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CThomp2009 Quote  Post ReplyReply Direct Link To This Post Topic: Interleave pages from 2-3 different files
    Posted: 25 Jan 12 at 5:47PM
Hello, all.  I'm relatively new to QuickPDF, but with the documentation, FAQ and Forums, I'm finding it very easy to use.  Very nice.

One thing I can't seem to find a reference on is combining or interleaving pages from multiple source files into a single final file.

i.e., I have three files, 10 pages each.  The final product (pdf) should have pages in the following order:

1, 2, 3 (from File1), 3 (from File2), 3 (from File3), 4 (from File1), 4 (from File2), 4 (from File3)...

I'm not even sure where to begin with this (which functions to look at).  I've looked through "merging files", but these all refer to combining whole files together - not what I need.

Any assistance would be greatly appreciated!  (using the ActiveX version)
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 12 at 8:23AM
Back to Top
CThomp2009 View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Jan 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CThomp2009 Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 12 at 2:03PM
Thanks very much, Andrew.

I will try putting together the splitting/merging process you mention.

I have been trying to accomplish this using the CapturePage and DrawCapturedPage functions.  Paraphrashed, like this:

- Open files to be combined.
- Create new doc.
- Select first file, first page to be combined- capture page.
- Move to new doc and DrawCapturedPage.
- Move to second file, first page to be combined - capture page.
- Move to new doc.
- Insert new page.
- DrawCapturedPage.
- etc....

I end up with the correct # of pages in the new doc (after saving), but they're all blank.

Does this type of process have any merit for what I'm trying to do?  Or is the splitting/merging process the only/best way to do this?

Again, thanks very much for the response...
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 12 at 3:10PM
Hi,

capturing and drawing works only in one document. So so first a merge is needed, or you get blank pages. In your case is MovePage the best after merging to put pages in wished order.

Cheers,

Werner
Back to Top
CThomp2009 View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Jan 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CThomp2009 Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 12 at 10:42PM
Thanks very much, Werner.

"capturing and drawing works only in one document" explains why I kept getting blank documents (and getting a little frustrated).

Your suggestion (merging the files together first, then moving them around in place) is something I will have to tinker around with - along with Andrew's Extract-and-Merge concept.

Thanks very much to both of you...  I'll post back when something turns out...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store