What code are you using?
Best Regards,
Paulo Soares
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Sugita Takashi
> Sent: Friday, June 18, 2004 5:32 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Rotate Pages from existing PDF
> file with watermark and text without manubar etc.
>
> Hello,
>
> I have a similar problem with Markus whose answer he got on
> April 30,
> 2004. (following mail.)
> I exactly have the same problem as he has.
> But in my case, I also would like to put watermark and a text
> on each page
> without showing menubar and toolbar of the acrobat reader.
> (the watermark and the text are the same on each page.)
>
> When I used PdfStamper, I could rotate the existing PDF
> file, but the
> watermark or text cannot be seen, and the menubar and the
> toolbar of the
> acrobat reader can be seen.
>
> Could anyone help me, please? Any help would be very
> appreciated. Thank
> you in advance.
>
> Takashi Sugita.
>
>
>
> Markus" answer he got on April 30, 2004.
> ######################################
> ----- Original Message -----
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "= k3Rn =" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, April 30, 2004 1:27 PM
> Subject: RE: [iText-questions] Rotate Pages from existing PDF files
>
>
> That"s dead easy.
>
> PdfReader reader = new PdfReader(...);
> for (int k = 1; k <= reader.getNumberOfPages(); ++k) {
> reader.getPageN(k).put(PdfName.ROTATE, new PdfNumber(90));
> }
> PdfStamper stp = new PdfStamper(reader, ...);
> stp.close();
>
> Best Regards,
> Paulo Soares
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of = k3Rn =
> > Sent: Thursday, April 29, 2004 7:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [iText-questions] Rotate Pages from existing PDF files
> >
> > From: "Bruno" <[EMAIL PROTECTED]>
> > To: "= k3Rn =" <[EMAIL PROTECTED]>
> > > Quoting = k3Rn = <[EMAIL PROTECTED]>:
> > >
> > > > I"d want to simply rotate all pages of an existing pdf
> 90 degrees
> > > > to the right - from portait to landscape orientation.
> > >
> > > This can be done with iText.
> > >
> > > > In my case i would need that to rotate pdf pages that are in
> > > > portrait orientation, but the text is vertically
> printed (because
> > > > it used to be a landscape printout).
> > >
> > > I"m not sure what you mean. If you say the pages are in
> > > portrait now but people have to turn their heads 90 degrees
> > > to read the text on a screen, then you can use iText.
> >
> > Thats exactly what i want to do.
> > I"ll attach a small example pdf i would like to rotate.
> > May you give me a hint on how complex the itext code would be
> > to do that rotation? Can this be done in some rows of code?
> >
> > Thx for you support!
> > Greetings
> > Markus
> >
> ######################################
>
> _________________________________________________________________
> メッセンジャーで総額1億円プレゼント! http://im.msn.co.jp/home.htm
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San
> Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority
> Code NWMGYKND
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions