|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Compilation Erro - ExampleXML2PDFHi,
I am new to FOP. and i want to create PDF files using XML and XSLT that i have to show XML in HTML. I am trying to run the sameple ExampleXML2PDF.java class. But not able to compile that due to Result res = new SAXResult(fop.getDefaultHandler()); seems fop.getDefaultHandler() doesn't exists. using the code from http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup Please suggest how could i achieve PDF generation using XML and XSLT.(I dont have FO file) Thanks in advance. -- Kranti K K Parisa M: +91 - 9391 - 438 - 738 O: +91 - 4023 - 844 - 738 ------------------------------------------------------------------ " world will be different, if...... " ------------------------------------------------------------------ |
|
|
Re: Compilation Erro - ExampleXML2PDFOn 21 Jun 2009, at 23:59, Kranti™ K K Parisa wrote:
> I am new to FOP. and i want to create PDF files using XML and XSLT > that i have to show XML in HTML. > I am trying to run the sameple ExampleXML2PDF.java class. > > But not able to compile that due to > > Result res = new SAXResult(fop.getDefaultHandler()); > > seems fop.getDefaultHandler() doesn't exists. Which FOP version? What do you mean precisely by 'doesn't exist'? It seems like you're forgetting to include fop.jar in the classpath when trying to run the sample app, but I really cannot say for certain based on the info provided... Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Compilation Erro - ExampleXML2PDFHi,
I got that working, the error was due to earlier version of fop also incoluded in classpath, I removed that then its working fine. How ever I am trying to get the header and footers repeating on each page.. how could I get this ? If any example code please do post that. Thanks, Kranti. On Tue, Jun 23, 2009 at 12:09 AM, Andreas Delmelle <andreas.delmelle@...> wrote:
-- Kranti K K Parisa M: +91 - 9391 - 438 - 738 O: +91 - 4023 - 844 - 738 ------------------------------------------------------------------ " world will be different, if...... " ------------------------------------------------------------------ |
|
|
Re: Compilation Erro - ExampleXML2PDFOn 23 Jun 2009, at 09:56, Kranti™ K K Parisa wrote:
Hi > > How ever I am trying to get the header and footers repeating on each > page.. how could I get this ? > If any example code please do post that. You will definitely want to take a look at: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/pagination/basic2.fo?revision=197515 HTH! Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |