Re: Length name output-file

2002-12-20 Thread Joerg Pietschmann
On Friday 20 December 2002 11:05, Renzo Callant wrote: > i use fop with the .bat file. > Can we use filenames for the .pdf output that are longer than 60 characters It depends. There is no restriction imposed by FOP, but the underlying OS and the command interpreter may have trouble, in particular

RE: Using String for XML source

2002-12-20 Thread Francis, Ronald
This works for me..     StringReader reader = new StringReader(strFoDocument);    Driver driver = new Driver(new InputSource(reader), null);    driver.setErrorDump(true);    renderer = new PrintRenderer();    driver.setRenderer(renderer);    dr

RE: Loading Image from Server

2002-12-20 Thread Francis, Ronald
It could be a security problem, can you copy-paste the stack trace/error messages? I use FOP from an applet , loading images from a server, and it works fine using the jdk1.4 plugin Cheers, Ronald -Original Message- From: alex elsholz [mailto:[EMAIL PROTECTED] Sent: Thursday, December 19,

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 attrib

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

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 s

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'. Th

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:\ftemp>type prateek.xml Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Row 7 Row 8 Row 9 Row 10 Row 11 Row 12 Row 13 Row 14 Row 15 Row 1

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 t

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 suppo

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: Multithreading with FOP

2002-12-20 Thread Ryan . Asleson
My testing hasn't exactly been scientific, so you'll have to take my comments for what they're worth. I'm running FOP on an IBM OS/390 mainframe. I tested running anywhere from a single thread to up to four threads. In this environment, two threads seems to be the "sweet spot" -- overall throu

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 and creating 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

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!

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: file:///C:/temp/styl

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 PROTE

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 > > 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 page and position. Th

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:\ftemp>type prateek.xml Row 1 Row 2 Row 3 Row 4 Row 5 Row 6 Row 7 Row 8 Row 9 Row 10 Row 11 R

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: advance