diff options
author | Karen Lease <klease@apache.org> | 2002-02-23 16:47:01 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2002-02-23 16:47:01 +0000 |
commit | de6b00c1eb40399a206c23411f28531aa76ff42b (patch) | |
tree | d541ec3cdfeaa0c83fcba9e11dd71d259b144cad /src/codegen/properties.xsl | |
parent | 4932cd2b9ad062e3a336cd52854c9b7c6fcd9dd0 (diff) | |
download | xmlgraphics-fop-de6b00c1eb40399a206c23411f28531aa76ff42b.tar.gz xmlgraphics-fop-de6b00c1eb40399a206c23411f28531aa76ff42b.zip |
Add corresponding properties for space-*
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194666 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen/properties.xsl')
-rw-r--r-- | src/codegen/properties.xsl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index 83ed9db75..83875597e 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -459,6 +459,7 @@ public class <xsl:value-of select="$classname"/> extends <xsl:value-of select=" <xsl:if test=".//corresponding"> <xsl:if test=".//corresponding/@use-if-specified='true'"> public boolean isCorrespondingForced(PropertyList propertyList) { + FObj parentFO = propertyList.getParentFObj(); StringBuffer sbExpr=new StringBuffer(); <xsl:for-each select=".//corresponding/propval"> sbExpr.setLength(0); @@ -552,6 +553,10 @@ public class <xsl:value-of select="$classname"/> extends <xsl:value-of select=" sbExpr.append(propertyList.wmRelToAbs(PropertyList.<xsl:value-of select="@dir"/>)); </xsl:template> +<xsl:template match="propval/parwmrel2abs"> + sbExpr.append(parentFO.properties.wmRelToAbs(PropertyList.<xsl:value-of select="@dir"/>)); +</xsl:template> + <xsl:template match="propval/wmabs2rel"> sbExpr.append(propertyList.wmAbsToRel(PropertyList.<xsl:value-of select="@dir"/>)); </xsl:template> |