RE: Generating PNG files from FO sources

2011-10-31 Thread Eric Douglas
If you're using embedded code you have a Fop fop = fopFactory.newFop( ... statement which accepts an outputstream. If you want to keep your output in memory instead of writing it to disk you can read it from that stream. Use a ByteArrayOutputStream instead of a FileOutputStream. -Original

Re: Generating PNG files from FO sources

2011-10-31 Thread Todd Hivnor
Eric, thanks for your input. That is exactly the clue I needed, thanks. I was thinking I needed to mess around with PNGRendererMaker but I now see I can simply use MimeConstants.MIME_PNG. Awesome! - Original Message - From: Eric Douglas edoug...@blockhouse.com To:

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