cvs commit: xml-fop/src/org/apache/fop/svg SVGElement.java

2001-09-14 Thread keiron
keiron 01/09/13 23:43:57 Modified:src/org/apache/fop/svg SVGElement.java Log: fixed potential npe Revision ChangesPath 1.11 +3 -2 xml-fop/src/org/apache/fop/svg/SVGElement.java Index: SVGElement.java

Antwort: Re: Unable to perform PDF creation

2001-09-14 Thread Harry . Grueneis
Thank you, this code works. greeting harry Elaxy AG Harry Grüneis Gutenbergstr. 5 D- 82178 Puchheim bei München Tel. +49 (89) 890 130 81 Fax +49 (89) 890 130 89 e-Mail: [EMAIL PROTECTED], Web: http://www.turck.de - To

RE: Avalon?

2001-09-14 Thread Alistair Hopkins
+1 for keeping extra libraries to a minimum FOP is great as a client side print tool, but not if it bloats -Original Message- From: COFFMAN Steven [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 10:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Avalon? FOP needs at all levels

Re: running FOP on Tomcat3.2.3

2001-09-14 Thread Jean-Francois Selber
it was a library problem set the library of fop first in your class path - Original Message - From: Liliana Selea [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 13, 2001 7:20 PM Subject: running FOP on Tomcat3.2.3 I tried to run FOP-0.20 on tomcat 3.2.3. I

Total page number of a PDF document

2001-09-14 Thread viktor . keimes
Hi! Is it possible to indicate the total page number of the document, e.g. for an output of the type page 3 of 35 ? I did not find something to this question in the documentation or the examples. Thank you first Greetings Viktor Keimes ___ Dr. Viktor

RE: Total page number of a PDF document

2001-09-14 Thread Smith, Paul R
There is an example concerning this in the doco I think but... Put a block like this in the document fo:block border-color=white border-style=solid text-align=end Page fo:page-number/ of fo:page-number-citation ref-id=terminator/ /fo:block and then at the end of the document put a block

Re: Total page number of a PDF document

2001-09-14 Thread jerome.basso
Hi One solution is to create an empty block at the end of the document with an id and to use page-number citation toward this block. fo:block id=endofdoc / and fo:block font-size=9pt line-height=15pt text-align=end p. fo:page-number//fo:page-number-citation

Extracting image embeddede in XMLfile using XSL????????

2001-09-14 Thread rajeev nair
hi, the question is some what out of group. any way please help me. I want to extract the image that i embedded in xml file using the img element using xsl stylesheet. that is, if my xml file is: ?xml version=1.0? ?xml-stylesheet type=text/xsl href=a.xsl root img src=a.gif/ /root How my a.xsl

RE: Extracting image embeddede in XMLfile using XSL????????

2001-09-14 Thread Giannetti, Fabio
Hi, a possible solution is: xsl:template match=img fo:external-graphic src={@src} xsl:apply-templates/ /fo:external-graphic /xsl:template this works for XSL-FO, for HTML will became: xsl:template match=img img src={@src} xsl:apply-templates/ /img

FOP on IBM AS400

2001-09-14 Thread Stephen Fry
Title: FOP on IBM AS400 Hi We are attempting to port our application which uses fop 0.20.1 to the AS400. We seems to have some issues with FOP's use of AWT classes. Has anyone any experience of this environment ? Is it possible to configure FOP not to use AWT or is it fundemental ? We have

RE: FOP on IBM AS400

2001-09-14 Thread Alistair Hopkins
Title: FOP on IBM AS400 Maybe irrelevant, but I had a problem when installing an app using FOP onto a linux box with no X on it, and traced the problem to the fact that the standard adobe fonts were not installed. I mended it be adding the rpm package urw-fonts-2.0-8, but it may also be

Re: tall image puts Fop in never-ending loop

2001-09-14 Thread Harald Hett
Hi Darrel! Use the attributes width and height of the fo:external-graphic element to scale the image to an appropriate size. Bye -- Harald Hett [EMAIL PROTECTED] Gesellschaft für integrierte Systemplanung - To unsubscribe,

How to do pre in PDF...

2001-09-14 Thread Beer, Christian
Hi there! I have a question: I am developing a XSL, that transforms a XML to PDF using FOP. This shall include some code-samples included like one can do using pre in HTML. How can I then convert the newlines into fo:blocks?? Christian __ DIRON

Errors in link positioning

2001-09-14 Thread Mikko Honkala
Hi, there are some bugs in FOP 0.20.1 in link positioning: 1) abolutely positioned blocks will completely mess up link positioning for that page 2) links do not take the padding-top attribute into account, while the renderers do. See attached fo and pdf for a demo of this bug. - Mikko Honkala

