theas...@hotmail.com wrote:
> Thanks! It works!
> Then when do I use PdfStamper, if writer will give me similar functionality?
> I thought that writer could just import and could not modify the imported
> pages.
You can't add stuff to the PdfImportedPage, but you can add extra
content to the Pdf
rorostar wrote:
>
> What I'm trying to do is create a PDF file from several "template" pdf
> files.
> The first few pages of the PDF file are generated texts (cover page, table
> of content, etc), and then after that, I would need to append and edit from
> other existing template (basically adding
rorostar wrote:
> It seemed that when creating a PdfStamper, there is a PdfWriter created
> inside of it.
> Since I have a different PdfWriter that I created for the main PDF file, i
> tried to redirect the output of the PdfWriter inside of the PdfStamper to
> the main PdfWriter.
> Is this not supp
It seemed that when creating a PdfStamper, there is a PdfWriter created
inside of it.
Since I have a different PdfWriter that I created for the main PDF file, i
tried to redirect the output of the PdfWriter inside of the PdfStamper to
the main PdfWriter.
Is this not supposed to work?
writer.getDi
s.
Paulo Soares-3 wrote:
>
>
>
>> -Original Message-
>> From: rorostar [mailto:theas...@hotmail.com]
>> Sent: Tuesday, February 10, 2009 4:57 PM
>> To: itext-questions@lists.sourceforge.net
>> Subject: [iText-questions] PdfStamper appending to existing f
What I'm trying to do is create a PDF file from several "template" pdf
files.
The first few pages of the PDF file are generated texts (cover page, table
of content, etc), and then after that, I would need to append and edit from
other existing template (basically adding certain text at certain pi
rorostar wrote:
> Hi,
>
> I have a question regarding PdfStamper.
>
> Here is the code snippets
>
>
> FileOutputStream outputStream = new
> FileOutputStream("C:\\Java\\HelloWorld.pdf");
> PdfWriter writer = PdfWriter.getInstance(document, outputStream);
> document.open();
> //add stuffs to doc
> -Original Message-
> From: rorostar [mailto:theas...@hotmail.com]
> Sent: Tuesday, February 10, 2009 4:57 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PdfStamper appending to existing file
>
>
> Hi,
>
> I have a
Hi,
I have a question regarding PdfStamper.
Here is the code snippets
FileOutputStream outputStream = new
FileOutputStream("C:\\Java\\HelloWorld.pdf");
PdfWriter writer = PdfWriter.getInstance(document, outputStream);
document.open();
//add stuffs to documents
//This is the file to copy
PdfR