public abstract class JRStyledTextAttributeSelector
extends java.lang.Object
JRPrintText.getStyledText(JRStyledTextAttributeSelector)
,
JRPrintText.getFullStyledText(JRStyledTextAttributeSelector)
Modifier and Type | Field and Description |
---|---|
static JRStyledTextAttributeSelector |
ALL
Selects all styled text attributes, i.e.
|
static JRStyledTextAttributeSelector |
NO_BACKCOLOR
Selects all styled text attribute except backcolor, i.e.
|
static JRStyledTextAttributeSelector |
NONE
Doesn't select any styled text attribute.
|
Constructor and Description |
---|
JRStyledTextAttributeSelector() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> |
getStyledTextAttributes(JRPrintText printText)
Construct a map containing the selected element-level styled text attributes
for a print text element.
|
static java.util.Locale |
getTextLocale(JRPrintText printText) |
public static final JRStyledTextAttributeSelector ALL
public static final JRStyledTextAttributeSelector NO_BACKCOLOR
public static final JRStyledTextAttributeSelector NONE
public static java.util.Locale getTextLocale(JRPrintText printText)
public abstract java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> getStyledTextAttributes(JRPrintText printText)
printText
- the print text object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com