Re: [iText-questions] iText centering an imported image within a defined area on the page

2008-10-24 Thread Jeff Murray
I have figured out the issue. getScaledWidth() is newer. The old version scaledWidth() works as intended. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applicati

[iText-questions] iText centering an imported image within a defined area on the page

2008-10-24 Thread Jeff Murray
First off, I am working in Coldfusion, I believe version MX 7. Here is what I am trying to accomplish: I know how to insert an image, set the position and scale the image. What I would like to do, though is center the image within the imaginary rectangle that is created by the absolute position

[iText-questions] inserting images in a row.

2008-10-24 Thread matthieu . ferrant
Hi all, Is there an easy way to insert a row of images in an RTF document without specifying the absolute position ? When using the add method, each image is placed in a new row. Is there a way to insert images one after the other, and have them automatically go to the next row in case there is

Re: [iText-questions] PdfGraphics2D bug fix: not propigating RenderingHints during create()

2008-10-24 Thread 1T3XT info
Mark Storer wrote: > Add the following line to PdfGraphics2D.create() (insert before line > 904, though the exact position doesn't really matter): > > g2.rhints.putAll( this.rhints ); Thanks, I've changed this in the SVN repository: > Log Message: > --- > Bugfix posted on the mailing

Re: [iText-questions] Create page size problem

2008-10-24 Thread 1T3XT info
Byomokesh Sahoo wrote: > Hi, > > Thanks for quick reply. Please don't repeat a question that was already answered. See the response posted by Iliadis Yannis: you are creating a reader instance, but then you don't do anything else with it. This is not supposed to work. Also you didn't answer the

Re: [iText-questions] setField for multi-select lists?

2008-10-24 Thread 1T3XT info
Nicklas Karlsson wrote: > Hi, > > I found an oldish posting saying that setField was not supported for > multi-select listboxes. Is this still the case? > > Is the workaround to check the field type, typecast correctly and do > some low level selections? Modified: trunk/src/core/com/lowagie/text

Re: [iText-questions] Create page size problem

2008-10-24 Thread Iliadis Yannis
Seeing your code snippet you're still creating a new Document with the specified page size Document document = new Document(new Rectangle(0,42,4382,4369)); the reader you create PdfReader reader = new PdfReader("input.pdf"); is nowhere used in your code. So you actually don't do any page resi

Re: [iText-questions] (no subject)

2008-10-24 Thread Paulo Soares
That's an XFA form and only SetField() will work. What error did you get? Paulo > -Original Message- > From: JK Park [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2008 10:55 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] (no subject) > Importance: Hi

Re: [iText-questions] Create page size problem

2008-10-24 Thread Byomokesh Sahoo
Hi, Thanks for quick reply. I am trying to reduce or increase trim/Page size in Existing PDF file. Suppose my source existing PDF file size is 6.29x9.04in. I want call this PDF file then increase or decrease the page size. (example. i need 6.14x9.21in) PdfReader reader = new PdfReader("input.pdf

Re: [iText-questions] iText examples zip-file wanted

2008-10-24 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Just bought the iText-in-Action book and i want to get all examples used > in the book. I can get them one by one from the website but is there a > way to get them all in a zip file? All examples are now in an SVN repository: http://itext.svn.sourceforge.net/viewvc/ite

[iText-questions] iText examples zip-file wanted

2008-10-24 Thread P . Goovaerts
Just bought the iText-in-Action book and i want to get all examples used in the book. I can get them one by one from the website but is there a way to get them all in a zip file? Patrick Goovaerts

Re: [iText-questions] Create page size problem

2008-10-24 Thread 1T3XT info
Byomokesh Sahoo wrote: > Dear All, > > I wrote code to reduce page size using iText. I am getting calculate to > increase or decrease page size. > > My code is here > > Rectangle pageSize = new Rectangle(4, 56, 4482, 8369); > Document document = new Document(pageSize); > PdfWriter writer = PdfW

[iText-questions] Create page size problem

2008-10-24 Thread Byomokesh Sahoo
Dear All, I wrote code to reduce page size using iText. I am getting calculate to increase or decrease page size. My code is here Rectangle pageSize = new Rectangle(4, 56, 4482, 8369); Document document = new Document(pageSize); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputSt