only display the text in XSL file but does not display the image

2004-04-07 Thread Jerry
Jeremias and folks, I rewrote my servlet and got a little progress even if it still cannot display the tiff data. When I ran my servlet, from web browser, I can see the text(i.e. COPY ONLY etc) in PDF format. Those text are from my XSL file. But it does not show the image. I ran my new servlet--

Re: how to display something like "Page 1 of 5" in the PDF page header

2004-04-07 Thread Biying Huang
Clay, Thank you very much! It works perfect. Biiying Clay Leeds wrote: See info below next to the two items. Have a nice day! Web Maestro Clay p.s. I assume your actual pages have proper syntax (I didn't check anything--just added the code in the proper spots). ==data.xml=

Re: Want to convert a standard form to XSL

2004-04-07 Thread Glen Mazza
Excellent. Thanks! Glen --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > to a): You don't have to. > to b): I wouldn't (quality and PDF size!). Instead > create a stylesheet > (for XSL-FO, SVG or both) that places the values in > the right places (on > a white page). Then use a PDF-postprocessor

Re: urgent help needed using FOP

2004-04-07 Thread Jerry
Jeremias, Thank you so much for your detailed information. It really helps me a lot. Based on your suggestion, I am going to implement it. I will let you know what I get. Best regards, Jerry --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Hello Jerry, > > On 07.04.2004 19:07:05 Jerry wrote

Re: how to display something like "Page 1 of 5" in the PDF page header

2004-04-07 Thread Clay Leeds
See info below next to the two items. Have a nice day! Web Maestro Clay p.s. I assume your actual pages have proper syntax (I didn't check anything--just added the code in the proper spots). ==data.xml=== Image5445.jpg image information

how to display something like "Page 1 of 5" in the PDF page header

2004-04-07 Thread Biying Huang
Hi, I use FOP to generate a PDF from a XML file and a SXLT file. I am trying to display something like "Page 1 of 5" in the PDF page header. . I found a suggestion from http://www.dpawson.co.uk/xsl/sect3/N8703.html#d9294e31, but I don't understand. It says: will produce it, if the last thing

Re: Spaces when rendering PCL format

2004-04-07 Thread Chris Bowditch
Razvan Veina wrote: The width of the column is much bigger than the width of the text. I guess you're right about the deficiency of the PCL renderer because I made a very interesting change that improved the look of my page: I changed the width of my column with a small value, and like magic, the t

AW: Spaces when rendering PCL format

2004-04-07 Thread Jan Kohnert
add the white-space-collapse property into your block bla bla -Ursprüngliche Nachricht- Von: Razvan Veina [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 15:06 An: [EMAIL PROTECTED] Betreff: Spaces when rendering PCL format Hi everyone, I'm having a strange p

Re: Spaces when rendering PCL format

2004-04-07 Thread Razvan Veina
The width of the column is much bigger than the width of the text. I guess you're right about the deficiency of the PCL renderer because I made a very interesting change that improved the look of my page: I changed the width of my column with a small value, and like magic, the texts were displayed

Re: Spaces when rendering PCL format

2004-04-07 Thread Chris Bowditch
Razvan Veina wrote: > border-top-color="black"> Line no Can you make sure the width defined for the column is not smaller than the width of "Line no" Failing that its probably just a deficiency of the PCL Renderer. It should be noted that the PCL Renderer is very primitive and under developed

Spaces when rendering PCL format

2004-04-07 Thread Razvan Veina
Hi everyone, I'm having a strange problem when rendering PCL with FOP, and I wander if anybody have an idea about this: I have some kind of a table with some texts in it. The texts may contain one ore more spaces inside. My problem is that some of the texts containing spaces are displayed badly. A

RE: urgent help needed using FOP

2004-04-07 Thread Sun, Tiffany (Tong)
Title: RE: urgent help needed using FOP Jerry, It seems like your FOP driver never have any reaction with inputSource. If you use Driver driver = new Driver(); you must set  driver.setOutputStream(out) and driver.setInputSource(theInputSrc). Or you can change the initial part: Driver driver

Re: urgent help needed using FOP

2004-04-07 Thread Jeremias Maerki
My suggestion: Create a separate Servlet that is only responsible to return the byte stream for your TIFF image. Then modify your current servlet to simply pass the correct URL as a parameter to the XSLT process. That URL must be so that FOP can load the TIFF image directory from your database via

Re: Want to convert a standard form to XSL

2004-04-07 Thread Jeremias Maerki
to a): You don't have to. to b): I wouldn't (quality and PDF size!). Instead create a stylesheet (for XSL-FO, SVG or both) that places the values in the right places (on a white page). Then use a PDF-postprocessor to overlay your generated PDF with the form template, page per page. I've done that o