Setting up Border Radius on Mendix Document Template (PDF).
0
Hi Guys, I’m tryng to change the curves of the Edges in Mendix Document Template. When I used custom styling (border-radius: 15px;) I’m getting the error: org.apache.fop.fo.ValidationException null:2:1324: Invalid property encountered on "fo:table": border-radius (See position 2:1324) net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:table": border-radius (See position 2:1324) at com.mendix.documentexporter.documents.PDFDocument.generateInputStream(PDFDocument.java:72) Caused by: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:table": border-radius (See position 2:1324) at net.sf.saxon.event.ContentHandlerProxy.handleSAXException(ContentHandlerProxy.java:543) Caused by: null:2:1324: Invalid property encountered on "fo:table": border-radius (See position 2:1324) at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38) Any idea how to perform border-radious styling? Thanks in Advance, Best regards, Aleksandar
asked
Aleksandar Alempic
1 answers
1
Don't bother, it can’t be done. Border-radius is not supported in the Apache FOP library version that Mendix uses. I think FOP 2.0 has it, which means Mendix uses 1.x