com.aspose.slides
Class SVGOptions

java.lang.Object
  extended by com.aspose.slides.SaveOptions
      extended by com.aspose.slides.SVGOptions
All Implemented Interfaces:
java.lang.Cloneable

public final class SVGOptions
extends SaveOptions
implements java.lang.Cloneable

Represents an SVG options.


Constructor Summary
SVGOptions()
           Initializes a new instance of the SVGOptions class.
 
Method Summary
static SVGOptions getDefault()
           Returns default settings.
 boolean getDisable3DText()
           Determines whether the 3D text is disabled in SVG.
 boolean getDisableGradientSplit()
           Disables splitting FromCornerX and FromCenter gradients.
 boolean getDisableLineEndCropping()
           SVG 1.1 lacks ability to define insets for markers.
 int getJpegQuality()
           Determines JPEG encoding quality
 int getMetafileRasterizationDpi()
           Returns or sets the lower resolution limit for metafile rasterization.
 ISvgShapeFormattingController getShapeFormattingController()
           Returns and sets a callback interface which allows user to control shape conversion.
static SVGOptions getSimple()
           Returns settings for simpliest and smallest SVG file generation.
 boolean getVectorizeText()
           Determines whether the text on a slide will be saved as graphics.
static SVGOptions getWYSIWYG()
           Returns settings for most accurate SVG file generation.
 void setDisable3DText(boolean value)
           
 void setDisableGradientSplit(boolean value)
           
 void setDisableLineEndCropping(boolean value)
           
 void setJpegQuality(int value)
           
 void setMetafileRasterizationDpi(int value)
           
 void setShapeFormattingController(ISvgShapeFormattingController value)
           
 void setVectorizeText(boolean value)
           
 
Methods inherited from class com.aspose.slides.SaveOptions
getWarningCallback, setWarningCallback
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGOptions

public SVGOptions()

Initializes a new instance of the SVGOptions class.

Method Detail

getVectorizeText

public boolean getVectorizeText()

Determines whether the text on a slide will be saved as graphics. Read/write bool.


setVectorizeText

public void setVectorizeText(boolean value)

getMetafileRasterizationDpi

public int getMetafileRasterizationDpi()

Returns or sets the lower resolution limit for metafile rasterization. Read/write int.


setMetafileRasterizationDpi

public void setMetafileRasterizationDpi(int value)

getDisable3DText

public boolean getDisable3DText()

Determines whether the 3D text is disabled in SVG. Read/write bool.


setDisable3DText

public void setDisable3DText(boolean value)

getDisableGradientSplit

public boolean getDisableGradientSplit()

Disables splitting FromCornerX and FromCenter gradients. Read/write bool.


setDisableGradientSplit

public void setDisableGradientSplit(boolean value)

getDisableLineEndCropping

public boolean getDisableLineEndCropping()

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. This option switches off such behavior.


setDisableLineEndCropping

public void setDisableLineEndCropping(boolean value)

getDefault

public static SVGOptions getDefault()

Returns default settings.


getSimple

public static SVGOptions getSimple()

Returns settings for simpliest and smallest SVG file generation.


getWYSIWYG

public static SVGOptions getWYSIWYG()

Returns settings for most accurate SVG file generation.


getJpegQuality

public int getJpegQuality()

Determines JPEG encoding quality


setJpegQuality

public void setJpegQuality(int value)

getShapeFormattingController

public ISvgShapeFormattingController getShapeFormattingController()

Returns and sets a callback interface which allows user to control shape conversion.


setShapeFormattingController

public void setShapeFormattingController(ISvgShapeFormattingController value)