[xep-support] Re: CSS to PDF?

Kevin Brown kevin at renderx.com
Thu Aug 27 22:42:47 PDT 2015


Mark:

Behind the scenes at http://www.cloudformatter.com/css2pdf, if you looked
through all that Javascript, you would find a link to this:

http://xep.cloudformatter.com/doc/XSL/xeponline-fo-translate-2.xsl

That is the always current XSL which takes a specially constructed XML input
which is mostly XHTML and inline CSS and uses XSL to make FO.
RenderX owns the copyright for this XSL and it is AGPL. As a RenderX
customer, we would allow you to use it/modify it.
You could combine that with any XSL FO system you have with some
modifications in how it expects a few <div> elements as wrappers carry page
sizing information to build pages.

It produces XSL FO so ... hey, it's a standard. 

I would love any changes/contributions anyone would like to make to it. I
would especially think a conversion for XSL 1.0 to 2.0 would be a super
benefit. The next step I was going to take on in the future was adding
support for multiple page masters.

I spent a good deal of time creating that baby, especially all the CSS
parsing to make XSL attributes and testing all of these through all browsers
-- IE, Edge, Chrome, Firefox, Safaria as well as mobile devices. That site,
Javascript and code is very solid for most all except for the world of
quirky HTML "I hate closing tag bigots" that have screwed up the world of
well-formed documents.

Kevin Brown
RenderX

-----Original Message-----
From: Mark Giffin [mailto:mgiffin at earthlink.net] 
Sent: Thursday, August 27, 2015 10:09 PM
To: kevin at renderx.com; RenderX Community Support List
<xep-support at renderx.com>
Subject: Re: [xep-support] Re: CSS to PDF?

Thanks Kevin, this looks great, I recall looking at this a while ago.

I see it's an online service via a REST API. My use is in China, maybe
behind a corporate firewall. Assuming that there would be no problem with
that, I have an existing toolchain where I'm using XSL-FO and FOP to make
PDF (batch builds, not real time for a web page). I want to add HTML/CSS to
PDF as part of this existing FO setup, both FO and HTML going into the same
PDF. Does this even sound possible?

Thanks,
Mark


On 8/27/2015 9:54 PM, Kevin Brown wrote:
> This whole website sits on top of RenderX.
>
> http://www.cloudformatter.com/CSS2Pdf
>
> So the answer is yes. It includes many advanced features for injecting 
> things that are not supported by CSS into the documents as well as 
> even passing through XSL FO.
>
> Kevin Brown
> Executive Vice President, Sales & Marketing RenderX, Inc.
> (650) 327-1000 Direct
> (650) 328-8008 Fax
> (925) 395-1772 Mobile
> skype:kbrown01
> kevin at renderx.com
> sales at renderx.com
> http://www.renderx.com
>
>
> -----Original Message-----
> From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf 
> Of Mark Giffin
> Sent: Thursday, August 27, 2015 9:18 PM
> To: 'RenderX Community Support List' <xep-support at renderx.com>
> Subject: [xep-support] CSS to PDF?
>
> Hi,
>
> Is there any way to use XEP to convert HTML or XHTML with CSS to PDF?
>
> Thanks,
> Mark
>
>





More information about the Xep-support mailing list