Author: sjur Date: Wed Sep 17 06:09:30 2008 New Revision: 696284 URL: http://svn.apache.org/viewvc?rev=696284&view=rev Log: Moved the $rootFontFamily to a higher position in the XML tree, to avoid a warning.
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft?rev=696284&r1=696283&r2=696284&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/fo/content-main.ft Wed Sep 17 06:09:30 2008 @@ -151,8 +151,10 @@ <xsl:include href="lm://pdf.transform.helper.commonElements"/> <xsl:template match="/"> <forrest:content> - <forrest:part xpath="/fo/xsl-region-body/body"> + <forrest:part xpath="/fo"> <rootFontFamily value="{$rootFontFamily}" /> + </forrest:part> + <forrest:part xpath="/fo/xsl-region-body/body"> <fo:block text-align="{$text-align}" padding-before="18pt" padding-after="18pt"> <xsl:apply-templates select="//body/*"/>