RE: tall image puts Fop in never-ending loop

2001-09-14 Thread COFFMAN Steven
The workaround is to tplit the image into two images that fit in a page by manually using Gimp or Photoshop and modifying your FO accordingly. Ideally FOP would do this automatically, but that requires reasonably sophisticated image processing code. Graceful failure or omission of impossibly

RE: Logs, logs and more logs

2001-09-14 Thread COFFMAN Steven
Hi Christopher, Very good points, but I think this is a discussion that needs to happen at a higher level. FOP needs to cooperate with Cocoon, and Cocoon is committed to Avalon. If Avalon adopted Trunk, or did something similar, it would fix FOP and Cocoon at the same time with little

How can i extract image from xml file using xsl stylesheet?

2001-09-14 Thread rajeev nair
hi, this question is some what out of group.anyway please anyone kindly help me. I want to extract image from my xml file using xsl styling. my xml file is: ?xml version=1.0? ?xml-stylesheet type=text/xsl href=a.xsl? root img src=a.gif/ /root What would be my xsl file so that i can get the image

Printing PDF's with Double-Byte Characters...

2001-09-14 Thread Hung, Linus
Hi, I was able to generate PDF docs with double-byte chracters but now I have problems with printing those docs programmatically. Has anyone tried to do the same thing and made it work? I'd appreciate it if you could share your experience. Thanks. -Linus

jpg compression

2001-09-14 Thread Jim Wright
Was the ability to handle jpgs natively by FOP included in recent updates? About a month ago, Eric Dalquist, and others talked about a patch for this, but I haven't seen anything about it since. It would really help out, as FOP's current process of converting jpgs to bitmaps, and then zipping

help please Problem with generation PDF

2001-09-14 Thread Semprini Davide
Hi, I have witten a Servlet that take two file in input (file.xml and file.xsl) my code is: Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); File xmlFile = new File(c:\\xml_to_pdf.xml); File xslFile = new

Re: jpg compression

2001-09-14 Thread Eric Dalquist
Dues to school starting I got put behind on this. I've spent a good part of today working on it and should have the files I changed done in a few hours. I don't have the tools to do a diff so I'm going to just post the files to the group and hope some helpfull soul does the diff for me. -Eric

RE: jpg compression

2001-09-14 Thread Jim Wright
Thanks, Eric. Any helpful souls out there that can look at this? jw -Original Message- From: Eric Dalquist [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 4:08 PM To: [EMAIL PROTECTED] Subject: Re: jpg compression Dues to school starting I got put behind on this. I've

RE: jpg compression

2001-09-14 Thread Daniel Pfuhl
Yeah this would be great!! I'm also waiting for this feature :-) daniel --- Jim Wright [EMAIL PROTECTED] schrieb: Thanks, Eric. Any helpful souls out there that can look at this? jw -Original Message- From: Eric Dalquist [mailto:[EMAIL PROTECTED]] Sent: Friday, September

[PATCH] JPG Compression

2001-09-14 Thread Eric Dalquist
Attached is the diff for the patch. This is going against the latest release build. When reading the diff G:\Fop-0.20.1\Fop-0.20.1-clean is the untouched distribution G:\Fop-0.20.1\Fop-0.20.1-dev is the modified distribution. It should work y just copying over the attached files and then deleting

RE: [PATCH] JPG Compression

2001-09-14 Thread Jim Wright
I'm going to give this a try straight away! Thanks a lot. jw -Original Message- From: Eric Dalquist [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 5:59 PM To: [EMAIL PROTECTED] Subject: [PATCH] JPG Compression Attached is the diff for the patch. This is going against the

RE: Logs, logs and more logs

2001-09-14 Thread Eric Galluzzo
Hi Christopher, Very good points, but I think this is a discussion that needs to happen at a higher level. FOP needs to cooperate with Cocoon, and Cocoon is committed to Avalon. If Avalon adopted Trunk, or did something similar, it would fix FOP and Cocoon at the same time with little