FOP instanciation

2007-09-12 Thread Nicolas Baumann
Hello, I'm using FOP 0.93. I've tried to isolate the instanciation part (the newFop method) from the transformation part, but when I try to reuse the instance, I get this : FOTreeBuilder (and the Fop class) cannot be reused. Please instantiate a new instance. Why does the newFOP method takes

Re: using newFOP only once

2007-09-11 Thread Nicolas Baumann
Nicolas Baumann nicos109 at free.fr writes: Hello I'm experimenting some performance issue due to the newFOP method which takes the ouputstream as argument : fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out) This is called every time a pdf is generated, and takes an especially

OutOfMemory problem

2007-08-16 Thread Nicolas Baumann
hello, I'm having a problem with a large xml flow with fop, generating an OutOfMemory exception. i'm currently doing this : Source src = new StreamSource(new ByteArrayInputStream(xml.toByteArray())); what should I do to optimize memory ? Thanks, Nicolas.

fo:table-row split over two pages

2007-08-02 Thread Nicolas Baumann
Hello, I'd like to avoid every fo:table-row splitting over two pages. I'm currently using fop 0.93 and I tried the option keep-with-next=always. It worked fine as long as the table could stay on one page. But when I try to put a table over several pages, I almost always get at least one row over

Re: fo:table-row split over two pages

2007-08-02 Thread Nicolas Baumann
Try keep-together=always on the fo:table-row. Vincent It seems to solve the problem Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

specials characters such as Œ

2007-08-02 Thread Nicolas Baumann
Hello, I need to include special characters such as Œ in the XML file given to the FOP processor. My XML is encoded with ISO-8859-1, which supports most characters but not Œ. How can I do this ? Thanks, Nicolas. - To

word too large for a table cell

2007-08-02 Thread Nicolas Baumann
Hello, When a word is too large for a table cell, it overlaps on the next cell. How do I avoid this ? I'm using fop 0.93. Thanks, Nicolas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: word too large for a table cell

2007-08-02 Thread Nicolas Baumann
it breaks or not. Make sure your font supports them (SHY is supported by all I believe). Nicolas Baumann wrote: Hello, When a word is too large for a table cell, it overlaps on the next cell. How do I avoid this ? I'm using fop 0.93. Thanks, Nicolas