Package org.apache.fop.layoutmgr
Class BreakOpportunityHelper
java.lang.Object
org.apache.fop.layoutmgr.BreakOpportunityHelper
Helper implementations of the
BreakOpportunity
methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getBreakBefore
(AbstractLayoutManager layoutManager) Returns the break opportunity before the given layout manager.
-
Method Details
-
getBreakBefore
Returns the break opportunity before the given layout manager. There is a break opportunity if the LM's FO has the break-before property set, or if there is a break opportunity before its first child LM.- Returns:
- the break-before value (Constants.EN_*)
-