RE: Help to get started in a servlet

2002-02-06 Thread Zahigian, Mike
Here's a simple servlet that will work. Like the FOP servlet, you give it a fo file or an xml/xsl combination in a get parameter. You have to have the latest xalan and xerces in addition to fop, because I handle the xml transformation within the servlet as opposed to using the fop methods for tra

RE: FOP in server

2002-02-06 Thread Zahigian, Mike
Here's a simple servlet that will work. Like the FOP servlet, you give it a fo file or an xml/xsl combination in a get parameter. You have to have the latest xalan and xerces in addition to fop, because I handle the xml transformation within the servlet as opposed to using the fop methods for tra

Re: Lock generated PDF was Re: Security on FOP

2002-02-06 Thread Jeremias Maerki
> >Do I hear you volunteering to write the code to do it? > Yes. I am not sure that I will get started full before the end of > February, but I intend to contribute to Cool. > 1. Java 1.1.8 version Last september it has been decided to drop JDK 1.1 support mostly out of performance reaso

Re: Lock generated PDF was Re: Security on FOP

2002-02-06 Thread Keiron Liddle
On 2002.02.05 16:15 ewitness - Ben Fowler wrote: Yes. I am not sure that I will get started full before the end of February, but I intend to contribute to 1. Java 1.1.8 version 2. keep-with 3. Encryption Keeping jdk1.1 support is a hinderance to the development of FOP and as

ERROR in server

2002-02-06 Thread Pedro Barco Bernal
Hi all! My question is very simple, i want to create a pdf file from a xml file and a xsl file. My code is placed in a JSP and i do not know why it doesn´t run fine. The error i get is: "org.apache.fop.apps.FOPException: Bad file descriptor" but i´m sure that the xml and xsl are well-f

Page Sequence Question

2002-02-06 Thread Lars Karschen
Hi, I've got a question concerning page-sequences. I tried to create a sequence of pages, which all have a header on top of the page and no footer. The flow content is a table. Once all information on the table is displayed, the last page should close with a footer, summarizing the table content

regarding addition in xsl

2002-02-06 Thread Meena
Hi, I have a param in my template. and i've assigned a value '1' to it. This template is called recursively from within itself. I want to keep incrementing the param everytime this template is called. Is it possible to do so in xsl?     1            regds, MEena  

SimpleTranform xsl, xml to fo using Xalan

2002-02-06 Thread Pedro Barco Bernal
Hi all, These sentences works perfectly at local machine (make the fo file) but when we run it at server write a fofile empty, and there aren't any error or exception... ¿Someone knows what could be the problem? //Make transformation of xmlfile to fo-file using xslfile TransformerFact

Re: SimpleTranform xsl, xml to fo using Xalan

2002-02-06 Thread Keiron Liddle
On 2002.02.06 11:51 Pedro Barco Bernal wrote: Hi all, These sentences works perfectly at local machine (make the fo file) but when we run it at server write a fofile empty, and there aren't any error or exception... ¿Someone knows what could be the problem? //Make transformation of xmlfile

Re: SimpleTranform xsl, xml to fo using Xalan

2002-02-06 Thread Pedro Barco Bernal
I tried with this, but I didn't obtain any result... ¿What is the problem? //Make transformation of xmlfile to fo-file using xslfile TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new StreamSource("xsl.xsl")); FileOutputStre

Re: Lock generated PDF

2002-02-06 Thread ewitness - Ben Fowler
At 8:08 am +0100 6/2/02, Jeremias Maerki wrote: Last september it has been decided to drop JDK 1.1 support mostly out of performance reasons. Almost every reasonable platform has a Java 2 implementation available today and there are not many projects left at Apache Foundation that still support JDK

Re: Lock generated PDF

2002-02-06 Thread Jeremias Maerki
> At 8:08 am +0100 6/2/02, Jeremias Maerki wrote: > >Last september it has been decided to drop JDK 1.1 support mostly out of > >performance reasons. Almost every reasonable platform has a Java 2 > >implementation available today and there are not many projects left at > >Apache Foundation that sti

Re: Lock generated PDF

2002-02-06 Thread Carlos Araya
On 02/06/02 5:00, "ewitness - Ben Fowler" <[EMAIL PROTECTED]> wrote: > At 8:08 am +0100 6/2/02, Jeremias Maerki wrote: >> Last september it has been decided to drop JDK 1.1 support mostly out of >> performance reasons. Almost every reasonable platform has a Java 2 >> implementation available today

