RE: fo:conditional-page-master-reference/

2006-05-16 Thread Pascal Sancho
Hi Eivind, You can use a fo:block-container with absolute-position=absolute, and place it at the end of your fo:flow. This should appear only on the latest page (tested successfully on FOP 0.92b). Pascal -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Monday,

FOP 0.92 : Text Rendering problem

2006-05-16 Thread Debasish Jana
Hi: While trying to render a XSL-FO document to PLAIN_TEXT, the text rendering output shows lots of extra line breaks and spaces. For example, the following FO snippet. - fo:table table-layout=fixed background-color=#FF margin-top=0.0pt margin-bottom=0.0pt

Re: FOP 0.92 : Text Rendering problem

2006-05-16 Thread Chris Bowditch
Debasish Jana wrote: Hi: While trying to render a XSL-FO document to PLAIN_TEXT, the text rendering output shows lots of extra line breaks and spaces. FOP is not the best tool for generating plain text because FOP works internally with precise coordinates, placing Text at exact

Re: Read only PDF with fop

2006-05-16 Thread Louis . Masters
Check out: http://xmlgraphics.apache.org/fop/0.20.5/pdfencryption.html -Lou Lukem [EMAIL PROTECTED] 05/16/2006 09:31 Please respond to fop-users@xmlgraphics.apache.org To fop-users@xmlgraphics.apache.org cc Subject Read only PDF with fop Hi. I use fop to create a pdf

Re: Read only PDF with fop

2006-05-16 Thread Lukem
Thank you very much This is my code: ByteArrayOutputStream BAout = new ByteArrayOutputStream(); org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF); driver.setOutputStream(BAout); driver.render(input.getParser(),

Re: Read only PDF with fop

2006-05-16 Thread Dirk Bromberg
Have a look at the samplecode at: Usage (embedded) or here inline: Lukem wrote: Thank you very much This is my code: ByteArrayOutputStream BAout = new ByteArrayOutputStream(); org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver();

Re: Read only PDF with fop

2006-05-16 Thread Lukem
It returns a Nullpointerexception -- View this message in context: http://www.nabble.com/Read-only-PDF-with-fop-t1627655.html#a4411042 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Read only PDF with fop

2006-05-16 Thread Lukem
sorry, it was my mistake. this is the real error: Algorithm RC4 not available -- View this message in context: http://www.nabble.com/Read-only-PDF-with-fop-t1627655.html#a4411290 Sent from the FOP - Users forum at Nabble.com.

Re: Read only PDF with fop

2006-05-16 Thread Dirk Bromberg
Please read the section Environment ... at http://xmlgraphics.apache.org/fop/0.20.5/pdfencryption.html Lukem wrote: sorry, it was my mistake. this is the real error: Algorithm RC4 not available -- View this message in context:

RTF limitations on latest release

2006-05-16 Thread Shamem Miah
Hi I am creating pdf and rtf outputs of a document using fop version 0.92. The pdf produces output which correspondes to my xsl template. The rtf output produces the same output except that it doesn't a)perform indentation i.e. fo:block text-indent="1in" b) it doesn't always create a

g2d.drawImage error on PSDocumentGraphics2D

2006-05-16 Thread Camilakill
Hello, I am getting a problem when I try to use the method g2d.drawImage(...) from PSDocumentGraphics2D. the error is: com.ibm.ws.exception.WsEJBException: nested exception is: java.lang.NoSuchFieldError: org.apache.xmlgraphics.util.io.ASCII85OutputStream: field POW85 not found My application

RE: Revision bar indicator. How?

2006-05-16 Thread Michaud, Jean-Francois
How would I would deal with this puzzles me. How would I deal with list bullets and proper body indent of sections/subsections/subsubsections if I was to use tables instead of lists? This solution seems to be very clumsy and artificial. I would have to basically have to recode and reproduce what

Re: g2d.drawImage error on PSDocumentGraphics2D

2006-05-16 Thread Jeremias Maerki
I assume this has to do with your JVM. The POW85 field is in ASCII85Constants. I assume the JVM doesn't make the constants properly available. What JVM are you running on (version and brand)? If you're running on an IBM VM, try a Sun VM instead. Not much we can do if the JVM doesn't behave as it

Re: In-Memory images

2006-05-16 Thread Jeremias Maerki
In the case that you're using FOP 0.92beta, you can implement a URIResolver which listens to the inmemimage protocol. You can then return a StreamSource instance that gives access to an ByteArrayInputStream on your byte array. Please see [1] for an example of such an URIResolver. Set it on the

Re: Revision bar indicator. How?

2006-05-16 Thread J.Pietschmann
Michaud, Jean-Francois wrote: How would I would deal with this puzzles me. How would I deal with list bullets and proper body indent of sections/subsections/subsubsections if I was to use tables instead of lists? This solution seems to be very clumsy and artificial. I would have to basically

Re: FOP 0.92 : Text Rendering problem

2006-05-16 Thread J.Pietschmann
Chris Bowditch wrote: My advice is to use XSLT to convert XML directly to Text. Well, tools like nroff are even better. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: RTF limitations on latest release

2006-05-16 Thread Jeremias Maerki
On 16.05.2006 17:34:54 Shamem Miah wrote: Hi I am creating pdf and rtf outputs of a document using fop version 0.92. The pdf produces output which correspondes to my xsl template. The rtf output produces the same output except that it doesn't a)perform indentation i.e. fo:block

Re: RTF limitations on latest release

2006-05-16 Thread Jeremias Maerki
On 16.05.2006 17:34:54 Shamem Miah wrote: snip/ b) it doesn't always create a table according to absolute value i.e. fo:table border-width=0.1mm border-style=solid table-layout=fixed width=8in sometimes it does for smaller values but not for larger values. Hmm, taking a closer look here

Re: FOP 0.92 : Text Rendering problem

2006-05-16 Thread Paul Tremblay
On Tue, May 16, 2006 at 04:57:00PM +0530, Debasish Jana wrote: While trying to render a XSL-FO document to PLAIN_TEXT, the text rendering output shows lots of extra line breaks and spaces. You might want to try this project: https://sourceforge.net/projects/xml2txt/ Paul --