org.apache.fop.layoutmgr
Class SpaceResolver.SpaceHandlingBreakPosition
- SpaceResolver
public static class SpaceResolver.SpaceHandlingBreakPosition
Position class for break possibilities. It is used to notify layout manager about the
effective spaces and conditional lengths.
SpaceHandlingBreakPosition
public SpaceHandlingBreakPosition(SpaceResolver resolver,
BreakElement breakPoss)
Main constructor.
resolver
- the space resolver that provides the info about the actual situationbreakPoss
- the original break possibility that creates this Position
getOriginalBreakPosition
public Position getOriginalBreakPosition()
- the original Position instance set at the BreakElement that this Position was
created for.
notifyBreakSituation
public void notifyBreakSituation(boolean isBreakSituation,
RelSide side)
Notifies all affected layout managers about the current situation in the part to be
handled for area generation.
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
public String toString()
- toString in interface Position
java.lang.Object.toString()
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.