com.aspose.slides
Class SVGOptions

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

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

Represents an SVG options.


Constructor Summary
SVGOptions()
           Initializes a new instance of the SVGOptions class.
SVGOptions(ILinkEmbedController linkEmbedController)
           Initializes a new instance of the SVGOptions class specifying the link embedding controller object.
 
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)
           Determines whether the 3D text is disabled in SVG.
 void setDisableGradientSplit(boolean value)
           Disables splitting FromCornerX and FromCenter gradients.
 void setDisableLineEndCropping(boolean value)
           SVG 1.1 lacks ability to define insets for markers.
 void setJpegQuality(int value)
           Determines JPEG encoding quality.
 void setMetafileRasterizationDpi(int value)
           Returns or sets the lower resolution limit for metafile rasterization.
 void setShapeFormattingController(ISvgShapeFormattingController value)
           Returns and sets a callback interface which allows user to control shape conversion.
 void setVectorizeText(boolean value)
           Determines whether the text on a slide will be saved as graphics.
 
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
 
Methods inherited from interface com.aspose.slides.ISaveOptions
getWarningCallback, setWarningCallback
 

Constructor Detail

SVGOptions

public SVGOptions()

Initializes a new instance of the SVGOptions class.


SVGOptions

public SVGOptions(ILinkEmbedController linkEmbedController)

Initializes a new instance of the SVGOptions class specifying the link embedding controller object.

Parameters:
linkEmbedController - The link embedding controller reference.


Link embedding controller is a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources.

See Also:
ILinkEmbedController
Method Detail

getVectorizeText

public boolean getVectorizeText()

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

Specified by:
getVectorizeText in interface ISVGOptions

setVectorizeText

public void setVectorizeText(boolean value)

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

Specified by:
setVectorizeText in interface ISVGOptions

getMetafileRasterizationDpi

public int getMetafileRasterizationDpi()

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

Specified by:
getMetafileRasterizationDpi in interface ISVGOptions

setMetafileRasterizationDpi

public void setMetafileRasterizationDpi(int value)

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

Specified by:
setMetafileRasterizationDpi in interface ISVGOptions

getDisable3DText

public boolean getDisable3DText()

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

Specified by:
getDisable3DText in interface ISVGOptions

setDisable3DText

public void setDisable3DText(boolean value)

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

Specified by:
setDisable3DText in interface ISVGOptions

getDisableGradientSplit

public boolean getDisableGradientSplit()

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

Specified by:
getDisableGradientSplit in interface ISVGOptions

setDisableGradientSplit

public void setDisableGradientSplit(boolean value)

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

Specified by:
setDisableGradientSplit in interface ISVGOptions

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. Read/write boolean.

Specified by:
getDisableLineEndCropping in interface ISVGOptions

setDisableLineEndCropping

public void setDisableLineEndCropping(boolean value)

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. Read/write boolean.

Specified by:
setDisableLineEndCropping in interface ISVGOptions

getDefault

public static SVGOptions getDefault()

Returns default settings. Read-only SVGOptions.


getSimple

public static SVGOptions getSimple()

Returns settings for simpliest and smallest SVG file generation. Read-only SVGOptions.


getWYSIWYG

public static SVGOptions getWYSIWYG()

Returns settings for most accurate SVG file generation. Read-only SVGOptions.


getJpegQuality

public int getJpegQuality()

Determines JPEG encoding quality. Read/write int.

Specified by:
getJpegQuality in interface ISVGOptions

setJpegQuality

public void setJpegQuality(int value)

Determines JPEG encoding quality. Read/write int.

Specified by:
setJpegQuality in interface ISVGOptions

getShapeFormattingController

public ISvgShapeFormattingController getShapeFormattingController()

Returns and sets a callback interface which allows user to control shape conversion. Read/write ISvgShapeFormattingController.

Specified by:
getShapeFormattingController in interface ISVGOptions

setShapeFormattingController

public void setShapeFormattingController(ISvgShapeFormattingController value)

Returns and sets a callback interface which allows user to control shape conversion. Read/write ISvgShapeFormattingController.

Specified by:
setShapeFormattingController in interface ISVGOptions


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.