Changes for page Configuration

Last modified by Thomas Mortagne on 2023/10/31

<
From version < 179.1 >
edited by Pascal Bastien
on 2017/09/15
To version < 180.1 >
edited by Pascal Bastien
on 2017/09/15
>
Change comment: using scm macro for github link

Summary

Details

Page properties
Content
... ... @@ -321,7 +321,7 @@
321 321  
322 322  * The templates, pdf.vm and the referenced subparts, pdfhtmlheader.vm, pdfheader.vm, pdffooter.vm, pdftoc.vm, pdfcover.vm, which can be overridden by a copy located in a custom skin
323 323  * The CSS used to render the content as PDF/RTF. There is no pdf.css by default. It could be created in /templates or in a skin; a copy in a skin, override the one located in /templates
324 -* The XHTML2FO XSL transformation. The default one, [[xhtml2fo.xsl>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xhtml2fo.xsl]], is packed in core jar but it could be override by a new one in a template or a xhtml2fo.xsl file in WEB-INF/classes directory, if customization needed.
324 +* The XHTML2FO XSL transformation. The default one, {{scm project="xwiki-platform" path="xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xhtml2fo.xsl"}}xhtml2fo.xsl{{/scm}}, is packed in core jar but it could be override by a new one in a template or a xhtml2fo.xsl file in WEB-INF/classes directory, if customization needed.
325 325  * The FOP XSL transformation. The default one, fop.xsl, is also packed in core jar.
326 326  
327 327  After the export request triggers XWiki ExportAction, the content of your document is parsed by Velocity to get the initial XHTML content. **[[JTidy>>http://jtidy.sourceforge.net/]]**, a HTML/XHTML syntax checker and pretty printer, will clean the initial XHTML to make it XHTML compliant. No customization is possible in this step.
... ... @@ -465,7 +465,7 @@
465 465  
466 466  == Override the xhtml2fo.xsl rules ==
467 467  
468 -As explained above, the entire code of [[xhtml2fo.xsl>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xhtml2fo.xsl]] needs to be copied in the xhtmlxsl textarea and then customized.
468 +As explained above, the entire code of {{scm project="xwiki-platform" path="xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xhtml2fo.xsl"}}xhtml2fo.xsl{{/scm}} needs to be copied in the xhtmlxsl textarea and then customized.
469 469  
470 470  For example, to disable the generation of clickable URLs in the PDF, modify the following section:
471 471  {{code}} <xsl:template match="html:a[@href]" mode="transform">

Get Connected