You don't need to change anything in FCKeditor, it is quite straightforward to create a plugin that replaces the current preview button with a new one that points to your server pages.
Those pages then can generate PDFs or do anything you want, but it's almost independent of FCKeditor.
That's exactly what we planned to do as far as 'customisation' goes. The idea is to be able to configure the servlet's URL in a pop-up dialog and then have a preview button post the XHTML to the servlet.
h2pe itself will not touch either project's code (FCKeditor and iText). In the end it's simply a library that takes XHTML and produces PDF. But we're using FCKeditor as our target client editor, so in a sense we're turning FCKeditor into an online PDF editor.
In the future we *might* need to look into FCKeditor's XHTML in order to tackle some layout issues, namely absolute positioning of tables, images, etc. But we're not anywhere near that yet, and in such a case it wouldn't have anything to do with h2pe. Any code modifications/bug fixes we make to FCKeditor in the course of our work will obviously be fed back as patches into this project.
Great initiative. The problem as I see it is the issue of embedding pictures and tables to be handled well and displayed properly in the PDF output file. How far are you on these issues...?
RE: New project: h2pe - FCKeditor/PDF
Those pages then can generate PDFs or do anything you want, but it's almost independent of FCKeditor.
RE: New project: h2pe - FCKeditor/PDF
The idea is to be able to configure the servlet's URL in a pop-up dialog and then have a preview button post the XHTML to the servlet.
h2pe itself will not touch either project's code (FCKeditor and iText). In the end it's simply a library that takes XHTML and produces PDF. But we're using FCKeditor as our target client editor, so in a sense we're turning FCKeditor into an online PDF editor.
In the future we *might* need to look into FCKeditor's XHTML in order to tackle some layout issues, namely absolute positioning of tables, images, etc. But we're not anywhere near that yet, and in such a case it wouldn't have anything to do with h2pe. Any code modifications/bug fixes we make to FCKeditor in the course of our work will obviously be fed back as patches into this project.
RE: New project: h2pe - FCKeditor/PDF
http://www.phpclasses.org/browse/package/2905.html
http://www.fpdf.org/?lang=enhttp://half2.mirrors.phpclasses.org/bro ... e/421.html
http://www.phpclasses.org/browse/package/1679.html
http://www.phpclasses.org/browse/package/383.html
http://ros.co.nz/pdf/
http://hotscripts.com/PHP/Scripts_and_P ... ection=des
RE: New project: h2pe - FCKeditor/PDF
RE: New project: h2pe - FCKeditor/PDF
RE: New project: h2pe - FCKeditor/PDF
Great initiative. The problem as I see it is the issue of embedding pictures and tables to be handled well and displayed properly in the PDF output file. How far are you on these issues...?
Cheers Mads
RE: New project: h2pe - FCKeditor/PDF
Re: New project: h2pe - FCKeditor/PDF
I'm trying to convert fckeditor content to PDF with FOP but I have some problems with table ....