Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0 M1
-
Fix Version/s: 3.0 M2
-
Component/s: {Unused} Export
-
Labels:None
-
Difficulty:Unknown
-
Similar issues:
XWIKI-7490 Image size do not display correctly in the PDF export XWIKI-223PDF export fails with unescaped angle brackets XWIKI-7868PDF Export of document created with app within minutes only displays values of fields (no labels) XWIKI-3318Broken quotes in PDF/RTF exports of html:q elements XWIKI-2556Scaled images in exported PDF and RTF have wrong dimensions XWIKI-2376Exporting to PDF does not work correctly with #includeForm XWIKI-1846PDF Export Looping XWIKI-1052 PDF forms export XWIKI-3324PDF Export of Main.Spaces throws exception XWIKI-5633Improve documentation on how PDF and RTF exports currently work
Description
The documentation at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel doesn't actually work when it comes to overriding the xhtml2fo.xsl and fop.xsl stylesheets.
Although the implementation suggests that the xhtmlxsl and fopxsl properties of the XWiki.PDFClass class is supposed to contain the actual content of the xslt file, it is actually used as the name of a filesystem resource.
Fixed in r34252.