org.apache.fop.area.inline
public class WordArea extends InlineArea
InlineArea.InlineAdjustingInfo| Modifier and Type | Field and Description |
|---|---|
protected int[] |
letterAdjust
An array of width for adjusting the individual letters (optional)
|
protected int |
offset
The correction offset for the next area
|
protected java.lang.String |
word
The text for this word area
|
adjustingInfobpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TBforeignAttributes| Constructor and Description |
|---|
WordArea(java.lang.String w,
int o,
int[] la)
Create a word area
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getLetterAdjustArray() |
int |
getOffset()
Get the offset of this inline area.
|
java.lang.String |
getWord() |
void |
setOffset(int o)
Set the offset of this inline area.
|
addChildArea, applyVariationFactor, getAdjustingInfo, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustment, setParentAreaaddTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toStringgetForeignAttributes, getForeignAttributeValue, setForeignAttribute, setForeignAttributesprotected java.lang.String word
protected int offset
protected int[] letterAdjust
public WordArea(java.lang.String w,
int o,
int[] la)
w - the word stringo - the offset for the next areala - the letter adjust array (may be null)public java.lang.String getWord()
public int getOffset()
InlineAreagetOffset in class InlineAreapublic void setOffset(int o)
InlineAreasetOffset in class InlineAreao - The offset to set.public int[] getLetterAdjustArray()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.