You can buy this project and download/modify it how often you want.
org.apache.fop.fo Package Base classes for implementing extensions to XSL-FO.
Base classes for implementing extensions to XSL-FO.