Re: Out of Memory Error from Java

2009-01-22 Thread Chris Bowditch
Steffanina, Jeff wrote: I have: FOP 0.95 Linux Java 1.5 My Java starts with memory set as: -Xmx192m I can print an unlimited number of individual invoices in a single Java process (i.e. the user chooses the option to print). For example, print 2,000 invoices

Possible to disable automatic line-break?

2009-01-22 Thread Frank Niedermann
Hi, we are using Apache FOP 0.95 to generate PDF documents from within a Java application. The output is displayed like a card on the page using page margins. Sometimes we have text that does not fit in one line, and automatic line-break causes the last line on the bottom to drop out of the

AW: Possible to disable automatic line-break?

2009-01-22 Thread Georg Datterl
Hi Frank, You could use keep-together.within-line=always to prevent a line break. But then the text would be printed into the right margin... Regards, Georg Datterl -- Kontakt -- Georg Datterl Geneon media solutions gmbh Gutenstetter Straße 8a 90449 Nürnberg HRB Nürnberg:

Re: multicolumn with headline

2009-01-22 Thread Vincent Hennebert
Hi Georg, Georg Datterl wrote: Hi Vincent, Then you have to do it in two steps: one to see in how many lines the headline will be broken, Does FOP offer any help here? I could calculate the string length and divide, but that would not take hyphenation into account. Not really. That

RE: Out of Memory Error from Java

2009-01-22 Thread Steffanina, Jeff
I read the article that you referenced below. It suggests using multiple page sequences. Currently, I have only one. I will make that change and test it. THANKS for the info! Jeff -Original Message- From: Chris Bowditch [mailto:bowditch_ch...@hotmail.com] Sent: Thursday,

table-cell width in percentage

2009-01-22 Thread Li, Hao
Hi, Is width in percentage supported in fo:table-cell such as fo:table-cell width=30%.../ ? I could not make it work. Only a number or (number + px) works for me. Am I missing something? I am using FOP version 0.95 and trunk. thank you very much for your help, Hao table-width-percentage.fo

Re: table-cell width in percentage

2009-01-22 Thread Andreas Delmelle
On 22 Jan 2009, at 19:04, Li, Hao wrote: Is width in percentage supported in fo:table-cell such as fo:table- cell width=30%.../ ? AFAIK, this is not implemented (mainly because it is not defined clearly in the XSL-FO Rec what the expected behavior should be) Also, FOP does not yet support

know number of pages in end pdf without actually making it

2009-01-22 Thread Chakravarty, Abhishek
Is there a way to know the number of pages in the final pdf document generated from FOP without actually doing its generation? The XML content being pulled in for the pdf generation is dynamic and so the number of pages being generated at the end would change too based on this. Was wondering if

Re: know number of pages in end pdf without actually making it

2009-01-22 Thread Andreas Delmelle
On 22 Jan 2009, at 22:16, Chakravarty, Abhishek wrote: Is there a way to know the number of pages in the final pdf document generated from FOP without actually doing its generation? Depends on what you mean by generation. The FO content at least has to be parsed and processed partly

Page processing events

2009-01-22 Thread Andrew Pietsch
Hi all, I'm using fop to print in a desktop client application. Currently moderately sized documents (about 30 pages) are taking a long time to print (up to a minute) and I really need to provide some kind of user feedback, preferably by telling the user what page is being prepared or rendered.