浏览代码

Added support for fop extensions in PDF generation.

Luke Taylor 15 年之前
父节点
当前提交
017dad8f5d
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 1
      docs/manual/src/docbook/taglibs.xml
  2. 2 0
      docs/manual/src/xsl/pdf-custom.xsl

+ 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'"/>