Aspose::Slides::ILoadOptions Class Referenceabstract

Allows to specify additional options (such as format or default font) when loading a presentation. More...

Inherits System::Object.

Inherited by Aspose::Slides::LoadOptions.

Public Member Functions

virtual Aspose::Slides::LoadFormat get_LoadFormat ()=0
 Returns format of a presentation to load. Read Slides::LoadFormat. More...
 
virtual void set_LoadFormat (Aspose::Slides::LoadFormat value)=0
 Sets format of a presentation to load. Write Slides::LoadFormat. More...
 
virtual System::String get_DefaultRegularFont ()=0
 Returns Regular font used in case source font is not found. Read-write System::String. More...
 
virtual void set_DefaultRegularFont (System::String value)=0
 Sets Regular font used in case source font is not found. Read-write System::String. More...
 
virtual System::String get_DefaultSymbolFont ()=0
 Returns Symbol font used in case source font is not found. Read-write System::String. More...
 
virtual void set_DefaultSymbolFont (System::String value)=0
 Sets Symbol font used in case source font is not found. Read-write System::String. More...
 
virtual System::String get_DefaultAsianFont ()=0
 Returns Asian font used in case source font is not found. Read-write System::String. More...
 
virtual void set_DefaultAsianFont (System::String value)=0
 Sets Asian font used in case source font is not found. Read-write System::String. More...
 
virtual System::String get_Password ()=0
 Gets the password. Read-write System::String. More...
 
virtual void set_Password (System::String value)=0
 Sets the password. Read-write System::String. More...
 
virtual bool get_OnlyLoadDocumentProperties ()=0
 This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write bool. More...
 
virtual void set_OnlyLoadDocumentProperties (bool value)=0
 This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write bool. More...
 
virtual System::SharedPtr< Warnings::IWarningCallbackget_WarningCallback ()=0
 Returns an object which receives warnings and decides whether loading process will continue or will be aborted. Read IWarningCallback. More...
 
virtual void set_WarningCallback (System::SharedPtr< Warnings::IWarningCallback > value)=0
 Sets an object which receives warnings and decides whether loading process will continue or will be aborted. Write IWarningCallback. More...
 
virtual System::SharedPtr< IBlobManagementOptionsget_BlobManagementOptions ()=0
 Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a perticular environment or requirements. More...
 
virtual void set_BlobManagementOptions (System::SharedPtr< IBlobManagementOptions > value)=0
 Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a perticular environment or requirements. More...
 
virtual System::SharedPtr< IFontSourcesget_DocumentLevelFontSources ()=0
 Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations More...
 
virtual void set_DocumentLevelFontSources (System::SharedPtr< IFontSources > value)=0
 Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations More...
 
virtual System::SharedPtr< IInterruptionTokenget_InterruptionToken ()=0
 The token to monitor for interruption requests. More...
 
virtual void set_InterruptionToken (System::SharedPtr< IInterruptionToken > value)=0
 The token to monitor for interruption requests. More...
 
virtual System::SharedPtr< IResourceLoadingCallbackget_ResourceLoadingCallback ()=0
 Returns callback interface which manages external resources loading. Read IResourceLoadingCallback. More...
 
virtual void set_ResourceLoadingCallback (System::SharedPtr< IResourceLoadingCallback > value)=0
 Sets callback interface which manages external resources loading. Write IResourceLoadingCallback. 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)
 

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

Detailed Description

Allows to specify additional options (such as format or default font) when loading a presentation.

Member Function Documentation

◆ get_BlobManagementOptions()

virtual System::SharedPtr<IBlobManagementOptions> Aspose::Slides::ILoadOptions::get_BlobManagementOptions ( )
pure virtual

Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a perticular environment or requirements.

A Binary Large Object (BLOB) is a binary data stored as a single entity - i.e. BLOB can be an audio, video or presentation itself.

Implemented in Aspose::Slides::LoadOptions.

◆ get_DefaultAsianFont()

virtual System::String Aspose::Slides::ILoadOptions::get_DefaultAsianFont ( )
pure virtual

Returns Asian font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ get_DefaultRegularFont()

virtual System::String Aspose::Slides::ILoadOptions::get_DefaultRegularFont ( )
pure virtual

Returns Regular font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ get_DefaultSymbolFont()

virtual System::String Aspose::Slides::ILoadOptions::get_DefaultSymbolFont ( )
pure virtual

Returns Symbol font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ get_DocumentLevelFontSources()

virtual System::SharedPtr<IFontSources> Aspose::Slides::ILoadOptions::get_DocumentLevelFontSources ( )
pure virtual

Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations

Implemented in Aspose::Slides::LoadOptions.

◆ get_InterruptionToken()

virtual System::SharedPtr<IInterruptionToken> Aspose::Slides::ILoadOptions::get_InterruptionToken ( )
pure virtual

The token to monitor for interruption requests.

This token manages the whole IPresentation instance lifetime. Any long-running operation, such as presentaion loading or saving, will be interrupted via calling of the IInterruptionTokenSource::Interrupt method of the IInterruptionTokenSource.