Using FOP in an applet ?

2002-02-06 Thread Bruno VERNAY
Title: Using FOP in an applet ? Hi,   What I would like to do is send XML to the browser client (MS-IE6, in the case of our extranet, but not limited to.)   There, show it on screen as html/css (already possible with XSLT and the MS-XML dll.)    and print it as PDF ... (Impossible for now, w

Re: Using FOP in an applet ?

2002-02-06 Thread Cyril Rognon
Embeding FOP in an applet would make your applet humongous. It would only be possible in a LAN configuration with high band-width. I think the best way would be to allow a server side pdf generation with fop that would be used by your applet. Hope that helps Cyril At 16:03 06/02/2002 +0100, you wr

Re: Using FOP in an applet ?

2002-02-06 Thread Jeremias Maerki
> Would it be a *solution* to embed FOP in an applet and use it on the client > to print PDF ? Maybe. I didn't try it but I don't see a reason that it shouldn't work as long as you ensure that a Sun Java PlugIn is installed (Microsoft VM? I don't think so.) and the application is running in an in

RE: Using FOP in an applet ?

2002-02-06 Thread Bruno VERNAY
In the case of my current problem, I have a high band-width. I saw that fop.jar is 1.6Mo, it should need Xalan and Xerces too, so between 2 and 3 Mo. (I don't use SVG, so I save 2Mo of Batik) This is not the  problem in my case.   Embeding FOP in an applet would make your applet humon

Re: regarding addition in xsl

2002-02-06 Thread G. Ken Holman
At 2002-02-06 16:03 +0530, Meena wrote: I have a param in my template. and i've assigned a value '1' to it. This template is called recursively from within itself. In your example you are not calling the template, you are pushing the children I want to keep incrementing the param everytime this te

RE: Security on FOP

2002-02-06 Thread Matthew L. Avizinis
> -Original Message- > From: Christian Geisert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 05, 2002 4:27 AM > To: [EMAIL PROTECTED] > Subject: Re: Security on FOP > > > dav sem wrote: > > > Hi Community, > > > > I have a question: > > > > with FOP, Is possible to lock with a passwo

FOP & SVG precision; how to keep thin lines precision???

2002-02-06 Thread Irina Grigorieva
Hi,   I faced a problem. I need to generate barcodes (it is not a problem) and draw it into PDF. That is, to draw several rectangles... The FO document looks like:   ... AW: Using FOP in an applet ?
Title: Using FOP in an applet ? Hi   We had a similar requirement. After seeing the PRO's and CON's (we saw only CON's.. we could NOT see any PRO's) of generating PDF on the client, we have decided for a server side solution.   A Servlet generates the PDF and starts Acrobat Reader on the cli

Re: FOP & SVG precision; how to keep thin lines precision???

Irina Grigorieva wrote: Hi, I faced a problem. I need to generate barcodes (it is not a problem) and draw it into PDF. That is, to draw several rectangles... The FO document looks like: We had the same problem and, after much playing with SVG and the example apps at http://www.renderx.com/bar

Re: Page Sequence Question

Lars, I believe you use and then define the footer within If you want to extend the footer across the whole page (So its not just a column footer) then you use Lars Karschen wrote: Hi, I've got a question concerning page-sequences. I tried to create a sequence of pages, which all

RE: Using FOP in an applet ?

Title: Using FOP in an applet ? CONS:  transfer of huge libraries to client  PRO: This is done only one time ; This is an Extranet (there is a finite number of client) ; it saves a lot of data transfert.    CONS:  fop generation very memory intensive (very frustrating for the client, becaus

Java 1.1.8 was Re: Lock generated PDF

> My 'platform' is a slot loading iMac. I guessed right then. :-) You could install MacOSX which has a decent JDK 1.3.1. Apart from the fact that I would be making a leap of faith that all else I want to do, would be effective (id est not too slow) once I have OS X (note that it is quite hard to r

Java 1.1.8 was Re: Lock generated PDF

On 02/06/02 5:00, "ewitness - Ben Fowler" <[EMAIL PROTECTED]> wrote: > It should be a general goal of Open Source projects to be backwards compatible. My understanding is that it should be possible to use a tool like ant to extract a Java 1.1 subset. It is possible but it means that you're tradi

FOPException

Hi all, Has anyone ever experience the following FOP exception error? Do you know what causes it? I appreciate your input. thanks David org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:429) at org.apache.fop.apps.Driver.run(Driver.java:508) at