RE: Want to know the normal practice

2005-02-08 Thread Manisha Sathe
1) I am just trying with one sample xml and xls (got from web). 2) Using FopServlet (came with fop- from servlet example) 3) But continuously getting NullPointer Exception at following driver.render(input.getParser(), input.getInputSource()); I am attaching the xml and xsl for the info XML

RE: Want to know the normal practice

2005-02-08 Thread Manisha Sathe
btw i also tried from command line fop -xml data.xml -xsl format.xsl -pdf mydoc.pdf I am getting following [INFO] using SAX2 Parser [INFO]FOP 0.20.5 [INFO] using SAX2 Parser[INFO] building formatting object tree [INFO] setting up fonts [ERROR] java.lang.NullPointerException So same

Want to see paginated report

2005-02-08 Thread Manisha Sathe
Hi all, Finally today i could run my first fop program and could create PDF from XML/XSL. I want to generate some reports in PDF format. Icanpick up the data from database and generatein XML format. But what i need is 1)Paginated o/p - let's say after every 10 records new page. 2)Each page

RE: Want to see paginated report

2005-02-08 Thread Arun Sinha
Hi, It is possible. :-) Go thorugh the following link. http://xml.apache.org/fop/fo.html Cheers. Arun From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Want to see paginated report Date: Mon, 7 Feb 2005 20:15:00 -0800 (PST) Hi all, Finally today i

Re: Userconfig.xml for FOP within an applet.

2005-02-08 Thread Manoj_Nair
JeremiasSorry about the cross posting. I was not aware of it...Will not be repeated.I could get Japanese fonts in PDF within the applet without having to jar up any of the userconfig.xml,msgothic.xml and msgothic.ttf files. I used a URL to the userconfig.xml file on server from the applet ( signed

Re: Embedding Type 1 Polish font - Bayesian Filter detected spam

2005-02-08 Thread Jesiolowski, Dominik
Hello! Thanks for your answer. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 11:03 PM To: [EMAIL PROTECTED] Subject: Re: Embedding Type 1 Polish font - Bayesian [...] Are you sure you are using the correct codes? I think I

Re: representative example needed

2005-02-08 Thread JBryant
Thanks! Success stories ([1] is my favorite)--as well as failures (honesty of its limitations also being helpful in increasing confidence in FOP)--are always welcome on this list. Oh, you want success stories. That I can do. I use FOP to produce all the documentation for a small software

RE: representative example needed

2005-02-08 Thread Lawford, Mark : Enable
I'm a relative newcomer to XSLT and FOP but I immediately saw the value it could offer. We have a layer of DB access objects which produce XML for reporting purposes. Rather than plug in an expensive off the shelf reporting tool I suggested and prototyped an XSLT/FOP reporting architecture. It

RE: representative example needed

2005-02-08 Thread Dennis Myrén
I should say a few words as well. I work as a computer programmer for a small software firm. We first started looking at FOP late 2001, because we had a potential bank as customer who liked to have their public yearly funds development reports produced by us. By Norwegian law, the development

FOA for FOP

2005-02-08 Thread Subbiah
HI, I am trying to figure this out for a long time. Has anyone use FOA successfully.I tried but found it to be cumbersone and it never worked for me. If someone is using it maybe we can give it another shot. regards, Subbiah [EMAIL PROTECTED] -Original Message- From: [EMAIL

Contributing to FOP (Re: representative example needed)

2005-02-08 Thread The Web Maestro
Dennis, On Feb 8, 2005, at 7:54 AM, Dennis Myrén wrote: I should say a few words as well. I work as a computer programmer for a small software firm. We have thought for a long time that it is time to give something back to FOP, in form of development contribution. I have been programming PDF

Re: Embedding Type 1 Polish font - Bayesian Filter detected spam

2005-02-08 Thread J.Pietschmann
Jesiolowski, Dominik wrote: I do not get anny errors or warnings while running FOP, but I don't think the font has a unicode table. The file generated by PFMReader contains: [...]encodingUnknownEncoding/encoding[...]. I tried to change this to WinAnsiEncoding but the result is the same :( Dealing

Re: Want to know the normal practice

2005-02-08 Thread john farrow
You data has "Catalog", but you stylesheet matches on "Catalogue" - the spelling is different. Regards John Farrow Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand phone +64 4 479 1738 fax

RE: Embedding Type 1 Polish font - Bayesian Filter detected spam

2005-02-08 Thread Victor Mote
J.Pietschmann wrote: I do not get anny errors or warnings while running FOP, but I don't think the font has a unicode table. The file generated by PFMReader contains: [...]encodingUnknownEncoding/encoding[...]. I tried to change this to WinAnsiEncoding but the result is the same :(

Re: Embedding Type 1 Polish font - Bayesian Filter detected spam

2005-02-08 Thread Jeremias Maerki
The problem is that the PFB file defines an encoding that differs from WinAnsiEncoding in several characters. FOP only supports Type1 fonts which have an unchanged WinAnsiEncoding or Symbol encoding (if I remember correctly). In your PDF you see the oacute character which is in the

RE: Embedding Type 1 Polish font - Bayesian Filter detected spam

2005-02-08 Thread Victor Mote
Jeremias Maerki wrote: in WinAnsiEncoding. The real problem is that FOP currently doesn't contain a parser for PFB or PFA files that could parse the character map. I don't know if Victor Mote could use the font with his PFB parser in FOray. If it is a standard Type 1 font file, FOray

Servlet Example with inputStream

2005-02-08 Thread Frank Schaare
Hi, im looking for an Servlet (or struts action) example, the builds the pdf DIRECTLY from the response stream. I studied the servlet example and googled some time, but all examples deal with files as input. Has anyone ever realised this task or knows such an example ? thx...

Re: Servlet Example with inputStream

2005-02-08 Thread Derrick Shoemake
This isn't really exactly what you're looking for, but it should help, the XSL file is a URL, you just pass in the XML Document and it returns a PDF. I create the XML in another method, but this is a start. public void renderPDF(Document xmlDoc, HttpServletResponse response) throws