Hi Peter,
I had the same issue. Here's my servlet code:
ServletContext scntxt = this.getServletContext();
String pathToFile = scntxt.getRealPath(/WEB-INF);
String imagePath = file: + pathToFile;
org.apache.fop.configuration.Configuration.put(baseDir, imagePath);
Hope that helps
Rakesh
Hi,
the standard way is to add a block (with an id value) on the end of the fo and
then reference it.
Rakesh
-Original Message-
From: MARTIN Franck [mailto:[EMAIL PROTECTED]
Sent: 31 January 2003 16:52
To: [EMAIL PROTECTED]
Subject: Counting the number of pages generated in the pdf
Hi,
Does anybody know why a hyperlink inside a list won't work? Here's the code:
fo:list-block provisional-distance-between-starts=12pt
space-before.optimum=12pt text-align=justify
fo:list-item
fo:list-item-label
end-indent=label-end()fo:block#x2022;/fo:block/fo:list-item-label
Hi,
I have a problem I have not been able to solve for quite a while to do with
placement of images inside table cells.
I have two images, held within two table cells.
The code looks like this:
fo:table-column column-width=31.8mm/
fo:table-column column-width=46mm/!-- 46mm --
Hi,
I am seeing some strange behaviour with FOP in an embedded servlet environment
and also within my (XML Spy) development environment.
I have an XML file and and XSL file. I process the files producing an fo
document which is rendered by FOP.
There is one tag which needs embedded fo tags
Hi Oleg,
the reason I need to use disable-output-escaping is because at present the xml
data (the HTBodyText tags) sometimes contains html tags. I need to replace
these with their fo equivalents. If you know how else to do this, please let me
know. I am going to go back to some previous code
Hi,
I have seen various posts about this but nothing definative about the solution.
Here's the problem:
I am building a web application to deploy and have no idea whether the
deployment site runs with Unix or Windows or which Servlet engine they use. In
theory, this should not be a problem if
Hi,
I have found a solution that I think works (have not got access to a Unix
environment to confirm this) but I did not hard-code any window/unix specific
paths.
Here's a snippet of code I used:
ServletContext scntxt = this.getServletContext();
String pathToFile =
Hi,
not specifically a FOP question but I have a requirement to append on the end
of a FOP-generated pdf another pdf. This other pdf is not dynamically generated.
Is this possible? Page numbering and TOC do not need to reference this
additional pdf if that makes things easier.
The only way I