Re: Fixed table layout, fixed row height, not getting expected row height

2011-11-03 Thread Todd Hivnor
>> I'm upgrading from FOP v0.20 to v1.0. My fixed sized tables are coming out a different sized than before. I'm confused about why. >> >> >> In the code below, I have a table-row with height=100px. The table-cells have 20px of padding. I end up using 140px of height, >> not 100px as I reque

Fixed table layout, fixed row height, not getting expected row height

2011-10-31 Thread Todd Hivnor
I'm upgrading from FOP v0.20 to v1.0. My fixed sized tables are coming out a different sized than before. I'm confused about why. In the code below, I have a table-row with height=100px. The table-cells have 20px of padding. I end up using 140px of height, not 100px as I requested with It se

Re: Generating PNG files from FO sources

2011-10-31 Thread Todd Hivnor
u can read it from that stream. Use a ByteArrayOutputStream instead of a FileOutputStream. -Original Message- From: Todd Hivnor [mailto:spambox_98...@yahoo.com] Sent: Sunday, October 30, 2011 7:40 PM To: fop-users@xmlgraphics.apache.org; Todd Hivnor Subject: Re: Generating PNG files fr

Re: Generating PNG files from FO sources

2011-10-30 Thread Todd Hivnor
berOfPages to see if my report fit onto a single page. I've got code which then reduced the font size & tried again if the page count was greater than 1. So, I guess my subject line should really be "Generating BufferedImages from FO sources" ... - Original Message

Generating PNG files from FO sources

2011-10-30 Thread Todd Hivnor
I'm _finally_ getting around to upgrading from FOP 0.20 to FOP 1.0! My existing code uses org.apache.fop.apps.Driver. I see that is no longer available, so I'm trying to figure out how to port my code. I figured out PDF generation, but can't figure out how to render a PNG from an FO file. All