Re: 0.93: problem with fo:table, width=100% in a page header

2007-04-04 Thread USHAKOV, Sergey
Andreas, thank you a lot and sorry for my long silence. I had to make about a month's break with my project of settings things up with FOP... Your ideas really helped, and this problem has gone with the help of your approach. Just for me to have it finalized: is it a good idea to post this

Re: 0.93: problem with fo:table, width=

2007-04-04 Thread a_l . delmelle
- Oorspronkelijk bericht - Van: USHAKOV, Sergey [mailto:[EMAIL PROTECTED] Hi Sergey, Good to see you managed to solve the issue. Andreas, thank you a lot and sorry for my long silence. I had to make about a month's break with my project of settings things up with FOP... Your ideas

Table cell border fop-0.20.5

2007-04-04 Thread Arun Kumar
I am trying to do the following fo:table-cell border-left-color=green border-left-style=dotted border-top-color=red border-top-style=dotted border-right-color=blue border-right-style=dotted border-bottom-color=yellow border-bottom-style=dotted in

RE: Table cell border fop-0.20.5

2007-04-04 Thread Pascal Sancho
Hi, In FOP 0.20.5, only solid border is implemented... If you want more, you should download the latest FOP (0.93). Pascal -Message d'origine- De : Arun Kumar [mailto:[EMAIL PROTECTED] Envoyé : lundi 2 avril 2007 09:28 À : fop-users@xmlgraphics.apache.org Objet : Table cell border

Stream Closed Exception !! Need Help

2007-04-04 Thread Harshini Madurapperuma
Hi All; In fop Driver class there is a method called public synchronized void render(XMLReader parser, InputSource source) throws FOPException { } Is there a way to convert that InputSource source back into a character array within that render class? I

Re: Lines are hiding in AWTViewer perhaps Bug in Java2DRenderer or Java2D itsself

2007-04-04 Thread Cheffe
Me again, I solved the problem not the whole but a piece of it. I have overwritten drawBorders() in AWTRenderer with this... protected void drawBorders(Rectangle2D.Float borderRect, BorderProps bpsBefore, BorderProps bpsAfter, BorderProps bpsStart, BorderProps bpsEnd) {

Re: Lines are hiding in AWTViewer perhaps Bug in Java2DRenderer or Java2D itsself

2007-04-04 Thread Cheffe
Me again, I solved the problem not the whole but a piece of it. I have overwritten drawBorders() in AWTRenderer with this... protected void drawBorders(Rectangle2D.Float borderRect, BorderProps bpsBefore, BorderProps bpsAfter, BorderProps bpsStart, BorderProps bpsEnd) {

Problem after Re-Install

2007-04-04 Thread Thomas Zastrow
Hi there, I reisntalled my complete system and now I have a little problem with FOP 0.93: It seems so that it will not render included SVG-files (which works before without problem). I'm using now java version 1.6.0_01. When rendering an XML file with SVGs to PDF, I get the error: 4. Apr 07

Re: Problem after Re-Install (SOLVED)

2007-04-04 Thread Thomas Zastrow
Thomas Zastrow wrote: Hi there, I reisntalled my complete system and now I have a little problem with FOP 0.93: It seems so that it will not render included SVG-files (which works before without problem). OK, sorry, I've got it: Under OpenSuse, the gcj is installed as standard and after

Re: Convert InputSource into a Character array

2007-04-04 Thread Jeremias Maerki
I don't understand what you're trying to do. Maybe you should explain that before going into technical details. On 04.04.2007 06:08:53 Harshini Madurapperuma wrote: Hi All; In fop Driver class there is a method called public synchronized void render(XMLReader parser, InputSource source)

Re: Strange scaling of GIF images

2007-04-04 Thread Jeremias Maerki
First of all, let me say that I personally think that GIF shouldn't be used anymore today. I'd convert the image to PNG and use that. :-) On 29.03.2007 01:57:09 Daniel Noll wrote: Pascal Sancho wrote: Hmm, I tried it on Photoshop, and I confirm that I loose black pixels while rendering for

Re: GifImage hangs indefinitely

2007-04-04 Thread Jeremias Maerki
That NPE is a known problem. I actually think GIFImage should be removed. At any rate, I won't reimplement that once I get to the image package redesign. I have tried at least twice to somehow work around what I think is a bug in the class library but no luck. I gave up. On 02.04.2007 08:47:34

Re: Getting jeuclid to run

2007-04-04 Thread Jeremias Maerki
If you get Unknown formatting object http://www.w3.org/1998/Math/MathML^math; this means that FOP didn't find an extension which handles the MathML namespace. Please make sure the extension JAR is in the classpath on the same level as xmlgraphics-commons.jar and fop.jar and that the JAR contains a

Re: Base URL for loading images

2007-04-04 Thread Jeremias Maerki
No, probably just an oversight. The handling of -atin is slightly different to -fo. I'll take a look on Friday. On 30.03.2007 14:20:52 Paul Vinkenoog wrote: Hi all, When I call fop.bat with -fo input, the base for resolving relative image URLs is the source file's directory. When I call

Re: GifImage hangs indefinitely

2007-04-04 Thread Daniel Noll
Jeremias Maerki wrote: That NPE is a known problem. I actually think GIFImage should be removed. At any rate, I won't reimplement that once I get to the image package redesign. I have tried at least twice to somehow work around what I think is a bug in the class library but no luck. I gave up.

Re: Strange scaling of GIF images

2007-04-04 Thread Daniel Noll
Jeremias Maerki wrote: We defer the whole image loading to ImageIO in that case, so if ImageIO doesn't already handle the image offset, the code in FOP certainly doesn't. We'd have to write special code for GIF to handle the offset. With ImageIO you can access those values through the GIF Image

RE: Convert InputSource into a Character array

2007-04-04 Thread Harshini Madurapperuma
Hi; I have this character array, I converted that character array into to a InputSource and passed it as a parameter to a render(XMLReader parser, InputSource source) method in the DRIVER class in fop. Within that render class I need to convert that InputSource (source) back into a character

Re: Convert InputSource into a Character array

2007-04-04 Thread Daniel Noll
Harshini Madurapperuma wrote: While doing that it raise this Exception: java.io.IOException: Stream closed at java.io.CharArrayReader.ensureOpen(CharArrayReader.java:65) at java.io.CharArrayReader.read(CharArrayReader.java:95) at

RE: Convert InputSource into a Character array

2007-04-04 Thread Sascha Schmidt
Hi all, I assume Harshini needs to get the original XML-String from a CharArrayReader (after rendering), which he used to equip the InputSource. IMHO there is no chance to get the XML-String back, because CharArrayReader.close() sets the internal Char-Buffer, which holds the XML-String, to null.

RE: Convert InputSource into a Character array

2007-04-04 Thread Harshini Madurapperuma
Hi ; Currently I'm using fop 20.5 version? Does it because of the version problem? /Harshini -Original Message- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 9:47 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Convert InputSource into a Character

Re: Convert InputSource into a Character array

2007-04-04 Thread Daniel Noll
Harshini Madurapperuma wrote: Hi ; Currently I'm using fop 20.5 version? Does it because of the version problem? No way to know, but if it really were a bug it would be silly to track it down on an ancient version if it's already fixed in the current stable release. Plus, I imagine the