cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asim Raja <AR...@netnumina.com>
Subject RE: does cocoon support css
Date Fri, 07 Nov 2003 16:07:52 GMT
Hi everyone,

Thank you for your useful comments and putting up with a newbie question.

Our requirement is that we have to do it programmatically. Feed a URL and
get a PDF. I've looked into HTMLDoc (which is based on iText) but it doesn't
support CSS files in its latest version.

Please correct me if I'm wrong but I think that unless style specified by
the CSS are explicitly inserted by the developer in the Formatting Object
document (Step 2 below), they will not be picked up by the XSL transformer.
I would appreciate if anyone can confirm this. 


------------------------------
(1) use an html generator to create XHTML from the html document(s)

(2) send this xhtml --> XSL Transformer to create the formatting objects 
document

(3) use the pdf serializer to create the PDF
------------------------------

Regards,
Asim Raja

-----Original Message-----
From: McDonald, Bruce [mailto:Bruce.McDonald@bankofamerica.com]
Sent: Friday, November 07, 2003 10:34 AM
To: users@cocoon.apache.org
Subject: RE: does cocoon support css


Another way:  Download latest openoffice and it supports PDF printing
directly.

-----Original Message-----
From: McDonald, Bruce 
Sent: Friday, November 07, 2003 10:32 AM
To: users@cocoon.apache.org
Subject: RE: does cocoon support css


Not possible (AFAIK).  Cocoon generates a PDF from an XML document which is
transformed using XSL:FO.  What you want to do is best accomplished using
Adobe Acrobat Distiller or one of a number of open source projects.  I am
able to "print" to a PDF file on my Linux (KDE) Desktop.

-----Original Message-----
From: Asim Raja [mailto:ARaja@netnumina.com]
Sent: Friday, November 07, 2003 10:21 AM
To: users@cocoon.apache.org
Subject: does cocoon support css


Hi,

I'm interested in using use Cocoon to convert an html page to a PDF file. I
would like to feed the URL of the page and get the PDF. I would like to know
if CSS used by the webpage would be supported by the HTMLGenerator and the
PDF Serializer?

Thank you in advance for your help!

Asim Raja

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message