Package org.apache.fop.area.inline
Class InlineArea.InlineAdjustingInfo
java.lang.Object
org.apache.fop.area.inline.InlineArea.InlineAdjustingInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractTextArea.TextAdjustingInfo
- Enclosing class:
InlineArea
this class stores information about 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
FieldsModifier and TypeFieldDescriptionprotected inttotal adjustment (= ipd - width of fixed elements)protected intshrink of the inline areaprotected intstretch of the inline area -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInlineAdjustingInfo(int stretch, int shrink, int adj) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intapplyVariationFactor(double variationFactor) Apply the variation factor
-
Field Details
-
availableStretch
protected int availableStretchstretch of the inline area -
availableShrink
protected int availableShrinkshrink of the inline area -
adjustment
protected int adjustmenttotal adjustment (= ipd - width of fixed elements)
-
-
Constructor Details
-
InlineAdjustingInfo
protected InlineAdjustingInfo(int stretch, int shrink, int adj) Constructor- Parameters:
stretch- the available space for stretchingshrink- the available space for shrinkingadj- space adjustment type
-
-
Method Details
-
applyVariationFactor
protected int applyVariationFactor(double variationFactor) Apply the variation factor- Parameters:
variationFactor- the factor by which the adjustment is to be changed- Returns:
- the IPD increase
-