Details
-
Improvement
-
Status: Closed
-
Resolution: Fixed
-
0.94
-
None
-
None
-
Operating System: All
Platform: All
-
45470
Description
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