Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
Some jar to which netbeans has access has those classes. Look in the output of jar tvf and see if any of those has the named classes. If you find a jar with those classes make sure it's part of your classpath for you app. Are you making any calls like ImageIO.write(BufferedImage, "JPEG", j

Re: Text fill color in external SVG is not preserved

2011-06-13 Thread Matthias Reischenbacher
Hi Jan, I use external graphics (SVG) in my FO document and when it is processed with FOP, color definition of some texts is ignored (they are black in the output). I can see the correct result in common browsers as well as in the Batik Squiggle utility. I think it is somehow connected to the tr

Re: Problems with FOP and image

2011-06-13 Thread Oscar.Flores
ok i made a test and tell me that the class is missign but maybe what you say its rigth and it register the handler so i gonna register the services so i do this public static void main(String[] args) throws Exception { DOMConfigurator.configure("D:/Mis documentos/NetBeansProjects/Fac

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
I'm not sure I'm following correctly: does removing the xmlgraphics jar cause netbeans to behave the same as the command-line run of you app? If so, I suspect netbeans is registering services for you. Your own code will have to make a call to one of the IIORegistry.registerServiceProvider() me

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-13 Thread Rob Sargent
I'm beginning to feel I've stirred a hornet's nest. Not sure if that's a bad thing though. ;) On 06/13/2011 03:54 PM, Andreas L. Delmelle wrote: On 13 Jun 2011, at 12:05, Vincent Hennebert wrote: On 10/06/11 18:32, Andreas L. Delmelle wrote: The area tree XML stores the specified "id" as a

Re: Problems with FOP and image

2011-06-13 Thread Oscar.Flores
Ok i get it, actually the ImageIO library i added because i read in the xmlgrapics that if something like the message org.apache.xmlgraphics.image.loader.ImageException: Cannot load image (no suitable loader/converter combination available)appear i have to add the jar file to the classpath b

Re: Text fill color in external SVG is not preserved

2011-06-13 Thread Andreas L. Delmelle
On 13 Jun 2011, at 21:50, honyk wrote: Hi Jan > I use external graphics (SVG) in my FO document and when it is processed > with FOP, color definition of some texts is ignored (they are black in the > output). > I can see the correct result in common browsers as well as in the Batik > Squiggle uti

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
Then it seems to me netbeans (if it's producing good output == assumptionA) is still using something that the command-line isn't. And given assumptionA, you're java code is correct in terms of FOP and your configuration isn't for ImageIO. Show your ImageIO related code and are you sure it's i

Re: Text Overflows into adjacent cell

2011-06-13 Thread Andreas L. Delmelle
On 13 Jun 2011, at 22:53, Chetan Shirol wrote: Hi Chetan > I am upgrading fop from .25 to .95 and facing the below issue. Please help. > > > Case 2: > Long text with No white space like > eg: ReallyReallyLongTextNoWhiteSpace > > then the text flows- overlaps the next column. FOP implements Un

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-13 Thread Andreas L. Delmelle
On 13 Jun 2011, at 12:05, Vincent Hennebert wrote: > On 10/06/11 18:32, Andreas L. Delmelle wrote: >> The area tree XML stores the specified "id" as a "prod-id" attribute. There >> can definitely be multiple areas with the same prod-id, as a block can be >> broken over multiple columns or pages.

Re: Problems with FOP and image

2011-06-13 Thread Oscar.Flores
ok well i put the xml in scr of my proyect i see that i still have the same issues of the image render of any image i dont now if the xml its in place i put the code down to see if something its missing 15:45:07,827 ERROR [render] Error while processing image: c:\cfd\nombregp.bmp (i mage/bmp) org

Text Overflows into adjacent cell

2011-06-13 Thread Chetan Shirol
Hi, I am upgrading fop from .25 to .95 and facing the below issue. Please help. 1. I have case 1 : Long text with space behaves properly (text wrapped properly inside the cell) eg : Really Really Long Text With WhiteSpace Case 2: Long text with No white space like eg: ReallyReallyLongTextNoWh

Text fill color in external SVG is not preserved

2011-06-13 Thread honyk
Hello Everyone, I use external graphics (SVG) in my FO document and when it is processed with FOP, color definition of some texts is ignored (they are black in the output). I can see the correct result in common browsers as well as in the Batik Squiggle utility. I think it is somehow connected to

Re: block-progression-dimension: how it works?

2011-06-13 Thread Vincent Hennebert
Hi Giuseppe, This is a FOP limitation, as you found out the hard way. FOP does not make use of the flexibility in block-progression-dimension to adjust the height of the block according to the content. It uses only the optimum value. Likewise for tables: a table row will only grow as much as neces

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
Try this log4j.xml: Place it at the root of your jar file http://jakarta.apache.org/log4j/"; debug="false"> On 06/13/2011 11:06 AM, Oscar.Flores wrote: ok i dont thik i have a configuracion file i find the code that i put in the other post i th

Re: Problems with FOP and image

2011-06-13 Thread Oscar.Flores
ok i dont thik i have a configuracion file i find the code that i put in the other post i think its the basic Rob Sargent-4 wrote: > > Do you have a config file for log4j. Usually it's in a resource tree. > Are you copying that to your deployment? Is your ant script including > the config

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
Do you have a config file for log4j. Usually it's in a resource tree. Are you copying that to your deployment? Is your ant script including the config file in the jar of your application? On 06/13/2011 10:12 AM, Oscar.Flores wrote: Ok yeah the log4j its having isuees to find the configuratio

Re: Problems with FOP and image

2011-06-13 Thread Oscar.Flores
Ok yeah the log4j its having isuees to find the configuration log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for mo

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-13 Thread Vincent Hennebert
On 10/06/11 18:32, Andreas L. Delmelle wrote: > On 10 Jun 2011, at 18:55, Christopher R. Maden wrote: > > Hi Chris > >> On 06/10/2011 12:49 PM, Andreas L. Delmelle wrote: >>> It does make perfect sense, but from FOP perspective, also poses the >>> challenge of properly implementing "id" on fo:tab