Implemented in Aspose::Slides::LoadOptions.

◆ get_LoadFormat()

virtual Aspose::Slides::LoadFormat Aspose::Slides::ILoadOptions::get_LoadFormat ( )
pure virtual

Returns format of a presentation to load. Read Slides::LoadFormat.

Implemented in Aspose::Slides::LoadOptions.

◆ get_OnlyLoadDocumentProperties()

virtual bool Aspose::Slides::ILoadOptions::get_OnlyLoadDocumentProperties ( )
pure virtual

This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write bool.

Implemented in Aspose::Slides::LoadOptions.

◆ get_Password()

virtual System::String Aspose::Slides::ILoadOptions::get_Password ( )
pure virtual

Gets the password. Read-write System::String.

The password.

Implemented in Aspose::Slides::LoadOptions.

◆ get_ResourceLoadingCallback()

virtual System::SharedPtr<IResourceLoadingCallback> Aspose::Slides::ILoadOptions::get_ResourceLoadingCallback ( )
pure virtual

Returns callback interface which manages external resources loading. Read IResourceLoadingCallback.

Implemented in Aspose::Slides::LoadOptions.

◆ get_WarningCallback()

virtual System::SharedPtr<Warnings::IWarningCallback> Aspose::Slides::ILoadOptions::get_WarningCallback ( )
pure virtual

Returns an object which receives warnings and decides whether loading process will continue or will be aborted. Read IWarningCallback.

Implemented in Aspose::Slides::LoadOptions.

◆ set_BlobManagementOptions()

virtual void Aspose::Slides::ILoadOptions::set_BlobManagementOptions ( System::SharedPtr< IBlobManagementOptions value)
pure virtual

Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a perticular environment or requirements.

A Binary Large Object (BLOB) is a binary data stored as a single entity - i.e. BLOB can be an audio, video or presentation itself.

Implemented in Aspose::Slides::LoadOptions.

◆ set_DefaultAsianFont()

virtual void Aspose::Slides::ILoadOptions::set_DefaultAsianFont ( System::String  value)
pure virtual

Sets Asian font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ set_DefaultRegularFont()

virtual void Aspose::Slides::ILoadOptions::set_DefaultRegularFont ( System::String  value)
pure virtual

Sets Regular font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ set_DefaultSymbolFont()

virtual void Aspose::Slides::ILoadOptions::set_DefaultSymbolFont ( System::String  value)
pure virtual

Sets Symbol font used in case source font is not found. Read-write System::String.

Implemented in Aspose::Slides::LoadOptions.

◆ set_DocumentLevelFontSources()

virtual void Aspose::Slides::ILoadOptions::set_DocumentLevelFontSources ( System::SharedPtr< IFontSources value)
pure virtual

Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations

Implemented in Aspose::Slides::LoadOptions.

◆ set_InterruptionToken()

virtual void Aspose::Slides::ILoadOptions::set_InterruptionToken ( System::SharedPtr< IInterruptionToken value)
pure virtual

The token to monitor for interruption requests.

This token manages the whole IPresentation instance lifetime. Any long-running operation, such as presentaion loading or saving, will be interrupted via calling of the IInterruptionTokenSource::Interrupt method of the IInterruptionTokenSource.

Implemented in Aspose::Slides::LoadOptions.

◆ set_LoadFormat()

virtual void Aspose::Slides::ILoadOptions::set_LoadFormat ( Aspose::Slides::LoadFormat  value)
pure virtual

Sets format of a presentation to load. Write Slides::LoadFormat.

Implemented in Aspose::Slides::LoadOptions.

◆ set_OnlyLoadDocumentProperties()

virtual void Aspose::Slides::ILoadOptions::set_OnlyLoadDocumentProperties ( bool  value)
pure virtual

This property makes sense, if presentation file is password protected. Value of true means that only document properties must be loaded from an encrypted presentation file and password must be ignored. Value of false means that entire encrypted presentation must be loaded with use of right password. If presentation isn't encrypted then property value is always ignored. If document properties of an encrypted file aren't public and property value is true then document properties cannot be loaded and exception will be thrown. Read-write bool.

Implemented in Aspose::Slides::LoadOptions.

◆ set_Password()

virtual void Aspose::Slides::ILoadOptions::set_Password ( System::String  value)
pure virtual

Sets the password. Read-write System::String.

The password.

Implemented in Aspose::Slides::LoadOptions.

◆ set_ResourceLoadingCallback()

virtual void Aspose::Slides::ILoadOptions::set_ResourceLoadingCallback ( System::SharedPtr< IResourceLoadingCallback value)
pure virtual

Sets callback interface which manages external resources loading. Write IResourceLoadingCallback.

Implemented in Aspose::Slides::LoadOptions.

◆ set_WarningCallback()

virtual void Aspose::Slides::ILoadOptions::set_WarningCallback ( System::SharedPtr< Warnings::IWarningCallback value)
pure virtual

Sets an object which receives warnings and decides whether loading process will continue or will be aborted. Write IWarningCallback.

Implemented in Aspose::Slides::LoadOptions.