duergner wrote:OK I've read something about that yesterday. The creation of the XML-FO document is as easy as creating the FPDF things in my opinion. You just have to create a XSL stylesheet, that transforms the XML document that contains the data into a XML-FO document that contains formatting information too.
Do you need that for every content type? or?
I do not have the skills for that....
One problem that occurs at the moment seems to be, that I couldn't find a PHP implementation of a XML-FO 'program' that creates the PDF file out of it.
frold wrote:Do you need that for every content type? or?
I do not have the skills for that....
Yes that needs to be done for every content type. But I think there are the great features of that way, because a user could more or less easily change that XSL stylesheet and out of that create a new PDF layout.
frold wrote:
One problem that occurs at the moment seems to be, that I couldn't find a PHP implementation of a XML-FO 'program' that creates the PDF file out of it.
Maybe some of the other forum users knows one?
That would be great. I'll alos take a look on the other CMS just mentioned above during the next days. Perhaps they have a possibility that could easily be ported to phpWCMS.
It's not difficult to realize PDF "print" function.
But I have other problems at the moment - I can't see any situation in which it makes sense to print into PDF. There are really good free PDF creation tools available.
You're basically right Oliver, but I think that the power if most HTML to PDF classes in PHP is more or less restricted somehow either in speed or in functionallity.
Basically I would prefer the XML-FO version, 'cause that seems to be the most powerful one in my opinion wouldn't there be the lack of a FO processor in PHP.
Perhaps I'll try to implement a simple PDF output in the first step and try to implement a FO processor in PHP for later versions.
I think it's wasted time at the moment. There may be exist working CGI/Perl solutions like GhostScript's HTML2PDF. These are fast and powerful solutions.