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.


Hmm i finished to install this plugin with success... but now, i got a Problem with "german Umlaute" like ä,ö,ü ... in the xls-File the CodePage is set to "UTF-8" .. wheres my fault?

Thanks for AnswerMe!

- MartinU - 10th May 2007 - 11:03pm GMT+1

--Martin Ufer, 10-May-2007

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 page (revision-31) was last changed on 24-May-2007 18:46 by David Au