Print Page | Close Window

Merge Function and Document Tags (Structured PDF I

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=2422
Printed Date: 22 Jul 25 at 2:38PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Merge Function and Document Tags (Structured PDF I
Posted By: Dave5280
Subject: Merge Function and Document Tags (Structured PDF I
Date Posted: 02 Oct 12 at 8:04PM

Hello,

 

My Issue:

After merging two documents together, the tags from the second document are no longer present in the merged output. 

 

My Test:

1.      Created two simple PDF documents that contain one form field each (FirstName1 and FirstName2).

2.      Merged the files using the MergeDocument method.

3.      Using Acrobat Pro and looking at the “Tags”…  I notice all tags from document two are now missing. 

 

Thanks,

Dave




Replies:
Posted By: Ingo
Date Posted: 02 Oct 12 at 8:18PM
Hi Dave!

Please keep in mind:
Creating two pdf-documents with an Adobe product...
Merging them with a third party tool like Debenu QuickPDF...
At least working on it with an Adobe product again...
always will be the source for many complications and irritations.

To your problem:
Which DQP-version (the number) you're using?
Which DQP-type (activex, normal dll, delphi dcu) you're using?
Did you create your testcode similar to the sample code from the online-guide?
Posting your used code snippet would be helpful...

Cheers and welcome here,
Ingo


Cheers and welcome here


Posted By: Dave5280
Date Posted: 02 Oct 12 at 8:29PM
Hi Ingo,
 
Thanks for the quick reply...
 
DQP-version:
9.11.919.1456
 
DQP-type:
DLL
 
Code:

//1st Doc

finalDoc.LoadFromFile(@"C:\Projects\QuickPDF\FN1.pdf", "");

primaryDoc = finalDoc.SelectedDocument();

 

//2nd Doc

finalDoc.LoadFromFile(@"C:\Projects\QuickPDF\FN2.pdf", "");

secondaryDoc = finalDoc.SelectedDocument();

 

//Set Main Doc

finalDoc.SelectDocument(primaryDoc);

 

//Merge 2nd Doc

finalDoc.MergeDocument(secondaryDoc);

 

//get bytes

byte[] bytes = finalDoc.SaveToString();




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