com.dynalivery.harmoni
Class SVGFormatOptions

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

public class SVGFormatOptions
extends FormatOptions
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SVGFormatOptions()
          Creates new SVGFormatOptions
SVGFormatOptions(boolean useCSS, boolean embeddInHtml, boolean embeddedFontsOn)
          Creates new SVGFormatOptions useCSS - true if CSS is to be used embeddInHtml - true if SVG is to be embedded in html with links to pages embeddedFontsOn - true if fonts are to be embeded in the document.
 
Method Summary
 boolean getEmbeddedFontsOn()
          Returns true if fonts are set to be embedded in the SVG document, false otherwise.
 boolean getEmbeddInHtml()
          Returns true if the SVG document is to be embedded in an html document false otherwise.
 boolean getUseCss()
          Returns true if the SVG document uses Cascaded Style Sheets false otherwise.
 byte[] getXML()
          Returns the an XML String representation of the format options, if any
 void setEmbeddedFontsOn(boolean embeddedFontsOn)
          Set true if fonts are to be embedded in the SVG document, false otherwise.
 void setEmbeddInHtml(boolean embeddInHtml)
          Set true if the SVG document is to be embedded in an html document false otherwise.
 void setUseCss(boolean useCss)
          Set to true if the SVG document is to use Cascaded Style Sheets false otherwise.
 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
 

Constructor Detail

SVGFormatOptions

public SVGFormatOptions(boolean useCSS,
                        boolean embeddInHtml,
                        boolean embeddedFontsOn)
                 throws InvalidParameterException
Creates new SVGFormatOptions useCSS - true if CSS is to be used embeddInHtml - true if SVG is to be embedded in html with links to pages embeddedFontsOn - true if fonts are to be embeded in the document.

SVGFormatOptions

public SVGFormatOptions()
                 throws InvalidParameterException
Creates new SVGFormatOptions
Method Detail

setUseCss

public void setUseCss(boolean useCss)
Set to true if the SVG document is to use Cascaded Style Sheets false otherwise.

getUseCss

public boolean getUseCss()
Returns true if the SVG document uses Cascaded Style Sheets false otherwise.

setEmbeddInHtml

public void setEmbeddInHtml(boolean embeddInHtml)
Set true if the SVG document is to be embedded in an html document false otherwise.

getEmbeddInHtml

public boolean getEmbeddInHtml()
Returns true if the SVG document is to be embedded in an html document false otherwise.

setEmbeddedFontsOn

public void setEmbeddedFontsOn(boolean embeddedFontsOn)
Set true if fonts are to be embedded in the SVG document, false otherwise.

getEmbeddedFontsOn

public boolean getEmbeddedFontsOn()
Returns true if fonts are set to be embedded in the SVG document, false otherwise.

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.