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,
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
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
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
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(),
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();
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]
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.
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:
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
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
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
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
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
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
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
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
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
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
--
19 matches
Mail list logo