org.apache.fop.area.inline

Class AbstractTextArea.TextAdjustingInfo

Enclosing Class:
AbstractTextArea

protected class AbstractTextArea.TextAdjustingInfo
extends InlineArea.InlineAdjustingInfo

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

Field Summary

protected int
spaceDifference
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

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 spaceDifference
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)

Constructor Details

TextAdjustingInfo

protected TextAdjustingInfo(int stretch,
                            int shrink,
                            int adj)
Constructor
Parameters:
stretch - the available space for stretching
shrink - the available space for shrinking
adj - space adjustment type

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.