public class FOPRtfAttributes extends RtfAttributes
Constructor and Description |
---|
FOPRtfAttributes() |
Modifier and Type | Method and Description |
---|---|
RtfAttributes |
set(String name,
Color color)
Set an attribute that has a Color value.
|
RtfAttributes |
setHalfPoints(String name,
Length value)
Set an attribute that has a Length value (internal units in half-points)
|
RtfAttributes |
setTwips(String name,
int value)
Set an attribute using a value in millipoints (internal units in twips)
|
RtfAttributes |
setTwips(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(String name, Length value)
name
- name of attributevalue
- value of attributepublic RtfAttributes setTwips(String name, int value)
name
- name of attributevalue
- value of attribute (in millipoints)public RtfAttributes setHalfPoints(String name, Length value)
name
- name of attributevalue
- value of attributepublic RtfAttributes set(String name, Color color)
name
- name of attributecolor
- value of attributeCopyright © 2025 Apache Software Foundation. All rights reserved.