Package org.apache.fop.render.rtf
Class FOPRtfAttributes
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes
org.apache.fop.render.rtf.FOPRtfAttributes
- All Implemented Interfaces:
Cloneable
A RtfAttributes subclass that adds some helper set methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet an attribute that has a Color value.setHalfPoints
(String name, Length value) Set an attribute that has a Length value (internal units in half-points)Set an attribute using a value in millipoints (internal units in twips)Set an attribute that has a Length value (internal units in twips)Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfAttributes
addIntegerValue, clone, getValue, getValueAsInteger, getXslAttributes, isSet, nameIterator, set, set, set, set, set, setXslAttributes, toString, unset
-
Constructor Details
-
FOPRtfAttributes
public FOPRtfAttributes()
-
-
Method Details
-
setTwips
Set an attribute that has a Length value (internal units in twips)- Parameters:
name
- name of attributevalue
- value of attribute- Returns:
- this (which now contains the new entry)
-
setTwips
Set an attribute using a value in millipoints (internal units in twips)- Parameters:
name
- name of attributevalue
- value of attribute (in millipoints)- Returns:
- this (which now contains the new entry)
-
setHalfPoints
Set an attribute that has a Length value (internal units in half-points)- Parameters:
name
- name of attributevalue
- value of attribute- Returns:
- this (which now contains the new entry)
-
set
Set an attribute that has a Color value.- Parameters:
name
- name of attributecolor
- value of attribute- Returns:
- this (which now contains the new entry)
-