Re: Problem upgrading from 0.94 to 0.95

2008-11-05 Thread Adrian Cumiskey
Also it may be helpful if you are able to tell us which version of JEuclid you are using. Adrian. Adrian Cumiskey wrote: Hi Paul, The NullPointerException is coming from the ImageInputStream being null. This looks like one for Max as I suspect it may be a problem with the JEuclid

Background Image Size

2008-11-05 Thread Barry Whiting
Hi I have an image embedded into my block-container so that I can overlay another svg image that is dynamically generated over the top. I need to resize the background image how ever so I was wondering if somebody could tell me if this is possible at all? Thanks Barry

Re: Problem upgrading from 0.94 to 0.95

2008-11-05 Thread Adrian Cumiskey
Paul, I think you may have a classpath problem as the PreloaderMathML class now resides in org.apache.fop.mathml package (as part of FOP 0.95), not net.sourceforge.jeuclid.xmlgraphics anymore - you may need to upgrade your JEuclid too. Adrian. Adrian Cumiskey wrote: Hi Paul, The

Re: Background Image Size

2008-11-05 Thread Chris Bowditch
Barry Whiting wrote: Hi I have an image embedded into my block-container so that I can overlay another svg image that is dynamically generated over the top. I need to resize the background image how ever so I was wondering if somebody could tell me if this is possible at all? For

Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Frank Niedermann
Hi, I'm new to XSL-FO and I try to center a rotated text horizontally and vertically in the region-start area. This is the FO-file: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin=0mm page-width=70.0mm

RE: Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Amick, Eric
Wrap the block(s) in a block-container and use the display-align property: fo:block-container display-align=center fo:block text-align=centerHello/fo:block /fo:block-container Eric Amick Legislative Computer Systems Office of the Clerk -Original Message- From: Frank Niedermann

0.95: Metadata is not valid XML document even if there are no metadata defined in FO source

2008-11-05 Thread Stepan RYBAR
Hello, I have a problem with metadada part of PDF created by Apache FOP 0.95 (using Sun Java SE 1.6.0_10 on MS Windows 2000). Although resulted PDF looks OK in Acrobat Reader, I am not able to process resulted PDF using iText 2.1.3. It throws Exception shown below. After several e-mails among

Re: displaying empty rows for a table

2008-11-05 Thread JWang
Thanks for the reply. I did try to use nbsp but could not figure out how to do it in Java. If I put in _#_x_0_0_A_0_; directly in the fo file, it works. But in my case I have to set the value using Java like this: object.setProperty(_#_x_0_0_A_0_;); // nbsp character is expanded with _ to show in

Re: Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Chris Bowditch
Frank Niedermann wrote: Hi, I'm new to XSL-FO and I try to center a rotated text horizontally and vertically in the region-start area. This is the FO-file: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master

Error while processing xml and xslt files to pdf

2008-11-05 Thread Ronald McDonald
Hello, I'd like to produce a pdf file with fop from an xml with a xslt file using the following command: fop -c fopconf.xconf -xml my.xml -xsl my.xsl -pdf my.pdf Mac OS X with fop installed via ports does everything right, I get the expected result as a pdf. But using the same command on a

Printer Error When Sending a PDF created from FOP

2008-11-05 Thread Steffanina, Jeff
Linux Printer: IBM Infoprint 1532 FOP:0-95 We are getting this error on some of the printers in the field. The following error literarily prints on the page instead of it printing my PDF: PDF Error 8 Postscript Invalid Font I have investigated this in great detail but I cannot find

Re: 0.95: Metadata is not valid XML document even if there are no metadata defined in FO source

2008-11-05 Thread Jeremias Maerki
Ok, so we have two problems: 1. Compressed Metadata stream: FOP doesn't compress the metadata stream by default. The problem is that FOP 0.95 has a demo configuration file that contains a filter list that causes all stream to be compressed. Please remove all filterList elements including their

Re: Image overflow in FOP

2008-11-05 Thread Jeremias Maerki
Comments inline... On 05.11.2008 16:49:56 Sebastien wrote: Hi ! I'm using FOP 0.95 to generate a PDF from an XML document. I'm using XSL-FO to make the transformation and i'm having difficulties with images, especially making them to fit within page or to jump over the next one. All these

Re: Error while processing xml and xslt files to pdf

2008-11-05 Thread Jeremias Maerki
Check what JVM is in use. If it's not a Sun JVM, then switch to that. Otherwise, you might want to try one of the other options listed here: http://xmlgraphics.apache.org/fop/stable/graphics.html#batik On 05.11.2008 17:04:26 Ronald McDonald wrote: Hello, I'd like to produce a pdf file with

Re: displaying empty rows for a table

2008-11-05 Thread Jeremias Maerki
NBSP is Unicode 0x0160, in Java: from org.apache.fop.util.CharUtilities: /** non-breaking space */ public static final char NBSPACE = '\u00A0'; Just add this character to the stream. If escaping is necessary, your XML serializer should handle that for you. BTW, instead of an NBSP, you

Re: 0.95: Metadata is not valid XML document even if there are no metadata defined in FO source

2008-11-05 Thread Stepan RYBAR
ad 1) I did it, it looks like it works. ad 2) ...you're using a JAXP TraX... You are right. Although I do not know, that (and even how to) I changed anything about JAXP, when I run this on my second comp (MS Windows Vista 64-bit Enterprise, Sun Java 64-bit 1.6.0_10-b33), it works fine. Thank

Re: 0.95: Metadata is not valid XML document even if there are no metadata defined in FO source

2008-11-05 Thread Jeremias Maerki
On 05.11.2008 18:32:20 Stepan RYBAR wrote: ad 1) I did it, it looks like it works. ad 2) ...you're using a JAXP TraX... You are right. Although I do not know, that (and even how to) I changed anything about JAXP, when I run this on my second comp (MS Windows Vista 64-bit Enterprise, Sun

Re: Image overflow in FOP

2008-11-05 Thread Sebastien
Thank you for your answer ! Here's what I would do: Enable the i-f-o behaviour as in your first screenshot, then remove all keeps. That should avoid the overflow. Then add keep-with-next or keep-together one step after the other. I'm pretty sure that you've just overdone the keeps. Please

Re: Image overflow in FOP

2008-11-05 Thread Jeremias Maerki
On 05.11.2008 20:22:27 Sebastien wrote: Thank you for your answer ! Here's what I would do: Enable the i-f-o behaviour as in your first screenshot, then remove all keeps. That should avoid the overflow. Then add keep-with-next or keep-together one step after the other. I'm pretty sure

Re: displaying empty rows for a table

2008-11-05 Thread JWang
Thank you very much, Jeremias. You are the man. The unicode works. Jeremias Maerki-2 wrote: NBSP is Unicode 0x0160, in Java: from org.apache.fop.util.CharUtilities: /** non-breaking space */ public static final char NBSPACE = '\u00A0'; Just add this character to the

Re: Image overflow in FOP

2008-11-05 Thread Sebastien
Without seeing your FO to fully understand what you're doing it is a bit difficult to offer further suggestions. Usually, watermarks are best painted using block-containers (absolute-position=fixed) inside the region-before. Or you can use the background-image property on the region-body. I

Re: Horizontal and Vertical Alignment with region-start

2008-11-05 Thread Frank Niedermann
Hi Chris, cbowditch wrote: You can specify display-align=center on region-start element. that did the trick - thanks! Frank -- View this message in context: http://www.nabble.com/Horizontal-and-Vertical-Alignment-with-region-start-tp20340905p20356109.html Sent from the FOP - Users