public class RMTextStyle extends java.lang.Object implements RMTextTypes, java.lang.Cloneable
RMTextTypes.TabType
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
TEXT_CHAR_SPACING, TEXT_COLOR, TEXT_EMBEDDED_SHAPE, TEXT_FONT, TEXT_FORMAT, TEXT_OUTLINE, TEXT_PARAGRAPH, TEXT_SCRIPTING, TEXT_UNDERLINE
Constructor and Description |
---|
RMTextStyle(RMXStringRun aRun)
Creates a new RMTextStyle.
|
Modifier and Type | Method and Description |
---|---|
RMTextStyle |
clone()
Standard clone implementation.
|
RMTextStyle |
clone(java.util.Map<?,?> aMap)
Clone with map.
|
RMTextStyle |
clone(RMColor aColor)
Clone with color.
|
RMTextStyle |
clone(RMFont aFont)
Clone with font.
|
RMTextStyle |
clone(java.lang.String aKey,
java.lang.Object aValue)
Clone with key/value.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
getAttribute(java.lang.String aKey)
Returns the default for a given key.
|
double |
getCharSpacing()
Returns the char spacing.
|
RMColor |
getColor()
Returns the color for this run.
|
RMFont |
getFont()
Returns the font for this run.
|
RMFormat |
getFormat()
Returns the format.
|
RMXString.Outline |
getOutline()
Returns the outline.
|
RMParagraph |
getParagraph()
Returns the paragraph.
|
int |
getScripting()
Returns the scripting for this run (1=SuperScripting, -1=Subscripting, 0=none).
|
int |
getUnderlineStyle()
Returns the underline style of this run.
|
boolean |
isUnderlined()
Returns whether this run is underlined.
|
java.lang.String |
toString()
Standard toString implementation.
|
public RMTextStyle(RMXStringRun aRun)
public RMFont getFont()
public RMColor getColor()
public boolean isUnderlined()
public int getUnderlineStyle()
public int getScripting()
public double getCharSpacing()
public RMParagraph getParagraph()
public RMFormat getFormat()
public RMXString.Outline getOutline()
public java.lang.Object getAttribute(java.lang.String aKey)
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object
public RMTextStyle clone()
clone
in class java.lang.Object
public RMTextStyle clone(RMFont aFont)
public RMTextStyle clone(RMColor aColor)
public RMTextStyle clone(java.lang.String aKey, java.lang.Object aValue)
public RMTextStyle clone(java.util.Map<?,?> aMap)
public java.lang.String toString()
toString
in class java.lang.Object