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 - MergeFileList bug or feature?
  FAQ FAQ  Forum Search   Register Register  Login Login

MergeFileList bug or feature?

 Post Reply Post Reply
Author
Message
jmooney View Drop Down
Beginner
Beginner


Joined: 15 Jul 09
Location: NY, USA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jmooney Quote  Post ReplyReply Direct Link To This Post Topic: MergeFileList bug or feature?
    Posted: 15 Jul 09 at 8:14PM
Hi, New to QuickPDF but when implementing the MergeFileList feature it appears if the fileList only contains one file nothing gets produced... when adding multiple files it, of course, works great.

I'm just wondering if this is expected behaviour?

Thanks,
Jeff M.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jul 09 at 10:37PM
Hi Jeff!

"...only contains one file..."???
So there's nothing to merge?!

Cheers, Ingo
Back to Top
jmooney View Drop Down
Beginner
Beginner


Joined: 15 Jul 09
Location: NY, USA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jmooney Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jul 09 at 10:52PM
Correct, but the control should account for that and just create a pdf with one document...

However, I understand the implication of what you are saying, too!  Why would you try and merge only one document, well, to nothing?

The answer is boring but suffice it to say I'm iterating through available documents [1... many] and if there is only one I want to be able to use the same code/routine to produce a named pdf file, which is not too far fetched, instead of forking code to do this... does that make sense?

Jeff
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jul 09 at 6:12AM
Hi Jeff!

It's similar to the question: "What was first... The chicken or the egg?"
Okay ram costs less today but if you can avoid running useless code then you should - so if you see that it's senseless to run the merge routine then you should avoid it ;-)

Cheers, Ingo
Back to Top
jmooney View Drop Down
Beginner
Beginner


Joined: 15 Jul 09
Location: NY, USA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jmooney Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jul 09 at 1:19PM
I think you miss the point... thanks anyway.
Back to Top
deabrew View Drop Down
Newbie
Newbie
Avatar

Joined: 19 Jan 09
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote deabrew Quote  Post ReplyReply Direct Link To This Post Posted: 16 Jul 09 at 1:31PM
Hi Jeff,

You could try creating a blank page -- and always merging this at the start of your merge list. Then, after the merge is complete, you can delete this page.

Cheers, -Karl
Back to Top
Michel_K17 View Drop Down
Newbie
Newbie
Avatar
www.exp-systems.com

Joined: 25 Jan 03
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michel_K17 Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jul 09 at 2:51AM
I'm with Jeff on this one. I check to see if there is only one file to merge, and as Ingo said, I bypass the call to the Merge function. Nonetheless (ie ideally), if the merge command is called with just one file in the merge list, I would expect a copy of the original file to appear at the destination. Not a biggie, but not quite as expected.

Cheers!

Michel
Back to Top
deabrew View Drop Down
Newbie
Newbie
Avatar

Joined: 19 Jan 09
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote deabrew Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jul 09 at 9:43AM
I'll have a chat with the team about this one -- in the meantime, you will be able to go ahead using the method I described above.

I'll recap -- everytime you merge:

1. Add a dummy page to the start of the list
2. Add the files you wish to merge
3. Delete the first page

This will give you the output you are looking for.

Cheers, -Karl
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