Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Problem with Concatenate method

$
0
0

We are concatenating several PDF documents via PdfFileEditor.Concatenate method. In short I have a special class which contains in each row a string array of file names to concatenate and a file name to save the concatenated files too. We need to have KeepFieldsUnique set to False. When KeepFieldsUnique set to False some fields are not showing up in the newly generated PDF document. If KeepFieldsUnique set to True the fields just mentioned will show but does not work for us as a internal application needs to find a specific field which when KeepFieldsUnique set to True is not there thus we need to keep KeepFieldsUnique set to False.

The following information is from another developer whom I am working with which gives more details.

ghostfield1.jpg shows the last place that the Info field appears and the red dots where it should be. In that jpg, the ORDCN field is still there.  It is the bottom of page 5 and top of page 6.

 ghostfield2.jpg shows the bottom of page 6 and top of page 7.  Neither "Info" field is there and the ORDCN field is also missing. These screen shots are showing images as viewed in Adobe Acrobat Professional 8 in "Edit Layout" mode.

 The "Info" field appears at the top and bottom of all the original PDFs.  The ORDCN field appears in the top right corner of all the original PDFs.  We want the ORDCN fields all to have that name, because we only have to populate it once.

The following relate to the above on SkyDrive

ghostfield1.jpg  ghostfield2.jpg

Partial code done in VS2012, 4.5 Framework code.txt

Aspose.Pdf version 8.4.0.0 Framework 4

EDIT

Thought it might be prudent to indicate I am using a license.

Public Module PrepareKit    ''' <summary>    ''' Point Aspose library to a valid license file    ''' </summary>    ''' <remarks>    ''' Aspose library w/o a license file makes it an eval version    ''' </remarks>    <System.Diagnostics.DebuggerStepThrough()>    Public Sub PreparePdfKit()        If IO.File.Exists("Aspose.Pdf.lic"Then            Dim license As Aspose.Pdf.License = New Aspose.Pdf.License            license.SetLicense("Aspose.Pdf.lic")        End If    End SubEnd Module

 

 

 


Viewing all articles
Browse latest Browse all 3131

Trending Articles