com.aspose.slides
Class SVGOptions

java.lang.Object
  extended by com.aspose.slides.SVGOptions

public final class SVGOptions
extends java.lang.Object

Represents an SVG options.


Constructor Summary
SVGOptions()
          Initializes a new instance of the SVGOptions class.
 
Method Summary
static SVGOptions getDefault()
          Returns default settings.
 boolean getDisableLineEndCropping()
          Determines whether the end of lines with arrows will be cropped in SVG.
 int getMetafileRasterizationDpi()
          Returns the lower resolution limit for metafile rasterization.
static SVGOptions getSimple()
          Returns settings for most simple and smallest SVG file generation.
static SVGOptions getWYSIWYG()
          Returns settings for most accurate SVG file generation.
 boolean isDisable3DText()
          Determines whether the 3D text is disabled in SVG.
 boolean isDisableGradientSplit()
          Determines whether the splitting of FromCornerX and FromCenter gradients is disabled.
 boolean isVectorizeText()
          Determines whether the text on a slide will be saved as graphics.
 void setDisable3DText(boolean value)
          Sets whether the 3D text is disabled in SVG.
 void setDisableGradientSplit(boolean value)
          Sets whether the splitting of FromCornerX and FromCenter gradients is disabled.
 void setDisableLineEndCropping(boolean value)
          Sets whether the end of lines with arrows will be cropped in SVG.
 void setMetafileRasterizationDpi(int value)
          Sets the lower resolution limit for metafile rasterization.
 void setVectorizeText(boolean value)
          Sets whether the text on a slide will be saved as graphics.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGOptions

public SVGOptions()
           throws PptException
Initializes a new instance of the SVGOptions class.

Throws:
PptException
Method Detail

isVectorizeText

public boolean isVectorizeText()
Determines whether the text on a slide will be saved as graphics.


setVectorizeText

public void setVectorizeText(boolean value)
Sets whether the text on a slide will be saved as graphics.


getMetafileRasterizationDpi

public int getMetafileRasterizationDpi()
Returns the lower resolution limit for metafile rasterization.

Returns:
lower resolution limit

setMetafileRasterizationDpi

public void setMetafileRasterizationDpi(int value)
                                 throws java.lang.IllegalArgumentException
Sets the lower resolution limit for metafile rasterization.

Parameters:
value - lower resolution limit.
Throws:
java.lang.IllegalArgumentException

isDisable3DText

public boolean isDisable3DText()
Determines whether the 3D text is disabled in SVG.


setDisable3DText

public void setDisable3DText(boolean value)
Sets whether the 3D text is disabled in SVG.

Parameters:
value -

isDisableGradientSplit

public boolean isDisableGradientSplit()
Determines whether the splitting of FromCornerX and FromCenter gradients is disabled.


setDisableGradientSplit

public void setDisableGradientSplit(boolean value)
Sets whether the splitting of FromCornerX and FromCenter gradients is disabled.


getDisableLineEndCropping

public boolean getDisableLineEndCropping()
Determines whether the end of lines with arrows will be cropped in SVG. SVG 1.1 lacks ability to define insets for markers. Aspose.Slides SVG writing engine has workaround for that problem: it crops end of line with arrow, so, line doesn't overlap markers.


setDisableLineEndCropping

public void setDisableLineEndCropping(boolean value)
Sets whether the end of lines with arrows will be cropped in SVG.

Parameters:
value -

getDefault

public static SVGOptions getDefault()
                             throws PptException
Returns default settings.

Throws:
PptException

getSimple

public static SVGOptions getSimple()
                            throws PptException
Returns settings for most simple and smallest SVG file generation.

Throws:
PptException

getWYSIWYG

public static SVGOptions getWYSIWYG()
                             throws java.lang.Exception
Returns settings for most accurate SVG file generation.

Throws:
java.lang.Exception