Package org.apache.fop.afp
Class AFPTextDataInfo
java.lang.Object
org.apache.fop.afp.AFPTextDataInfo
Text data information
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
the text colorprivate int
the text font referenceprivate int
the text inter character adjustmentprivate int
the text orientationprivate String
the text encodingprivate String
the text stringprivate int
the text variable space adjustmentprivate int
the text x coordinate positionprivate int
the text y coordinate position -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns the colorReturns the text encodingint
Returns the font referenceint
Return the inter character adjustmentint
Returns the text rotationReturns the text stringint
Return the variable space character incrementint
getX()
Returns the x coordinateint
getY()
Returns the y coordinatevoid
Sets the colorvoid
setEncoding
(String textEncoding) Sets the text encodingvoid
setFontReference
(int fontReference) Sets the font referencevoid
setInterCharacterAdjustment
(int interCharacterAdjustment) Sets the inter character adjustmentvoid
setRotation
(int rotation) Sets the text orientationvoid
Sets the text stringvoid
setVariableSpaceCharacterIncrement
(int variableSpaceCharacterIncrement) Sets the variable space character incrementvoid
setX
(int x) Sets the X coordinatevoid
setY
(int y) Sets the Y coordinatetoString()
-
Field Details
-
fontReference
private int fontReferencethe text font reference -
x
private int xthe text x coordinate position -
y
private int ythe text y coordinate position -
color
the text color -
variableSpaceCharacterIncrement
private int variableSpaceCharacterIncrementthe text variable space adjustment -
interCharacterAdjustment
private int interCharacterAdjustmentthe text inter character adjustment -
rotation
private int rotationthe text orientation -
textEncoding
the text encoding -
textString
the text string
-
-
Constructor Details
-
AFPTextDataInfo
public AFPTextDataInfo()
-
-
Method Details
-
getFontReference
public int getFontReference()Returns the font reference- Returns:
- the font reference
-
setFontReference
public void setFontReference(int fontReference) Sets the font reference- Parameters:
fontReference
- the font reference
-
getX
public int getX()Returns the x coordinate- Returns:
- the x coordinate
-
setX
public void setX(int x) Sets the X coordinate- Parameters:
x
- the X coordinate
-
getY
public int getY()Returns the y coordinate- Returns:
- the y coordinate
-
setY
public void setY(int y) Sets the Y coordinate- Parameters:
y
- the Y coordinate
-
getColor
Returns the color- Returns:
- the color
-
setColor
Sets the color- Parameters:
color
- the color
-
getVariableSpaceCharacterIncrement
public int getVariableSpaceCharacterIncrement()Return the variable space character increment- Returns:
- the variable space character increment
-
setVariableSpaceCharacterIncrement
public void setVariableSpaceCharacterIncrement(int variableSpaceCharacterIncrement) Sets the variable space character increment- Parameters:
variableSpaceCharacterIncrement
- the variable space character increment
-
getInterCharacterAdjustment
public int getInterCharacterAdjustment()Return the inter character adjustment- Returns:
- the inter character adjustment
-
setInterCharacterAdjustment
public void setInterCharacterAdjustment(int interCharacterAdjustment) Sets the inter character adjustment- Parameters:
interCharacterAdjustment
- the inter character adjustment
-
setRotation
public void setRotation(int rotation) Sets the text orientation- Parameters:
rotation
- the text rotation
-
getRotation
public int getRotation()Returns the text rotation- Returns:
- the text rotation
-
setEncoding
Sets the text encoding- Parameters:
textEncoding
- the text encoding
-
getEncoding
Returns the text encoding- Returns:
- the text encoding
-
setString
Sets the text string- Parameters:
textString
- the text string
-
getString
Returns the text string- Returns:
- the text string
-
toString
-