Package org.apache.fop.area.inline
Class AbstractTextArea.TextAdjustingInfo
java.lang.Object
org.apache.fop.area.inline.InlineArea.InlineAdjustingInfo
org.apache.fop.area.inline.AbstractTextArea.TextAdjustingInfo
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractTextArea
this class stores information about spaces and potential adjustments
that can be used in order to re-compute adjustments when a
page-number or a page-number-citation is resolved
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
difference between the optimal width of a space and the default width of a space according to the font (this is equivalent to the property word-spacing.optimum)Fields inherited from class org.apache.fop.area.inline.InlineArea.InlineAdjustingInfo
adjustment, availableShrink, availableStretch
-
Constructor Summary
ModifierConstructorDescriptionprotected
TextAdjustingInfo
(int stretch, int shrink, int adj) Constructor -
Method Summary
Methods inherited from class org.apache.fop.area.inline.InlineArea.InlineAdjustingInfo
applyVariationFactor
-
Field Details
-
spaceDifference
protected int spaceDifferencedifference between the optimal width of a space and the default width of a space according to the font (this is equivalent to the property word-spacing.optimum)
-
-
Constructor Details
-
TextAdjustingInfo
protected TextAdjustingInfo(int stretch, int shrink, int adj) Constructor- Parameters:
stretch
- the available space for stretchingshrink
- the available space for shrinkingadj
- space adjustment type
-