File does not begin with %PDF error

2002-12-20 Thread vikas waykole
Hi, I am generating pdf file from formatting objects using fop.0.20.2. But today I got very different error ie File does not begin with %PDF. What might be the cause and fix for this. Thanks in advance, Vikas Waykole _ MSN 8:

RE: Grouping by position - Out Of Memory

2002-12-20 Thread Renzo Callant
Out of Memory - problem solved. I found the solution on http://www.mulberrytech.com/xsl/xsl-list from G. Ken Holman [EMAIL PROTECTED] Here is what helped me out : T:\ftemptype prateek.xml ?xml version=1.0 encoding=iso-8859-1? table rowRow 1/row rowRow 2/row rowRow 3/row rowRow 4/row

Re: Defining named destination in pdf

2002-12-20 Thread Keiron Liddle
On Thu, 2002-12-19 at 17:47, Jochen Stuempfig wrote: hello i tried to define a named postion in an pdf using following code fo:block id=mydestination The name of the id is not passed to the pdf document. For internal links it simply gets the position on the page and makes a link to that

Length name output-file

2002-12-20 Thread Renzo Callant
Hi all, i use fop with the .bat file. Can we use filenames for the .pdf output that are longer than 60 characters ? Renzo Callant Belgium - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: TXTRenderer Setting the encoding

2002-12-20 Thread Fabrizio Tringali
I have the same exception (Alex, Can you say me if the trace is the same?) Anybody knows the reason?? hi [INFO] building formatting object tree [INFO] setting up fonts [INFO] rendering areas to TEXT ; SystemID:

Re: TXTRenderer Setting the encoding

2002-12-20 Thread alex elsholz
hi, yes its the same... its because the option member will only be initialized by using the xmlrenderer or on commandline. alex -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

Using String for XML source

2002-12-20 Thread Joannes Capitanio
I'd like to generate xml string from a different source ( using directly some class instead of reading from a file andcreating a String variable)... my xml source doen't inclusde any reference to external source... so I tryed to open result using a StringReader... but a lot of exception

supported image formats

2002-12-20 Thread m . schaeffler
Hi image-fopper, I’m struggling with embedding images into pdf again. I’m using fop 0.20.4. My main goal is to find out which image formats are supported and for which could be support added to fop and how. I already wrote an email about this and got quite good feedback, but there are still a lot

Re: supported image formats

2002-12-20 Thread Chris Bowditch
comments below From: [EMAIL PROTECTED] FOP only needs the second bit, which has been made part of the jdk in version 1.4! It is in the package javax.imageio (http://java.sun.com/j2se/1.4/docs/api/javax/imageio/package-summary.html) I’m quite sure the package javax.imageio could be used to add

FOP : OutOfMemoryError with a big XML file

2002-12-20 Thread Jean-Philippe VALENTIN
Hi, When I want transform my XML + XSL file I have got this error : ... [INFO] [28] Exception in thread main java.lang.OutOfMemoryError (PS: I have 256Mo of RAM with 631Mo of limit and the error appear at 260Mo of RAM use) When I reduce the size of the XML file, it's work correctly. What is

RE: FOP : OutOfMemoryError with a big XML file

2002-12-20 Thread Renzo Callant
Divide your file up in multiple page-sequences with grouping by position. I had the same problem, look at this example : T:\ftemptype prateek.xml ?xml version=1.0 encoding=iso-8859-1? table rowRow 1/row rowRow 2/row rowRow 3/row rowRow 4/row rowRow 5/row rowRow 6/row rowRow

background-image implemented - yes or no?

2002-12-20 Thread Jim Ross
Greetings, I spent all day unsuccessfully struggling to get my background image to work in v0.20.4. Then I stumbled upon the following statement at http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html Caution: The only background property FOP 0.20.4 supports is 'background-color'.

Re: background-image implemented - yes or no?

2002-12-20 Thread Chris Bowditch
Hi Jim, background-image works in v0.20.5rc which can be downloaded from FOP's website. It did not work in v0.20.4 Chris From: Jim Ross [EMAIL PROTECTED] Greetings, I spent all day unsuccessfully struggling to get my background image to work in v0.20.4. Then I stumbled upon the following

Re: Using String for XML source

2002-12-20 Thread Fabrizio Tringali
For me this work on 0.20.5rc File xslt = new File ("some.xsl"); File pdf = new File("some.pdf"); String xml = createXML(); //Construct driver org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); //Setup logger Logger logger = new

Re: background-image implemented - yes or no?

2002-12-20 Thread Clay Leeds
Hi Jim Chris, Using fop 0.20.4 I was able to load a background-image when rendering to -pdf but not -print. I have tried both 0.20.4 0.20.5rc and get the same results. In my implementation I place the background-image in the fo:region-body tag (BTW, I also tested the background-image