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!
![]() |
MergeFileList bug or feature? |
Post Reply
|
| Author | |
jmooney
Beginner
Joined: 15 Jul 09 Location: NY, USA Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 Jul 09 at 10:37PM |
|
Hi Jeff!
"...only contains one file..."??? So there's nothing to merge?! Cheers, Ingo |
|
![]() |
|
jmooney
Beginner
Joined: 15 Jul 09 Location: NY, USA Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
jmooney
Beginner
Joined: 15 Jul 09 Location: NY, USA Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 Jul 09 at 1:19PM |
|
I think you miss the point... thanks anyway.
|
|
![]() |
|
deabrew
Newbie
Joined: 19 Jan 09 Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Michel_K17
Newbie
www.exp-systems.com Joined: 25 Jan 03 Status: Offline Points: 297 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
deabrew
Newbie
Joined: 19 Jan 09 Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store