Aspose::Slides::Export::SVGOptions Class Referencefinal

Represents an SVG options. More...

Inherits Aspose::Slides::Export::SaveOptions, and Aspose::Slides::Export::ISVGOptions.

Public Member Functions

bool get_VectorizeText ()
 Determines whether the text on a slide will be saved as graphics. Read bool. More...
 
void set_VectorizeText (bool value)
 Determines whether the text on a slide will be saved as graphics. Write bool. More...
 
int32_t get_MetafileRasterizationDpi ()
 Returns the lower resolution limit for metafile rasterization. Read int32_t. More...
 
void set_MetafileRasterizationDpi (int32_t value)
 Sets the lower resolution limit for metafile rasterization. Write int32_t. More...
 
bool get_Disable3DText ()
 Determines whether the 3D text is disabled in SVG. Read bool. More...
 
void set_Disable3DText (bool value)
 Determines whether the 3D text is disabled in SVG. Write bool. More...
 
bool get_DisableGradientSplit ()
 Disables splitting FromCornerX and FromCenter gradients. Read bool. More...
 
void set_DisableGradientSplit (bool value)
 Disables splitting FromCornerX and FromCenter gradients. Write bool. More...
 
bool get_DisableLineEndCropping ()
 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 bool. More...
 
void set_DisableLineEndCropping (bool 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. Write bool. More...
 
int32_t get_JpegQuality ()
 Determines JPEG encoding quality. Read int32_t. More...
 
void set_JpegQuality (int32_t value)
 Determines JPEG encoding quality. Write int32_t. More...
 
System::SharedPtr< ISvgShapeFormattingControllerget_ShapeFormattingController ()
 Returns and sets a callback interface which allows user to control shape conversion. Read ISvgShapeFormattingController. More...
 
void set_ShapeFormattingController (System::SharedPtr< ISvgShapeFormattingController > value)
 Returns and sets a callback interface which allows user to control shape conversion. Write ISvgShapeFormattingController. More...
 
Aspose::Slides::Export::PicturesCompression get_PicturesCompression ()
 Represents the pictures compression level More...
 
void set_PicturesCompression (Aspose::Slides::Export::PicturesCompression value)
 Represents the pictures compression level More...
 
bool get_DeletePicturesCroppedAreas ()
 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) More...
 
void set_DeletePicturesCroppedAreas (bool 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) More...
 
SvgExternalFontsHandling get_ExternalFontsHandling ()
 Determines a way of handling externally loaded fonts. Read SvgExternalFontsHandling. More...
 
void set_ExternalFontsHandling (SvgExternalFontsHandling value)
 Determines a way of handling externally loaded fonts. Write SvgExternalFontsHandling. More...
 
 SVGOptions ()
 Initializes a new instance of the SVGOptions class. More...
 
 SVGOptions (System::SharedPtr< ILinkEmbedController > linkEmbedController)
 Initializes a new instance of the SVGOptions class specifying the link embedding controller object. More...
 
- Public Member Functions inherited from Aspose::Slides::Export::SaveOptions
System::SharedPtr< Aspose::Slides::Warnings::IWarningCallbackget_WarningCallback ()
 Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read IWarningCallback. More...
 
void set_WarningCallback (System::SharedPtr< Aspose::Slides::Warnings::IWarningCallback > value)
 Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Write IWarningCallback. More...
 
System::SharedPtr< IProgressCallbackget_ProgressCallback ()
 Represents a callback object for saving progress updates in percentage. See IProgressCallback. More...
 
void set_ProgressCallback (System::SharedPtr< IProgressCallback > value)
 Represents a callback object for saving progress updates in percentage. See IProgressCallback. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static System::SharedPtr< SVGOptionsget_Default ()
 Returns default settings. Read-only SVGOptions. More...
 
static System::SharedPtr< SVGOptionsget_Simple ()
 Returns settings for simpliest and smallest SVG file generation. Read-only SVGOptions. More...
 
static System::SharedPtr< SVGOptionsget_WYSIWYG ()
 Returns settings for most accurate SVG file generation. Read-only SVGOptions. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Protected Member Functions

System::SharedPtr< FontHandlingRulesCollection > get_FontHandlingRules ()
 Returns the FontHandlingRules collection. Read-only FontHandlingRulesCollection. More...
 
System::SharedPtr< ILinkEmbedControllerget_LinkEmbedController ()
 Gets a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources. Read-write ILinkEmbedController. More...
 
void set_LinkEmbedController (System::SharedPtr< ILinkEmbedController > value)
 Sets a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources. Read-write ILinkEmbedController. More...
 
System::SharedPtr< Aspose::Slides::Export::PicturesCompressionOptions > get_PicturesCompressionOptions ()
 
System::SharedPtr< ILinkEmbedControllerGetEffectiveLinkEmbedController ()
 
System::SharedPtr< ISVGOptionsClone ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 

Detailed Description

Represents an SVG options.

Constructor & Destructor Documentation

◆ SVGOptions() [1/2]

Aspose::Slides::Export::SVGOptions::SVGOptions ( )

Initializes a new instance of the SVGOptions class.

◆ SVGOptions() [2/2]

Aspose::Slides::Export::SVGOptions::SVGOptions ( System::SharedPtr< ILinkEmbedController linkEmbedController)

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

Parameters
linkEmbedControllerThe 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

Member Function Documentation

◆ Clone()

System::SharedPtr<ISVGOptions> Aspose::Slides::Export::SVGOptions::Clone ( )
protected

◆ get_Default()

static System::SharedPtr<SVGOptions> Aspose::Slides::Export::SVGOptions::get_Default ( )
static

