Using the FOP fox:border-radius extension
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 30
- Joined: Mon Jan 27, 2014 11:19 am
Using the FOP fox:border-radius extension
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
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Using the FOP fox:border-radius extension
Hello Rodrik,
Note that rounded corners (fox:border-radius) is a FOP extension that is currently only available in the development (trunk) version of Apache FOP. Oxygen uses the stable version of Apache FOP, 1.1, which does not support this extension.
So, in short, no, it's not possible to use fox:border-radius with the version of FOP bundled with Oxygen v16.0.
If this extension is important for you, you could use the development (trunk) version of Apache FOP in Oxygen as an external FO processor.
Regards,
Adrian
Note that rounded corners (fox:border-radius) is a FOP extension that is currently only available in the development (trunk) version of Apache FOP. Oxygen uses the stable version of Apache FOP, 1.1, which does not support this extension.
So, in short, no, it's not possible to use fox:border-radius with the version of FOP bundled with Oxygen v16.0.
If this extension is important for you, you could use the development (trunk) version of Apache FOP in Oxygen as an external FO processor.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service