[EMAIL PROTECTED] wrote:
Hi
I am using itext to add header information to a pdf file .
OK, so you are stamping headers on a PDF with PdfStamper.
Problem is when i am creating the new pdf file it is rotating by 90 degree.
Please compare the following examples:
Mark,
thanks for the effort you put into your reply. I appreciate it.
On 25.07.2006 21:03, Mark Storer wrote:
Anyway, there are several ways to work around this.
1) Dig around in the source for a place where you can change the page's
dictionary and have it 'take'. This may include
I have to to do some postprocessing on an existing pdf
(created by iText):
1. rotate certain pages by 180 degress
2. combine 4 pages in 1
Both tasks could be solved with the list archives and the tutorial.
However, somehow I cannot rotate first, then combine 4 in 1:
the result
does
PdfReader reader = new PdfReader(...);
PdfDictionary page = reader.getPageN(1);
page.put(PdfName.ROTATE, new PdfNumber(180));
PdfStamper stp = new PdfStamper(reader, ...);
stp.close();
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Shoaib
See the tutorial, chapter 1: http://www.lowagie.com/iText/tutorial/ch01.htm
David
-Mensaje original-
De: Roberto Cipollini [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 11 de agosto de 2003 14:18
Para: [EMAIL PROTECTED]
Asunto: [iText-questions] Page rotation
Hi
Yes it's possible, but it will take effect on the next page
Selon Roberto Cipollini [EMAIL PROTECTED]:
Hi everybody...have a nice very hot summer :))
i was wondering if it is possible to rotate [ PageSize.A4.rotate() ] the
page after the open declaration
i've tryed around but the page is
You have to initialize the document with the format you want, and after you can
change it whenever you want but it will take effect on the next page
Selon Paulo Soares [EMAIL PROTECTED]:
That's not possible for the first page. You have to do it before opening the
document.
Best Regards,
Quoting Paulo Soares [EMAIL PROTECTED]:
That's not possible for the first page. You have to do it before opening
the document.
If you didn't add anything to the document, I think you can do it
by invoking newPage() after changing the page size.
That's not possible for the first page. You have to do it before opening the
document.
Best Regards,
Paulo Soares
-Original Message-
From: Roberto Cipollini [SMTP:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 13:18
To: [EMAIL PROTECTED]
Subject: [iText-questions] Page
cb.addTemplate(template, 0, 1, -1, 0, pageWidth, pageHeight);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mirko
Sertic
Sent: 3. april 2003 10:19
To: [EMAIL PROTECTED]
Subject: [iText-questions] Page rotation
Hello there !
i'm searching for a way
the
page 180 degrees around the X axis,
and translates the page pageHight up the Y axis
Regards,
David Nielsen
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]]
Sent: 14. februar 2003 15:48
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Page rotation
a small runnable example and any files
needed to reproduce here the problem.
Best Regards,
Paulo Soares
-Original Message-
From: David Nielsen [SMTP:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 15:10
To: 'Paulo Soares'; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Page
OUp...
sorry for posting the large file here, that wasnt the meaning.
David.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paulo
Soares
Sent: 14. februar 2003 16:17
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Page
-
From: David Nielsen [SMTP:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 17:50
To: 'Paulo Soares'; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Page rotation
Here you go...
Its last.pdf there is the problem..
-Original Message-
From: [EMAIL PROTECTED]
[mailto
14 matches
Mail list logo