Returns default settings. Read-only SVGOptions.

◆ get_DeletePicturesCroppedAreas()

bool Aspose::Slides::Export::SVGOptions::get_DeletePicturesCroppedAreas ( )
virtual

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)

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_Disable3DText()

bool Aspose::Slides::Export::SVGOptions::get_Disable3DText ( )
virtual

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

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_DisableGradientSplit()

bool Aspose::Slides::Export::SVGOptions::get_DisableGradientSplit ( )
virtual

Disables splitting FromCornerX and FromCenter gradients. Read bool.

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_DisableLineEndCropping()

bool Aspose::Slides::Export::SVGOptions::get_DisableLineEndCropping ( )
virtual

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 bool.

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_ExternalFontsHandling()

SvgExternalFontsHandling Aspose::Slides::Export::SVGOptions::get_ExternalFontsHandling ( )
virtual

Determines a way of handling externally loaded fonts. Read SvgExternalFontsHandling.

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_FontHandlingRules()

System::SharedPtr<FontHandlingRulesCollection> Aspose::Slides::Export::SVGOptions::get_FontHandlingRules ( )
protected

Returns the FontHandlingRules collection. Read-only FontHandlingRulesCollection.

◆ get_JpegQuality()

int32_t Aspose::Slides::Export::SVGOptions::get_JpegQuality ( )
virtual

Determines JPEG encoding quality. Read int32_t.

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_LinkEmbedController()

System::SharedPtr<ILinkEmbedController> Aspose::Slides::Export::SVGOptions::get_LinkEmbedController ( )
protected

Gets a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources. Read-write ILinkEmbedController.

◆ get_MetafileRasterizationDpi()

int32_t Aspose::Slides::Export::SVGOptions::get_MetafileRasterizationDpi ( )
virtual

Returns the lower resolution limit for metafile rasterization. Read int32_t.

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_PicturesCompression()

Aspose::Slides::Export::PicturesCompression Aspose::Slides::Export::SVGOptions::get_PicturesCompression ( )
virtual

Represents the pictures compression level

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_PicturesCompressionOptions()

System::SharedPtr<Aspose::Slides::Export::PicturesCompressionOptions> Aspose::Slides::Export::SVGOptions::get_PicturesCompressionOptions ( )
protected

◆ get_ShapeFormattingController()

System::SharedPtr<ISvgShapeFormattingController> Aspose::Slides::Export::SVGOptions::get_ShapeFormattingController ( )
virtual

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

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_Simple()

static System::SharedPtr<SVGOptions> Aspose::Slides::Export::SVGOptions::get_Simple ( )
static

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

◆ get_VectorizeText()

bool Aspose::Slides::Export::SVGOptions::get_VectorizeText ( )
virtual

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

Implements Aspose::Slides::Export::ISVGOptions.

◆ get_WYSIWYG()

static System::SharedPtr<SVGOptions> Aspose::Slides::Export::SVGOptions::get_WYSIWYG ( )
static

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

◆ GetEffectiveLinkEmbedController()

System::SharedPtr<ILinkEmbedController> Aspose::Slides::Export::SVGOptions::GetEffectiveLinkEmbedController ( )
protected

◆ set_DeletePicturesCroppedAreas()

void Aspose::Slides::Export::SVGOptions::set_DeletePicturesCroppedAreas ( bool  value)
virtual

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)

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_Disable3DText()

void Aspose::Slides::Export::SVGOptions::set_Disable3DText ( bool  value)
virtual

Determines whether the 3D text is disabled in SVG. Write bool.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_DisableGradientSplit()

void Aspose::Slides::Export::SVGOptions::set_DisableGradientSplit ( bool  value)
virtual

Disables splitting FromCornerX and FromCenter gradients. Write bool.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_DisableLineEndCropping()

void Aspose::Slides::Export::SVGOptions::set_DisableLineEndCropping ( bool  value)
virtual

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. Write bool.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_ExternalFontsHandling()

void Aspose::Slides::Export::SVGOptions::set_ExternalFontsHandling ( SvgExternalFontsHandling  value)
virtual

Determines a way of handling externally loaded fonts. Write SvgExternalFontsHandling.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_JpegQuality()

void Aspose::Slides::Export::SVGOptions::set_JpegQuality ( int32_t  value)
virtual

Determines JPEG encoding quality. Write int32_t.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_LinkEmbedController()

void Aspose::Slides::Export::SVGOptions::set_LinkEmbedController ( System::SharedPtr< ILinkEmbedController value)
protected

Sets a delegate object that is responsible for making decisions if resources (such as images) need to be embedded or referenced as external resources. Read-write ILinkEmbedController.

◆ set_MetafileRasterizationDpi()

void Aspose::Slides::Export::SVGOptions::set_MetafileRasterizationDpi ( int32_t  value)
virtual

Sets the lower resolution limit for metafile rasterization. Write int32_t.

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_PicturesCompression()

void Aspose::Slides::Export::SVGOptions::set_PicturesCompression ( Aspose::Slides::Export::PicturesCompression  value)
virtual

Represents the pictures compression level

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_ShapeFormattingController()

void Aspose::Slides::Export::SVGOptions::set_ShapeFormattingController ( System::SharedPtr< ISvgShapeFormattingController value)
virtual

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

Implements Aspose::Slides::Export::ISVGOptions.

◆ set_VectorizeText()

void Aspose::Slides::Export::SVGOptions::set_VectorizeText ( bool  value)
virtual

Determines whether the text on a slide will be saved as graphics. Write bool.

Implements Aspose::Slides::Export::ISVGOptions.