Przeglądaj źródła

Added support for fop extensions in PDF generation.

Luke Taylor 15 lat temu
rodzic
commit
017dad8f5d

+ 2 - 1
docs/manual/src/docbook/taglibs.xml

@@ -74,7 +74,8 @@ This content will only be visible to users who are authorized to send requests t
             don't, it will be skipped. An example might
             be<programlisting>&lt;sec:accesscontrollist hasPermission="1,2" domainObject="someObject">
 
-This will be shown if the user has either of the permissions represented by the values "1" or "2" on the given object.
+This will be shown if the user has either of the permissions 
+represented by the values "1" or "2" on the given object.
 
 &lt;/sec:accesscontrollist></programlisting></para>
         <para>The permissions are passed to the <interfacename>PermissionFactory</interfacename>

+ 2 - 0
docs/manual/src/xsl/pdf-custom.xsl

@@ -27,6 +27,8 @@
     <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
     <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/highlight.xsl"/>
 
+    <xsl:param name="fop1.extensions" select="1"/>
+
     <!-- xsl:param name="draft.watermark.image" select="'images/draft.png'"/ -->
     <xsl:param name="paper.type" select="'A4'"/>