com.dynalivery.harmoni
Class RTFFormatOptions

java.lang.Object
  |
  +--com.dynalivery.harmoni.FormatOptions
        |
        +--com.dynalivery.harmoni.RTFFormatOptions

public class RTFFormatOptions
extends FormatOptions
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int ABSOLUTE
          Type identifier for creating an RTFAbsoluteSerializer.
static int SIZE_REDUCER
          Type identifier for creating an RTFSizeReduceSerializer.
 
Constructor Summary
RTFFormatOptions()
          Creates new RTFFormatOptions
RTFFormatOptions(int serializerType)
          Creates new RTFFormatOptions
 
Method Summary
 java.lang.String getSerializerType()
          getSerializerType
 byte[] getXML()
          Returns the an XML String representation of the format options, if any
 void setSerializerType(int serializerType)
          setSerializerType
 java.lang.String toString()
          Creates display string for format options.
 
Methods inherited from class com.dynalivery.harmoni.FormatOptions
getFileType, setFileType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSOLUTE

public static final int ABSOLUTE
Type identifier for creating an RTFAbsoluteSerializer.

SIZE_REDUCER

public static final int SIZE_REDUCER
Type identifier for creating an RTFSizeReduceSerializer.
Constructor Detail

RTFFormatOptions

public RTFFormatOptions()
                 throws InvalidParameterException
Creates new RTFFormatOptions

RTFFormatOptions

public RTFFormatOptions(int serializerType)
                 throws InvalidParameterException
Creates new RTFFormatOptions
Method Detail

setSerializerType

public void setSerializerType(int serializerType)
                       throws InvalidParameterException
setSerializerType
Parameters:
serializerType - Indicates the type of the Serializer to be used.

getSerializerType

public java.lang.String getSerializerType()
getSerializerType
Returns:
If AbsolutePositioning is being used

getXML

public byte[] getXML()
Returns the an XML String representation of the format options, if any
Overrides:
getXML in class FormatOptions
Tags copied from class: FormatOptions
Returns:
an XML String representation of the format options, if any
Throws:
com.dynalivery.saffron.client.exception.InvalidParameterException -  

toString

public java.lang.String toString()
Creates display string for format options.
Overrides:
toString in class FormatOptions
Tags copied from class: FormatOptions
Returns:
display string for format options. Must be overridden in subclasses.