nullPointerException

2001-07-17 Thread Wolf Gustavo (SGC-EXT)
Hi all, I am trying to get an XMLReader object with XMLReader parser = inputHandler.getParser(); after having done: InputHandler inputHandler = new XSLTInputHandler(xmlInputSource,xslInputSource); and I get the following error (the files xmlInputSource and xslInputSource are where

RE: fonts

2001-07-16 Thread Wolf Gustavo (SGC-EXT)
u can make it from ttf files easily by using the class TTFReader in fop. regards rajiv --- "Wolf Gustavo (SGC-EXT)" <[EMAIL PROTECTED]> wrote: > Hi all, > has someone implemmented Arial and > Arial-italics? > If the answer is yes, could I get the correspond

fonts

2001-07-13 Thread Wolf Gustavo (SGC-EXT)
Hi all, has someone implemmented Arial and Arial-italics? If the answer is yes, could I get the corresponding files? Also, does Helvetica (what I am replacing Arial with) have italics? Thanks once more, Gustavo ---

space

2001-07-13 Thread Wolf Gustavo (SGC-EXT)
Hi all, the documents I am preparing are divided in sections. How can I ask Fop to check how much space is left on the page, in order to decide whether to write the title of the section in a new page or not? (If there is a lot of space left, I don't want to cut to next page). Thanks a l

RE: question on fonts

2001-07-12 Thread Wolf Gustavo (SGC-EXT)
Alex, your idea works perfect. Thanks a lot, Gustavo -Message d'origine- De : Alex McLintock [mailto:[EMAIL PROTECTED]] Envoyé : jeudi, 12. juillet 2001 11:25 À : [EMAIL PROTECTED] Objet : Re: question on fonts --- "Wolf Gustavo (SGC-EXT)" &l

fo:flow within fo:page-sequence

2001-07-12 Thread Wolf Gustavo (SGC-EXT)
Hi, in the XML bible, chap. 15, I read that for a fo:page-sequence I can have one fo:flow per region, i.e.: , and then another like , etc, which makes 5 in total per page. However, when I try to define one flow for body and another for after, Fop tells me that "only a single fo:flow admitt

question on fonts

2001-07-12 Thread Wolf Gustavo (SGC-EXT)
Hi all, does anyone know how to make fop transform a th (like in 4th) in order to put it as superscript with a small font (in good ol'LateX it would go like $4^{th}$)? Thanks a lot, Gustavo ---

RE: XSLTInputHandler not doing its job??: beers

2001-07-10 Thread Wolf Gustavo (SGC-EXT)
ur xsl file?   Regards,   James -Original Message-From: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]]Sent: 06 July 2001 10:04To: '[EMAIL PROTECTED]'Subject: RE: XSLTInputHandler not doing its job?? James,   

minimal set of libraries for Fop + Tomcat?

2001-07-09 Thread Wolf Gustavo (SGC-EXT)
Hi, After interchanging a couple of mails with Karen and Eriok, I've come to think that a problem I am experiencing might be related to too many jar files in my classpath (or wrong order of the files). Does someone have a minimal (ordered) set that would let fop run from a servlet that is c

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
s not work for IE5.5, but I'll check the hint of Alex McLintock earlier in this list. Hope this helps you out, ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] > -----Ursprüngliche Nachricht- > Von: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] >

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
The problem with that example is that it assumes that you already have the .fo file, the production of which I've found to be the difficult part. Gustavo -Message d'origine- De : Cyril Rognon [mailto:[EMAIL PROTECTED]] Envoye : vendredi, 6. juillet 2001 17:03 A : [EMAIL PROTECTED] Objet

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
Hi Jim, I have exactly the same problem, and I've just found a non elegant, working solution: I generate my XML file, and then call the command line Fop from within my servlet: Runtime.getRuntime().exec(new String[]{"java.exe", "-cp", "c:\\fop\\Fop-0.18.1-DEV\\fop.jar;c:\\fop\\Fop-0.

RE: XSLTInputHandler not doing its job??

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
rds, James -----Original Message- From: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] Sent: 05 July 2001 16:50 To: Fop (E-mail) Subject: XSLTInputHandler not doing its job?? Hi,   as I said a few hours ago, I have the following code:     InputHandler in

Re:RE: XSLTInputHandler not doing its job??

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
y going to "parse" the FO file which results from transforming your xml with the xsl. Hope that helps, Karen Lease "Wolf Gustavo (SGC-EXT)" wrote: > > Hi, > as I said a few hours ago, I have the following code: > > InputHandler in

XSLTInputHandler not doing its job??

2001-07-05 Thread Wolf Gustavo (SGC-EXT)
Hi, as I said a few hours ago, I have the following code: InputHandler inputHandler = new XSLTInputHandler(xmlInputSource,xslInputSource); InputSource inputSource = inputHandler.getInputSource(); XMLReader parser = (XMLReader) Class.forName(this.parserClass).newInst

RE: problem to define a new Driver()

2001-07-05 Thread Wolf Gustavo (SGC-EXT)
ms he doesn't contains SVGStringList class. Make your classpath point on the w3c.jar of your fop distribution (in the lib directory). -Message d'origine- De : Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 5 juillet 2001 11:10 À : '[EMAIL PROTECTED]' Objet

problem to define a new Driver()

2001-07-05 Thread Wolf Gustavo (SGC-EXT)
Hi again, when I am trying to define Driver driver = new Driver(); I get the following error: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGStringList at org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:90) at org.apache.f

RE: problem to run fop within a servlet

2001-07-05 Thread Wolf Gustavo (SGC-EXT)
t sure if this is the what you need but you may want to try putting this in. parser.setFeature("http://xml.org/sax/features/namespace-prefixes";, true); On Thu, 05 Jul 2001 09:49:57 Wolf Gustavo (SGC-EXT) wrote: > Hello, >I am trying to run f

problem to run fop within a servlet

2001-07-05 Thread Wolf Gustavo (SGC-EXT)
Hello, I am trying to run fop within my servlet. In order to do that, I use: InputHandler inputHandler = new XSLTInputHandler(xmlInputSource,xslInputSource); InputSource inputSource = inputHandler.getInputSource(); //FAILURE HERE XMLReader parser = inputHandler.get