At 23:13 19.01.2003 +0100, you wrote:
java.lang.NullPointerException
at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:94)
Seems like links do not mix well with footnote spilling.
Workarounds:
- Avoid links in footnotes generally. This will save you occasional
other trouble too.
Hi,
I often get the following error after changing some content of my docbook-XML
when I try to generate PDF:
[ERROR] null
org.apache.fop.apps.FOPException
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:74)
at org.apache.fop.apps.Fop.main(Fop.java:19)
Hi,
I am using an SVG in an xml-fo file generated from docbook like
the following:
fo:instream-foreign-object
!-- here svg code --
/fo:instream-foreign-object
On my local machine (win xp, java 1.4.1) everything works if I call fop.bat
or embedd it into my web application. On my linux server I got
At 20:01 18.01.2003 +0100, you wrote:
Drop the batik.jar from your FOP distribution into the
WEB-INF/lib or whatever fits, and remove other Batik jars from
the classpath. Be aware this is incompatible with Cocoon's
svg2jpeg and svg2png serializers.
J.Pietschmann
Thanks a lot, I thought I used the
At 20:09 11.01.2003 +0100, you wrote:
Marko Petersen wrote:
I have an xsl-fo file which includes an svg graphic. Is there any way
to generate a link in the svg referencing a fo:block?
No, you can't embed a fo:basic-link into an SVG.
In principle, you can use JS actions to refer to
FO content
Hi,
I have an xsl-fo file which includes an svg graphic. Is there any way
to generate a link in the svg referencing a fo:block? I thought of something
like the following, which does not work, but should illustrate the problem:
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
!-- some fo here --
Hi,
I think this can be done by System.setProperty(...), and I thought with:
System.setProperty( org.xml.sax.driver,
org.apache.xerces.parsers.SAXParser );
But I tried it and it does not work, maybe I did something wrong.
I tried another one, and the following should work:
System.setProperty(
Hi,
I transformed some text to upper-case using variables and
the transform() funcion. Maybe there is an easier way to do this,
but this should work. The following is an example how to do this.
Marko
example.xml:
?xml version=1.0?
test
nodeHello/node
/test
example.xsl:
?xml version=1.0?
At 23:27 06.11.2002 +0100, you wrote:
Jeremias Maerki wrote:
I'm going a step further and I'm thinking about providing a development
tool for FOP.
I'm looking forward to this.
For the subject at hand, however, I think a
fop -xml foo.xml -xsl foo.xsl -fo foo.fo
would do, and I hope I can get this
Hi,
I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?
Greetings,
Marko
Hi,
your PDF file has to be accessible for tomcat, for example:
Imagine your web application is stored under
%TOMCAT_ROOT%/webapps/yourapp
Then your PDF file has to be somewhere in your 'yourapp'
directory. It is the same as html pages: you referene them
(e.g. in html) with a href=foo.html -
Hi,
maybe you should call your servlet with the option
target=blank, for example:
a href=/MyServlet target=_blankPDF/a
This causes your Servlet output to appear in a new browser
window - the old one is still there and should have the valid
session.
This only helps to hold the session, I think your
:
Marko Petersen wrote:
I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?
Well, you certanly know what the first footnote body is, so you can just
add block with an rule leader at the beginning. See Dave Pawson's example:
http
13 matches
Mail list logo