RE: Border confusion

2003-06-19 Thread Mike Trotman
Thanks - I'll check on this. I thought FOP only supported border-collapse='collapse'd tables - but may be getting this confused with 'fixed' layout. (And had also forgotten that the collapsed borders model DOES centre borders on the border rectangle edge.) I've had a few surprises with table

Re: block with table spanning different page-masters

2003-06-19 Thread Torsten Straube
J.Pietschmann wrote Torsten Straube wrote: I have a document with a first page that is different ( other header) from the other pages. Everything is fine until I put a block on the first page that contains a table that is to big to fit onto that first page. FOP places the header of the first

Adding an image to the end of a tiff file:

2003-06-19 Thread Rob Stote
Title: Adding an image to the end of a tiff file: Hello: Oleg this should probably be directed at you I was wondering if you could provide a snippet of code for adding extra images to the result of the TIFFRenderer. I notice that the Renderer can be configured to append or pre-pend

RE: Border confusion

2003-06-19 Thread Mike Trotman
Hi. I tried border-collapse='separate' and - while this worked OK for a simple table It doesn't work for tables with cells spanning rows (see attached - which also has border-separation='1pt'). I think this could qualify as a bug. Mike -Original Message- From: Mike Trotman

Printer Tray selection

2003-06-19 Thread bhaskar ramasamy
Hai All, Iam using an FOP to generate a PS file.This PS file will be send to printer.Currently It works fine without any problem. But now my current requirement is, this PS file has to be printed using two different trays.I tried to place the PCL commands in XSL.But all my efforts gets failed.Can

RE: Border confusion

2003-06-19 Thread Mike Trotman
A correction to my last e-mail. The border collisions using border-collapse='separate' only seem to occur when the contents of the cells is empty. The attached exampled has a '-' in each formerly empty cell - and renders correctly! (Interestingly - if the content is empty it looks as if the left

RE: Printer Tray selection

2003-06-19 Thread Rob Stote
Printer tray selection can not be placed into a document using xsl-fo. I had the same problem, for a client, we wrote a small app that inserted/embedded the appropriate information into the PS file right before it was spooled to the printer. Search for %%Page and insert the command

Re: block with table spanning different page-masters

2003-06-19 Thread J.Pietschmann
Torsten Straube wrote: Well the sample code is not really small :-(, but it followes here: A stylesheet is often quite useless without the input XML. Can you actually run the transformation, then trim down the resulting FO document to a reasonable size while still showing the problem and post it?

Please Explain This Table Error

2003-06-19 Thread Michael Duffy
This is my second day with FOP, so be gentle. ;) I have an FO file with a table in it - 3 rows, 6 columns fixed. A snippet follows: fo:table table-layout=fixed fo:table-column column-width=1.0in/ fo:table-column column-width=proportional-column-width(1)/ fo:table-column

Re: Please Explain This Table Error

2003-06-19 Thread J.Pietschmann
Michael Duffy wrote: When I run it through FOP, I get this error: [ERROR] At least one of minimum, optimum, or maximum IPD must be specified on table. What causes this error, and what must I fix? Thanks - Usually FOP calculates the table width from the column widths. However, you use

Problem rendering SVG graphic

2003-06-19 Thread Howard Miller
Hi, I am new to fop (and SVG) so I hope this isn't a stupid question... I am trying to embed an external SVG graphic file into a fop document. I am simply using fo:external-graphic src=url(image.svg) when I run fop it falls over with a Java excecution trace. The first few lines look like...

Re: Problem rendering SVG graphic

2003-06-19 Thread J.Pietschmann
Howard Miller wrote: Exception in thread main java.lang.NoClassDefFoundError ... java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62) Looks like you got a headless server. See http://xml.apache.org/fop/faq.html#svg-headless J.Pietschmann