Using the FOP fox:border-radius extension
Posted: Mon Oct 06, 2014 2:57 pm
Is is possible with the version of FOP bundled with Oxygen 16 to use the fox:border-radius extension? This was something I raised on the Yahoo DITA list a while back but didn't get to a resolution.
I tried putting the following declaration into both my pr-domain-attr.xsl ovverride file and the pr-domain.xsl override file as follows:
And I added the following to the codeblock attribute set:
The transformation doesn't fail but the radius setting doesn't take effect even although the changes are reflected in the resulting topic.fo file:
Regards
Rodrik
I tried putting the following declaration into both my pr-domain-attr.xsl ovverride file and the pr-domain.xsl override file as follows:
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
Code: Select all
<xsl:attribute name="fox:border-radius">20pt</xsl:attribute>
Code: Select all
<fo:block xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" background-color="rgb(223,223,223)" end-indent="6pt + from-parent(end-indent)" font-size="0.9em" fox:border-radius="20pt"...>Hello world</fo:block>
Rodrik