[Building Sakai] Generate PDF of Sakai Documents - GSoC

Hammad Malik hammadmlk at gmail.com
Sat Mar 31 00:13:55 PDT 2012


 Sakai OAE does not currently have a way to generate a PDF of its own
content format; the Sakai Document.
I was trying to figure out how to add this ability with the minimum effort.
Here is an approach that seems plausible to me, I need your take on it.


We already have a method of creating html format pages of the sakai
document (in fact, perhaps, the sakai document is even stored as html on
server ). Simply parsing the html will extract all the formatting details
for us.
 Now we want to use this formatting detail to create an equivalent pdf
file. To create a pdf we can use the popular open-source library,
iText<http://itextpdf.com>.
The formatting details stored by parsing the html can be converted
to equivalent tags for iText <http://itextpdf.com>and passed to the iText
<http://itextpdf.com>library and it can render the pdf for us.

Let me know if my approach seems appropriate before I proceed with working
it out in more detail.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120331/98c00b58/attachment.html 


More information about the sakai-dev mailing list