Provides data for the ResourceLoading() method.
Shows how to customize the process of loading external resources into a document.
#include <Aspose.Words.Cpp/Loading/ResourceLoadingArgs.h>
Public Member Functions | |
String | get_OriginalUri () const |
Original URI of the resource as specified in imported document. More... | |
ResourceType | get_ResourceType () const |
Type of resource. More... | |
String | get_Uri () const |
URI of the resource which is used for downloading if ResourceLoading() returns Default. Initially it's set to absolute URI of the resource, but user can redefine it to any value. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_Uri (String value) |
Setter for get_Uri. More... | |
void | SetData (ArrayPtr< uint8_t > data) |
Sets user provided data of the resource which is used if ResourceLoading() returns UserProvided. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
System::String Aspose::Words::Loading::ResourceLoadingArgs::get_OriginalUri | ( | ) | const |
Original URI of the resource as specified in imported document.
Shows how to customize the process of loading external resources into a document.
Aspose::Words::Loading::ResourceType Aspose::Words::Loading::ResourceLoadingArgs::get_ResourceType | ( | ) | const |
Type of resource.
Shows how to customize the process of loading external resources into a document.
System::String Aspose::Words::Loading::ResourceLoadingArgs::get_Uri | ( | ) | const |
URI of the resource which is used for downloading if ResourceLoading() returns Default. Initially it's set to absolute URI of the resource, but user can redefine it to any value.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Loading::ResourceLoadingArgs::set_Uri | ( | System::String | value | ) |
void Aspose::Words::Loading::ResourceLoadingArgs::SetData | ( | System::ArrayPtr< uint8_t > | data | ) |
Sets user provided data of the resource which is used if ResourceLoading() returns UserProvided.
Shows how to customize the process of loading external resources into a document.
|
static |