--- Finn Bock <[EMAIL PROTECTED]> wrote: > [Glen] > > > Actually, to clarify what I wrote: why do we need > an > > extension interface (TreeExt) for objects placed > > outside the document (pdf bookmarks/metadata), > while > > *not* needing one for extension objects that end > up > > placed *on* the document? > > You subclass Area for elements on the document and > TreeExt for elements > outside the document. >
OK, I'd like to 1) rename TreeExt to OffDocumentItem (to clarify what it's really for) 2) change it from an interface to an abstract base class. 3.) Have this base class hold the "when" parameter for when this ODI is to be generated, so the "when" does not need to be hardcoded into AreaTreeHandler as it is currently for PDF Bookmarks. (Helps with extensibility.) 4.) Rename Renderer.renderTreeExtension() to Renderer.processOffDocumentItem(). Any problems with this? Thanks, Glen