Re: Changing SAX Class

2003-10-16 Thread J.Pietschmann
David Rosenstein wrote: if i have the following xml: 282 Quarry Rd Milford, CT 06460 the following is in my stylesheet: I have a batch file to run fop and create a pdf it prints: 282 Quarry Rd Milford, CT 06460 When I run this from my code, I get the following in the pdf: 282 Q

Re: Changing SAX Class

2003-10-16 Thread J.Pietschmann
Andreas L. Delmelle wrote: and so logically, would include the tab character placed before the value of the element in the source XML. Thiss is wrong. You are in the XSLT source here (hopefully), and text nodes containing only whitespace are removed while compiling the style sheet. Unless the proce

Re: passing parameters to the stylesheet

2003-10-16 Thread J.Pietschmann
Toufic Nehme wrote: input.setParameter("logo", "http://"+request.getServerName() IIRC this is broken. Create and use a j.x.t.Transformer directly, see http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleXML2PDF.java?rev=HEAD J.Pietschmann

Re: Changing SAX Class

2003-10-16 Thread J.Pietschmann
David Rosenstein wrote: What I mean by white-space-preserve does not work means that my company_address becomes: 282 Quarry Rd Milford, CT 06460 and loses the line breaks, plus any additional spacing (tabs, multiples spaces, new lines, etc). That's normal because there is no white-space-preserve

RE: Changing SAX Class

2003-10-16 Thread David Rosenstein
What I mean by white-space-preserve does not work means that my company_address becomes: 282 Quarry Rd Milford, CT 06460 and loses the line breaks, plus any additional spacing (tabs, multiples spaces, new lines, etc). I have put a more complete style sheet at the end as well. I would like to a

RE: Changing SAX Class

2003-10-16 Thread Andreas L. Delmelle
> -Original Message- > From: David Rosenstein [mailto:[EMAIL PROTECTED] > > I did change this line in the template to read: > > space-after.optimum="{$spaceAfter}" white-space-treatment="preserve" > white-space-collapse="false" text-align="start"> select="COMPANY_ADDRESS" /> > Just asking

Re: Rendering a Tiff image

2003-10-16 Thread Oleg Tkachenko
Jeremy Nix wrote: It says on the site that they are trying to integrate this Renderer into the FOP project. Anyone know the status on this? It seems as if this renderer would be a pretty good addition. The integration has been approved, but the problem is that FOP maintenance branch (0.20.X) is

RE: Changing SAX Class

2003-10-16 Thread David Rosenstein
I did change this line in the template to read: and i still see this same indent. I too originally thought it was finding an extra tab in the xml but this seems to not be the case. Also, if i use just white-space-treatment="preserve" alone it has no effect and all of the white space is lost.

RE: Changing SAX Class

2003-10-16 Thread Andreas L. Delmelle
> -Original Message- > From: David Rosenstein [mailto:[EMAIL PROTECTED] > > if i have the following xml: > > 282 Quarry Rd > Milford, CT 06460 > > > the following is in my stylesheet: > > white-space-treatment="preserve" white-space-collapse="false" ^^ this property, I think

RE: Changing SAX Class

2003-10-16 Thread David Rosenstein
Christian, thanks for the help, I do have it using the same parser class now, but apparently this did not resolve my problem. if i have the following xml: 282 Quarry Rd Milford, CT 06460 the following is in my stylesheet: I have a batch file to run fop and create a pdf it prints:

RE: Rendering a Tiff image

2003-10-16 Thread Jeremy Nix
Rob, did you notice issues with fonts becoming distorted in the resulting image? _ Jeremy Nix Southwest Financial Services, LTD. [EMAIL PROTECTED] (513) 621-6699 ext.1158 -Original Message- From: Rob Stote [mailto:[EMAIL PROTECTED] Sent: Wednesday, Oc

passing parameters to the stylesheet

2003-10-16 Thread Toufic Nehme
Hi to everyone, in FopServlet i'm doing the following: XSLTInputHandler input = new XSLTInputHandler(new File(xmlParam), new File(xslParam)); input.setParameter("logo", "http://"+request.getServerName() +":"+request.getServerPort()+ request

Re: Changing SAX Class

2003-10-16 Thread Christian Geisert
David Rosenstein schrieb: Hi all- when i run fop through my java code and generate a pdf i am apparently using a different sax parser than if i run it from the command line out of the jar Different CLASSPATH or different JDK? [..] some how the two different parsers parse the xml in a different way

RE: Rendering a Tiff image

2003-10-16 Thread Jeremy Nix
It says on the site that they are trying to integrate this Renderer into the FOP project. Anyone know the status on this? It seems as if this renderer would be a pretty good addition. _ Jeremy Nix Southwest Financial Services, LTD. [EMAIL PROTECTED] (513) 621-669

Changing SAX Class

2003-10-16 Thread David Rosenstein
Hi all- when i run fop through my java code and generate a pdf i am apparently using a different sax parser than if i run it from the command line out of the jar files. The output i get from the command line is: [INFO] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser [INFO] FOP 0.20.5

Re: display-align and block-container (fop-0.20.4)

2003-10-16 Thread Chris Bowditch
From: "Markus Schaeffler" <[EMAIL PROTECTED]> Hello World Unfortunately the display-align="center" attribute seems to make no diffrence. The compliance page on the website suggests that this should work. I can only suggest that you put a single-cell table into the block-container and set the

Re: display-align and block-container (fop-0.20.4)

2003-10-16 Thread Markus Schaeffler
Hello! Thanks for the reply Chris. Of course I tried it. This is one my attempts: Hello World Unfortunately the display-align="center" attribute seems to make no diffrence. Any hints would be greatly appreciatet. Markus Schäffler -- >>F

RE: CMKY

2003-10-16 Thread Beer, Christian
I'd volunteer, if I had the time! :-( Sorry. Christian Beer > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 1:57 AM > To: [EMAIL PROTECTED] > Subject: Re: CMKY > > > Beer, Christian wrote: > > But for a first step why not exten

Re: display-align and block-container (fop-0.20.4)

2003-10-16 Thread Chris Bowditch
From: "Markus Schaeffler" <[EMAIL PROTECTED]> Hi, I want to vertically align text within an absolute positioned block-container. Is that possible ? I thought of using display-align="befor / after / center". I believe this should work. Have you tried it? There are some examples for table-cells (htt

Re: special characters

2003-10-16 Thread Chris Bowditch
From: Jon Steeves <[EMAIL PROTECTED]> I'm trying to print a special character for bullets, but everytime FOP encounters this statement, it halts with the message: "An invalid xml character (unicode: 0xb7) was found in the file." This is most likely an encoding problem. How are you running FOP? F

display-align and block-container (fop-0.20.4)

2003-10-16 Thread Markus Schaeffler
Hi, I want to vertically align text within an absolute positioned block-container. Is that possible ? I thought of using display-align="befor / after / center". There are some examples for table-cells (http://xml.apache.org/fop/fo.html#fo-center-vertical) but I found no further information on bl