public final class SVGOptions extends SaveOptions implements ISVGOptions, java.lang.Cloneable
Represents an SVG options.
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static SVGOptions |
getDefault()
Returns default settings.
|
boolean |
getDeletePicturesCroppedAreas()
A boolean flag indicates if the cropped parts remain as part of the document.
|
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 |
getExternalFontsHandling()
Determines a way of handling externally loaded fonts.
|
int |
getJpegQuality()
Determines JPEG encoding quality.
|
int |
getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization.
|
int |
getPicturesCompression()
Represents the pictures compression level
|
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 |
setDeletePicturesCroppedAreas(boolean value)
A boolean flag indicates if the cropped parts remain as part of the document.
|
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 |
setExternalFontsHandling(int value)
Determines a way of handling externally loaded fonts.
|
void |
setJpegQuality(int value)
Determines JPEG encoding quality.
|
void |
setMetafileRasterizationDpi(int value)
Returns or sets the lower resolution limit for metafile rasterization.
|
void |
setPicturesCompression(int value)
Represents the pictures compression level
|
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.
|
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
public SVGOptions()
Initializes a new instance of the SVGOptions class.
public SVGOptions(ILinkEmbedController linkEmbedController)
Initializes a new instance of the SVGOptions class specifying the link embedding controller object.
linkEmbedController
- The link embedding controller reference.
ILinkEmbedController
public final boolean getVectorizeText()
Determines whether the text on a slide will be saved as graphics.
Read/write boolean
.
getVectorizeText
in interface ISVGOptions
public final void setVectorizeText(boolean value)
Determines whether the text on a slide will be saved as graphics.
Read/write boolean
.
setVectorizeText
in interface ISVGOptions
public final int getMetafileRasterizationDpi()
Returns or sets the lower resolution limit for metafile rasterization.
Read/write int
.
getMetafileRasterizationDpi
in interface ISVGOptions
public final void setMetafileRasterizationDpi(int value)
Returns or sets the lower resolution limit for metafile rasterization.
Read/write int
.
setMetafileRasterizationDpi
in interface ISVGOptions
public final boolean getDisable3DText()
Determines whether the 3D text is disabled in SVG.
Read/write boolean
.
getDisable3DText
in interface ISVGOptions
public final void setDisable3DText(boolean value)
Determines whether the 3D text is disabled in SVG.
Read/write boolean
.
setDisable3DText
in interface ISVGOptions
public final boolean getDisableGradientSplit()
Disables splitting FromCornerX and FromCenter gradients.
Read/write boolean
.
getDisableGradientSplit
in interface ISVGOptions
public final void setDisableGradientSplit(boolean value)
Disables splitting FromCornerX and FromCenter gradients.
Read/write boolean
.
setDisableGradientSplit
in interface ISVGOptions
public final 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
.
getDisableLineEndCropping
in interface ISVGOptions
public final 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
.
setDisableLineEndCropping
in interface ISVGOptions
public static SVGOptions getDefault()
Returns default settings.
Read-only SVGOptions
.
public static SVGOptions getSimple()
Returns settings for simpliest and smallest SVG file generation.
Read-only SVGOptions
.
public static SVGOptions getWYSIWYG()
Returns settings for most accurate SVG file generation.
Read-only SVGOptions
.
public final int getJpegQuality()
Determines JPEG encoding quality.
Read/write int
.
getJpegQuality
in interface ISVGOptions
public final void setJpegQuality(int value)
Determines JPEG encoding quality.
Read/write int
.
setJpegQuality
in interface ISVGOptions
public final ISvgShapeFormattingController getShapeFormattingController()
Returns and sets a callback interface which allows user to control shape conversion.
Read/write ISvgShapeFormattingController
.
getShapeFormattingController
in interface ISVGOptions
public final void setShapeFormattingController(ISvgShapeFormattingController value)
Returns and sets a callback interface which allows user to control shape conversion.
Read/write ISvgShapeFormattingController
.
setShapeFormattingController
in interface ISVGOptions
public final int getPicturesCompression()
Represents the pictures compression level
getPicturesCompression
in interface ISVGOptions
public final void setPicturesCompression(int value)
Represents the pictures compression level
setPicturesCompression
in interface ISVGOptions
public final boolean getDeletePicturesCroppedAreas()
A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)
getDeletePicturesCroppedAreas
in interface ISVGOptions
public final void setDeletePicturesCroppedAreas(boolean value)
A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)
setDeletePicturesCroppedAreas
in interface ISVGOptions
public final int getExternalFontsHandling()
Determines a way of handling externally loaded fonts.
Read/write SvgExternalFontsHandling
.
getExternalFontsHandling
in interface ISVGOptions
public final void setExternalFontsHandling(int value)
Determines a way of handling externally loaded fonts.
Read/write SvgExternalFontsHandling
.
setExternalFontsHandling
in interface ISVGOptions