Orientation

2010-08-20 Thread Eric Douglas
Maybe I was just thinking too far out of the box, but I was wondering if it's possible to create output with different pages having different orientation. I tried just swapping the page-height and page-width attribute values and had a couple of issues with it. For a PDF, if I set the first page

Re: Region-body column balancing (bug with table-header!)

2010-08-20 Thread Adam Kovacs
Hi There! I finally had to dig into the code of Fop as I really need this balancing to work fine. I found the Class BalancingColumnBreakingAlgorithm where I made some tests. It seems for me that the calculation of the fullLen does not return the correct value: fullLen =

RE: Orientation

2010-08-20 Thread Eric Douglas
That is the reference-orientation=90 option I tried. That works well, though I don't think users want to view it sideways. There are 2 ways to print landscape, I've determined. See attached. The first one involves setting page-height=11 and page-width=8.5 and reference-orientation=90. The second

Re: Invalid PDF Created

2010-08-20 Thread Chris Bowditch
Eric Douglas wrote: I resolved this. After the transform I didn't close the output stream. Apparently that left some bytes hanging. Hi Eric, I'm glad you solved your corrupted PDF issue I was going to ask if had closed the stream as a BufferedStream will hold onto a few bytes until you

Java Console error

2010-08-20 Thread Eric Douglas
My workaround is to ignore this since my results still appear correct and users don't see this but what does this mean? This message is showing up in my Java console, using the fop 0.95, when I send the output to the org.apache.fop.render.awt.viewer.PreviewPanel with embedded code running in