Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-20 Thread trumpetinc
ing the "correct" output anyway is a bit > maddening. *twitch* > > --Mark Storer > Senior Software Engineer > Cardiff.com > > #include > typedef std::Disclaimer DisCard; > > > >> -Original Message- >> From: trumpetinc [mailto:

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-20 Thread Mark Storer
ge- > From: trumpetinc [mailto:forum_...@trumpetinc.com] > Sent: Tuesday, January 19, 2010 9:00 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Rotate Page After Adding Text > to Document > > > > As a point of clarification,

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread trumpetinc
As a point of clarification, I'm pretty sure that, in addition to swapping width and height, rotate() signals PdfDocument to add a rotation cm entry to the beginning of the content stream, and adjusts the rotation dictionary entry for the page. And I completely agree with the 'messy code for deal

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Mark Storer
x27;d figure I'd leave some specifics as to what I'm trying to do in case you or anyone else has any more ideas. Thanks, Phillip _ From: Mark Storer [mailto:msto...@autonomy.com] Sent: Tuesday, January 19, 2010 5:13 PM To: Post all your questions about iText here Subject: Re: [iT

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Ponzer, Phillip
From: Mark Storer [mailto:msto...@autonomy.com] Sent: Tuesday, January 19, 2010 5:13 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Rotate Page After Adding Text to Document Are you trying to shrink the page after the fact to fit its content? I had to do that

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Ponzer, Phillip
January 19, 2010 2:58 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Rotate Page After Adding Text to Document PDF (I'll take help over "looking witty" any day :P ) And the reason why I want to do this is because I don't know how much spac

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Ponzer, Phillip
ay, January 19, 2010 2:58 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Rotate Page After Adding Text to Document PDF (I'll take help over "looking witty" any day :P ) And the reason why I want to do this is because I don't know how much spac

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread trumpetinc
Random thought (and more of a mental exercise than a real solution): I wonder if it's possible to insert an object reference for the parameters to a cm operation in a content stream... I know, for example, that it's possible to do this with text operations, so I'd imagine that it's possible with

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Mark Storer
, the table) takes up until it has been added to the document. Any thoughts? Phillip _ From: Mark Storer [mailto:msto...@autonomy.com] Sent: Tuesday, January 19, 2010 4:53 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Rotate Page After Adding Te

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Ponzer, Phillip
_ From: Mark Storer [mailto:msto...@autonomy.com] Sent: Tuesday, January 19, 2010 4:53 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Rotate Page After Adding Text to Document Are we talking PDF || HTML || RTF here? (replying "yes", "true&q

Re: [iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Mark Storer
Message- From: Ponzer, Phillip [mailto:phillip.pon...@garmin.com] Sent: Tuesday, January 19, 2010 2:41 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Rotate Page After Adding Text to Document Hello everyone, and thanks for your help with my previous question. Here&#

[iText-questions] Rotate Page After Adding Text to Document

2010-01-19 Thread Ponzer, Phillip
Hello everyone, and thanks for your help with my previous question. Here's another one: Is it possible to rotate the page you just added text to? For instance, we have a Document variable called "doc" whose PageSize is set to PageSize.LETTER, and I add some text. Can I make the page where that