Blank page problem
I wonder is somebody can help me with a blank page appearing at the beginning of all my documents. My input xml data looks a bit like... root row ...data... /row row data... /row /root The idea is that each row../row will represent a page. So I did a xsl:template match on the row and used an fo block with break-after=page immediately inside, and then all my content inside that block. Trouble is the first page always contains no data - just the fixed content (ie, the second page contains the input data from the first row/row) . I have actually tried changing the break-after to break-before but it makes no difference. Any thoughts appreciated! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem rendering SVG graphic
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... can somebody point me in the right direction here (I checked and batik is in the fop lib directory! ) Thanks! [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5rc3a [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [INFO] [1] Exception in thread main java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62) at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1053) at org.apache.fop.svg.PDFGraphics2D.init(PDFGraphics2D.java:1401) at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java :638) at org.apache.fop.render.pdf.PDFRenderer.drawImageScaled(PDFRenderer.java:3 80) at org.apache.fop.render.AbstractRenderer.renderImageArea(AbstractRenderer. java:326) at org.apache.fop.image.ImageArea.render(ImageArea.java:107) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.j ava:516) at org.apache.fop.layout.LineArea.render(LineArea.java:519) at org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRenderer. java:485) at org.apache.fop.layout.BlockArea.render(BlockArea.java:117) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant Task
Hi, I can feel a FTFM coming on, but... Is there an existing Ant task for FOP. Have had a good dig around but can't find anything. Many thanks -- Howard Miller GUIDE University of Glasgow T: +44 (0)141 330 3269