From version 164.1
edited by Thomas Mortagne
on 2017/03/24
To version 165.1
edited by Pascal Bastien
on 2017/05/31
Change comment: Addon debugging PDF export

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.pbas
Content
... ... @@ -469,6 +469,20 @@
469 469   </fo:inline>
470 470   </xsl:template>{{/code}}
471 471  
472 +== Debugging PDF export ==
473 +To inspect contents of created XHTML file (and be able to style it) - turn on logging <xwiki>/xwiki/bin/view/AdminGuide/Logging and set //com.xpn.xwiki// level to //DEBUG//. After PDF export action, xwiki log file containing intermediates states XHTML code after theses lines:
474 +
475 +{{code language="none"}}
476 +DEBUG c.x.x.p.i.PdfExportImpl - Cleaning HTML:
477 +DEBUG c.x.x.p.i.PdfExportImpl - Cleaned XHTML:
478 +DEBUG c.x.x.p.i.PdfExportImpl - Applying the following CSS:
479 +DEBUG c.x.x.p.i.PdfExportImpl - HTML with CSS applied:
480 +DEBUG c.x.x.p.i.PdfExportImpl - Final XHTML for export:
481 +DEBUG c.x.x.p.i.PdfExportImpl - Intermediary XSL-FO:
482 +DEBUG c.x.x.p.i.PdfExportImpl - Final XSL-FO source:
483 +and finally DEBUG c.x.x.p.i.PdfExportImpl - PageSequence x-page-sequence generated 3 pages.
484 +{{/code}}
485 +
472 472  = Configuring Wiki Syntaxes and default Syntax =
473 473  
474 474  To know how to configure the [[Wiki syntaxes>>platform:Main.XWikiSyntax]] that are available to the user when writing wiki pages, check the [[Rendering Administration Application>>extensions:Extension.Rendering Administration Application]].

Get Connected