https://issues.apache.org/bugzilla/show_bug.cgi?id=45470
Summary: Better support for overriding default LayoutManagerMaker
needed
Product: Fop
Version: 0.94
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: page-master/layout
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I have the requirement to replace the default BlockContainerLayoutManagerMaker
with my own implementation. After searching the code base I think the suggested
way is by using the setLayoutManagerMakerOverride(LayoutManagerMaker) method of
the FopFactory to override the default LayoutManagerMaker implementation.
My own LayoutManagerMaker is a subclass of the default LayoutManagerMapping.
Unfortunately, 'cause the map of LayoutManagerMakers is private and no
protected setter is given to change the default mapping set during
initialize(), one has to provide a second map of LayoutManagerMakers and
duplicate a lot of code to tell fop to use this new mapping.
My suggestion:
Either make the map of LayoutManagerMakers protected or preferably provide a
protected setter to change the default mapping.
Thanks in advance
Rainer
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.