RE: Counting the number of pages generated in the pdf file

2003-01-31 Thread Rakesh Patel
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 file

RE: userconfig.xml in servlet

2003-01-31 Thread Rakesh Patel
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 -

Hyperlink in a List

2003-01-28 Thread Rakesh Patel
Hi, Does anybody know why a hyperlink inside a list won't work? Here's the code: • Commissions Thanks Rakesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Table cell alignment and images

2003-01-25 Thread Rakesh Patel
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:

Escape sequences and fop

2003-01-21 Thread Rakesh Patel
Hi Oleg, the reason I need to use disable-output-escaping is because at present the xml data (the 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 that generat

Escape sequences and fop

2003-01-21 Thread Rakesh Patel
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 but

Solution for finding images in a WAR file

2003-01-20 Thread Rakesh Patel
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 = scntxt.getRealPath("/WEB-INF

Problem finding images in WAR file

2003-01-20 Thread Rakesh Patel
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

Concatenating pdf's

2003-01-10 Thread Rakesh Patel
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 c

Image border and page numbering issues

2003-01-05 Thread rakesh patel
Hi, I am using FOP 0.20.4 and have 2 problems that have me stumped: 1. I have an external image within a block. I apply a border to the block but there's always a (1 pixel wide roughly) gap above and below the image. Here's a snippet of code to show you what I mean: I've tried adjusting hei