public class FOPRtfAttributes extends RtfAttributes
Constructor and Description |
---|
FOPRtfAttributes() |
Modifier and Type | Method and Description |
---|---|
RtfAttributes |
set(java.lang.String name,
java.awt.Color color)
Set an attribute that has a Color value.
|
RtfAttributes |
setHalfPoints(java.lang.String name,
Length value)
Set an attribute that has a Length value (internal units in half-points)
|
RtfAttributes |
setTwips(java.lang.String name,
int value)
Set an attribute using a value in millipoints (internal units in twips)
|
RtfAttributes |
setTwips(java.lang.String name,
Length value)
Set an attribute that has a Length value (internal units in twips)
|
addIntegerValue, clone, getValue, getValueAsInteger, getXslAttributes, isSet, nameIterator, set, set, set, set, set, setXslAttributes, toString, unset
public RtfAttributes setTwips(java.lang.String name, Length value)
name
- name of attributevalue
- value of attributepublic RtfAttributes setTwips(java.lang.String name, int value)
name
- name of attributevalue
- value of attribute (in millipoints)public RtfAttributes setHalfPoints(java.lang.String name, Length value)
name
- name of attributevalue
- value of attributepublic RtfAttributes set(java.lang.String name, java.awt.Color color)
name
- name of attributecolor
- value of attributeCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.