This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

PDFPlugin#

I have just made a PDFPlugin that handles images and works with the latest and greatest of JSPWiki, jTidy, FOP and JIMI. See PDFPlugin for more information.
// PĂ„lBrattberg

PDFWriter#

I've just created a kind of pdf writer for the wiki pages. What it does is:
  1. Takes the wiki page as html.
  2. Converts it to XHTML using jTidy (http://jtidy.sourceforge.net/)
  3. Applies an xsl to get the FO representation of the XHTML (http://www.antennahouse.com/XSLsample/XSLsample.htm)
  4. Renders the FO to create the PDF with Apache FOP (http://xml.apache.org/fop/)

Not tested at all, and not working (yet) with images, but i'll try to improve it.. someday..

If anyone is interested, have a look at the attachment, installing it is very easy.

If you want the sources, just ask for them.

Rino


KyleAdams: FYI, PDFWriter uses a newer version of log4j than came with my version of JSPWiki (2.0.52). I had to replace the log4j.jar with log4j-1.2.8.jar. I also used release 7 of jTidy. Finally, the PDFWriter will break on pages with multi-word titles if you have the jspwiki.breakTitleWithSpaces property set to true and use the HTML Rino provides in the INSTALL file.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
pdfWriter.zip 14.2 kB 1 03-May-2004 17:38 Rino
« This particular version was published on 25-Apr-2007 19:19 by HarryMetske.