Re: [iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-29 Thread pickm
That fixes it. Thanks! I got widthPercentage (the table) confused with widthPercentages (the columns)... I assumed they were the same thing. -- View this message in context: http://old.nabble.com/ColumnText-setSimpleColumn-with-getFieldPositions%28%29-tp28042812p28069575.html Sent from the

Re: [iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-28 Thread 1T3XT info
pickm wrote: What I did that caused my original question was to add a PdfPTable to the columnText. The PdfPTable had margins on both sides. The width percentage is 80% by default. You need to change it to 100%. So... we have eliminated my suggestion that the coordinate positions are the

Re: [iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-27 Thread 1T3XT info
pickm wrote: So my problem is that when i call |setSimpleColumn|, I need to expand the column text with arbitrary values for some reason. How do you know this? Did you draw a rectangle using the coordinates returned by getFieldPositions? Does it appear at the correct place? -- This answer is

Re: [iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-27 Thread pickm
No, I did not write a rectangle to test my original assertion. I have now gone back and I drew a rectangle. It appears to be correct. Here is the test code i used: PdfContentByte c = stamper.getOverContent(1); Rectangle r = new

[iText-questions] ColumnText setSimpleColumn with getFieldPositions()

2010-03-26 Thread pickm
I am having an issue where I am stamping a PDF template. Here is my setup: I have a PdfStamper and a template with a bunch of form fields on it. I am using some of the form fields as placeholders for PdfPTables that I create in java. So I get my place holder dimensions like this: float