Package org.apache.fop.layoutmgr
Class SpaceResolver.SpaceHandlingBreakPosition
java.lang.Object
org.apache.fop.layoutmgr.Position
org.apache.fop.layoutmgr.SpaceResolver.SpaceHandlingBreakPosition
- Enclosing class:
- SpaceResolver
Position class for break possibilities. It is used to notify layout manager about the
effective spaces and conditional lengths.
-
Constructor Summary
ConstructorDescriptionSpaceHandlingBreakPosition
(SpaceResolver resolver, BreakElement breakPoss) Main constructor. -
Method Summary
Modifier and TypeMethodDescriptionOverridden by NonLeafPosition to return the Position of its child LM.void
notifyBreakSituation
(boolean isBreakSituation, RelSide side) Notifies all affected layout managers about the current situation in the part to be handled for area generation.toString()
Methods inherited from class org.apache.fop.layoutmgr.Position
generatesAreas, getIndex, getLM, getLM, getPosition, getShortLMName, setIndex
-
Constructor Details
-
SpaceHandlingBreakPosition
Main constructor.- Parameters:
resolver
- the space resolver that provides the info about the actual situationbreakPoss
- the original break possibility that creates this Position
-
-
Method Details
-
getSpaceResolver
- Returns:
- the space resolver
-
notifyBreakSituation
Notifies all affected layout managers about the current situation in the part to be handled for area generation.- Parameters:
isBreakSituation
- true if this is a break situation.side
- defines to notify about the situation whether before or after the break. May be null if isBreakSituation is null.
-
toString
-
getOriginalBreakPosition
- Returns:
- the original Position instance set at the BreakElement that this Position was created for.
-
getPosition
Overridden by NonLeafPosition to return the Position of its child LM.- Overrides:
getPosition
in classPosition
- Returns:
- a position or null
-