Aspose.Tasks for C++
Aspose::Tasks::LoadOptions Class Reference

Allows to specify additional load parameters when loading a project from file or stream. More...

#include <LoadOptions.h>

Inherits System::Object.

Public Member Functions

ParseErrorCallback get_ErrorHandler () const
 Gets a callback method to handle xml parse errors. More...
 
void set_ErrorHandler (ParseErrorCallback value)
 Sets a callback method to handle xml parse errors. More...
 
System::String get_Password () const
 Gets a protection password. More...
 
void set_Password (const System::String &value)
 Sets a protection password. More...
 
const System::SharedPtr< Aspose::Tasks::PrimaveraReadOptions > & get_PrimaveraReadOptions () const
 Gets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml). More...
 
void set_PrimaveraReadOptions (const System::SharedPtr< Aspose::Tasks::PrimaveraReadOptions > &value)
 Sets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml). More...
 
const System::SharedPtr< System::Text::Encoding > & get_Encoding () const
 Gets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8. More...
 
void set_Encoding (const System::SharedPtr< System::Text::Encoding > &value)
 Sets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8. More...
 
 LoadOptions ()
 Initializes a new instance of the LoadOptions class. More...
 

Detailed Description

Allows to specify additional load parameters when loading a project from file or stream.

Constructor & Destructor Documentation

◆ LoadOptions()

Aspose::Tasks::LoadOptions::LoadOptions ( )

Initializes a new instance of the LoadOptions class.

Member Function Documentation

◆ get_Encoding()

const System::SharedPtr<System::Text::Encoding>& Aspose::Tasks::LoadOptions::get_Encoding ( ) const

Gets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8.

◆ get_ErrorHandler()

ParseErrorCallback Aspose::Tasks::LoadOptions::get_ErrorHandler ( ) const

Gets a callback method to handle xml parse errors.

◆ get_Password()

System::String Aspose::Tasks::LoadOptions::get_Password ( ) const

Gets a protection password.

◆ get_PrimaveraReadOptions()

const System::SharedPtr<Aspose::Tasks::PrimaveraReadOptions>& Aspose::Tasks::LoadOptions::get_PrimaveraReadOptions ( ) const

Gets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml).

◆ set_Encoding()

void Aspose::Tasks::LoadOptions::set_Encoding ( const System::SharedPtr< System::Text::Encoding > &  value)

Sets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8.

◆ set_ErrorHandler()

void Aspose::Tasks::LoadOptions::set_ErrorHandler ( ParseErrorCallback  value)

Sets a callback method to handle xml parse errors.

◆ set_Password()

void Aspose::Tasks::LoadOptions::set_Password ( const System::String &  value)

Sets a protection password.

◆ set_PrimaveraReadOptions()

void Aspose::Tasks::LoadOptions::set_PrimaveraReadOptions ( const System::SharedPtr< Aspose::Tasks::PrimaveraReadOptions > &  value)

Sets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml).