[opencms-dev] PDF on the fly

Olli Aro olli_aro at yahoo.co.uk
Mon May 3 22:31:04 CEST 2004


Hi,

I know this is not an OpenCMS question, but since we are talking about PDF
generation using FOB... I tried this couple of months ago. Transforming
content item to XHTML was easy - just ran it through jTidy.  However, using
fob to transform XHTML to PDF was something I never got working properly. It
seems that I was not able to find XSL from anywhere, which would produce an
error free FO output. With one of the XSLs I tried (Atennahouse) it caused
FOB to loop forever, which another one (from the IBM developer network)
after few modifications my FO code caused always an empty PDF even if the FO
code had all data in it :(

I was wondering if someone would have an XSL, which would transform XHTML
properly to FO and would like to send it :) 

Regards,

Olli  

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Maurizio Betti
Sent: 03 May 2004 19:36
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] PDF on the fly

Hy,

I suppose you can use the FOP java library (see on 
http://xml.apache.org/fop/) to generate a PDF file from an xml source. So 
jou have only translate a openCMS VFS element in a xml element and then 
give it to FOP...

Regards,
         Maurizio Betti



At 12.28 03/05/2004 -0500, you wrote:
>Is it possible to generate a PDF document on the fly from content in
5.3.4?
>
>I.E. I am reading a page generated from the vfs. Can I click on some 
>button to have a PDF version displayed in another
>window?
>
>
>--
>Jeff Greer
>Technical Support Consultant
>Fretwell-Downing, Inc.
>Phone: (913) 239-1214
>
>The information transmitted in this electronic mail message may contain
>confidential and or privileged materials.  For full details and
restrictions
>see http://www.fdgroup.com/emaildisclaimer.html
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.669 / Virus Database: 431 - Release Date: 26/04/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.669 / Virus Database: 431 - Release Date: 26/04/2004
 




More information about the opencms-dev mailing list