aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/testcases/simple-page-master_margin_2.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-09-02 14:26:31 +0000
committerJeremias Maerki <jeremias@apache.org>2005-09-02 14:26:31 +0000
commit2daa1220f0331d560481ed48d5531ee1b6555793 (patch)
tree8ee289b54a62ce23c199c4b0c8cd349a12d8b53f /test/layoutengine/testcases/simple-page-master_margin_2.xml
parent7253134b2b9feac580724eea566a08ed8ac0fe7f (diff)
downloadxmlgraphics-fop-2daa1220f0331d560481ed48d5531ee1b6555793.tar.gz
xmlgraphics-fop-2daa1220f0331d560481ed48d5531ee1b6555793.zip
Initial work on enhancing the extension facilities to register special extensions which create so-called ExtensionAttachment objects which are attached to the formatting object they are attached to. These objects can be evaluated by standard or custom layout managers or simply passed through to the area tree (the latter is NYI). The AreaTreeHandler currently takes ExtensionAttachment objects from fo:root and fo:declarations and wraps them in OffDocumentItems that Renderers can react on to provide additional functionality on document-level (like PDF metadata or PostScript media dictionaries). Since the simple-page-master is available directly from the PageViewport the renderer can take ExtensionAttachment objects directly from there (see PSRenderer.renderPage()).
Extension Elements that provide ExtensionAttachments are not added as such to the child element list of a formatting object since they work a little differently and should free memory as soon as possible. The PostScript extension described in http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript are now fully implemented but under the namespace URI "http://xmlgraphics.apache.org/fop/postscript", not "http://xml.apache.org/fop/extensions". I'll need to look at namespaces again separately, later. The new PSExtensionElementMapping is currently hard-coded into FOTreeBuilder as are the other ElementMapping classes. OffDocumentItem is now an interface, AbstractOffDocumentItem now providing the base functionality of the former OffDocumentItem class. Lots of clean-up and javadocs while working through this, for example: FObj.childNodes is not public anymore. Instead a special method on fo.flow.InstreamForeignObject provides the child in the one case childNodes was directly accessed. PropertyMaker access in FObj is also done through a method now, propertyListTable is now private. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@267209 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine/testcases/simple-page-master_margin_2.xml')
0 files changed, 0 insertions, 0 deletions