Thanks for pointing me to the Concat_pdf.java file Paulo, but I think
you've severely underestimated my ignorance ;?)
Is there a simpler example that shows just the steps I need to join
three files, without passing in "args" and all the looping and page
counter output and such?
Something along the lines of:
***************************************
String outFile = "ConcatenatedFile.pdf";
String inFile1 = "InputFile01.pdf";
String inFile2 = "InputFile02.pdf";
String inFile3 = "InputFile03.pdf";
Document document = null;
PdfCopy writer = null;
PdfReader reader = {this is the part where I get confused as to how to
do it with three or more known filename strings, do I need three
readers?]
???
***************************************
Again, thanks for any light you can shed on this.
Best regards, Doug
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Paulo Soares
> Sent: Thursday, March 16, 2006 12:17 PM
> To: Douglas A. White; [email protected]
> Subject: RE: [iText-questions] Newbie Concat PDF question - iTextSharp
>
> Look at the file concat_pdf.java, it's only 20 lines it
> shouldn't be that difficult to understand.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Douglas A. White
> > Sent: Thursday, March 16, 2006 4:41 PM
> > To: [email protected]
> > Subject: [iText-questions] Newbie Concat PDF question - iTextSharp
> >
> > Hi All,
> >
> > I'm just getting started with ASP.NET and have created
> several PDFs of
> > reports using Crystal Reports.
> >
> > I now need a way to concatenate all 14 PDFs together into one large
> > PDF since CR doesn't allow for nested subreports. We're using
> > ASP.NET/VB.NET under the 2.0 .NET Framework.
> >
> > I used Kamal Patel's C# to VB.NET converter to convert the
> Concat.cs
> > code into VB and then set that as a function to which I'm trying to
> > pass references to the various PDFs to concatenate them
> together, but
> > I'm getting a file not found error for the output PDF report.
> >
> > A code snippet for trying to concatenate just the first two reports
> > (Section01.pdf and Section02.pdf) together to form a 3rd report
> > (ConcatenatedReport.pdf) consisting of Section01.pdf with
> > Section02.pdf appended afterwards.
> >
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions