org.apache.fop.render.rtf
Class FOPRtfAttributes
- java.lang.Cloneable
public class FOPRtfAttributes
A RtfAttributes subclass that adds some helper set methods.
addIntegerValue , clone , getValue , getXslAttributes , isSet , nameIterator , set , set , set , set , set , setXslAttributes , toString , unset |
set
public RtfAttributes set(String name,
Color color)
Set an attribute that has a Color value.
name
- name of attributecolor
- value of attribute
- this (which now contains the new entry)
setHalfPoints
public RtfAttributes setHalfPoints(String name,
Length value)
Set an attribute that has a Length value (internal units in half-points)
name
- name of attributevalue
- value of attribute
- this (which now contains the new entry)
setTwips
public RtfAttributes setTwips(String name,
int value)
Set an attribute using a value in millipoints (internal units in twips)
name
- name of attributevalue
- value of attribute (in millipoints)
- this (which now contains the new entry)
setTwips
public RtfAttributes setTwips(String name,
Length value)
Set an attribute that has a Length value (internal units in twips)
name
- name of attributevalue
- value of attribute
- this (which now contains the new entry)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.