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
|
adjustingInfo
bpd, 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, TB
extensionAttachments, foreignAttributes
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, setParentArea
addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
protected 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()
InlineArea
getOffset
in class InlineArea
public void setOffset(int o)
InlineArea
setOffset
in class InlineArea
o
- The offset to set.public int[] getLetterAdjustArray()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.