8 #include <system/string.h>
10 #include "aspose.tasks.cpp/IO/Xml/ParseErrorCallback.h"
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
24 class ICancellationTracker;
26 class PrimaveraBaseReader;
27 class PrimaveraReadOptions;
47 class ASPOSE_TASKS_SHARED_CLASS
LoadOptions :
public System::Object
50 typedef System::Object BaseType;
52 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
53 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
57 friend class Aspose::Tasks::ProjectReader;
76 ASPOSE_TASKS_SHARED_API
void set_Password(
const System::String& value);
89 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Text::Encoding>&
get_Encoding()
const;
94 ASPOSE_TASKS_SHARED_API
void set_Encoding(
const System::SharedPtr<System::Text::Encoding>& value);
106 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Aspose::LicenseV2::Venture::VentureLicense>& get_VentureLicense()
const;
110 ASPOSE_TASKS_SHARED_API
void set_VentureLicense(
const System::SharedPtr<Aspose::LicenseV2::Venture::VentureLicense>& value);
112 ASPOSE_TASKS_SHARED_API
LoadOptions(
const System::SharedPtr<Aspose::Tasks::PrimaveraReadOptions>& primaveraReadOptions);
114 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
LoadOptions, CODEPORTING_ARGS(
const System::SharedPtr<Aspose::Tasks::PrimaveraReadOptions>& primaveraReadOptions));
115 ASPOSE_TASKS_SHARED_API System::SharedPtr<ICancellationTracker> GetCancellationTracker();
116 #ifdef ASPOSE_GET_SHARED_MEMBERS
117 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
123 ParseErrorCallback pr_ErrorHandler;
124 System::String pr_Password;
125 System::SharedPtr<Aspose::Tasks::PrimaveraReadOptions> pr_PrimaveraReadOptions;
126 System::SharedPtr<System::Text::Encoding> pr_Encoding;
127 System::SharedPtr<Aspose::LicenseV2::Venture::VentureLicense> pr_VentureLicense;
Allows to specify additional load parameters when loading a project from file or stream.
Definition: LoadOptions.h:48
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...
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....
ParseErrorCallback get_ErrorHandler() const
Gets a callback method to handle xml parse errors.
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...
System::String get_Password() const
Gets a protection password.
void set_Password(const System::String &value)
Sets a protection password.
void set_ErrorHandler(ParseErrorCallback value)
Sets a callback method to handle xml parse errors.
LoadOptions()
Initializes a new instance of the LoadOptions class.
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....
Represents a base reader which can be used to read Project UIDs from multi project Primavera XER or X...
Definition: PrimaveraBaseReader.h:49
Represents a project.
Definition: Project.h:552