Hi all,
Is there any export functionality on fckeditor? I need to create documents that may be exported to some format such pdf or odt. Is it possible? Is there any plugin on the web?
Thanks in advance.
Is there any export functionality on fckeditor? I need to create documents that may be exported to some format such pdf or odt. Is it possible? Is there any plugin on the web?
Thanks in advance.

Re: Export to a pdf
html2pdf
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Export to a pdf
http://www.ibm.com/developerworks/libra ... 2app/#main
Re: Export to a pdf
I'm in the process of attempting the exact same thing: creatings PDFs from FCKEditor content using Xalan + FOP. How did you manage, if at all, to get your FCKEditor content to later convert it into FO?
I already have everything est up for converting into FO and then a PDF, but I can't seem to get a hold of the FCKEditor content.
Thanks in advance,
Zlaktu The World Eater
Re: Export to a pdf
Look at this code:
<script type="text/javascript">
function transferData(iframe) {
// Get the editor instance that we want to interact with.
var oEditor = FCKeditorAPI.GetInstance('myeditor') ;
try {
// Set the editor contents (replace the actual one).
oEditor.SetHTML(iframe.contentWindow.document.body.innerHTML);
} catch(e) {
alert(e);
}
}
</script>
Considerations:
iframe is an iframe that downloads an html file from server and transfers its content to the editor.
'myeditor' is the instance name of the that is created like this: var oFCKeditor = new FCKeditor('myeditor') ;
I hope it helps you.
Miguel.
Re: Export to a pdf
There is a plugin I created to convert ckeditor text to pdf. Look for Convert 2 PDF plugin.