8 #include <system/array.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class MppOleObjectReader;
22 class MppOleObjectWriter;
23 class MppPdfOleObjectWriter;
38 class ASPOSE_TASKS_SHARED_CLASS
OleObject :
public System::Object
41 typedef System::Object BaseType;
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
46 friend class Aspose::Tasks::IO::MSProject::MppPdfOleObjectWriter;
47 friend class Aspose::Tasks::IO::MSProject::MppOleObjectReader;
48 friend class Aspose::Tasks::IO::MSProject::MppOleObjectWriter;
49 friend class Aspose::Tasks::IO::MSProject::MPPReader;
56 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
60 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
80 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<uint8_t>&
get_Content()
const;
84 ASPOSE_TASKS_SHARED_API
void set_Content(
const System::ArrayPtr<uint8_t>& value);
88 ASPOSE_TASKS_SHARED_API System::String
get_Label()
const;
92 ASPOSE_TASKS_SHARED_API
void set_Label(
const System::String& value);
100 ASPOSE_TASKS_SHARED_API
void set_FullPath(
const System::String& value);
124 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::View>
get_View()
const;
128 ASPOSE_TASKS_SHARED_API
void set_View(
const System::SharedPtr<Aspose::Tasks::View>& value);
132 ASPOSE_TASKS_SHARED_API int32_t
get_Id()
const;
136 ASPOSE_TASKS_SHARED_API
void set_Id(int32_t value);
148 ASPOSE_TASKS_SHARED_API System::String get_Link()
const;
152 ASPOSE_TASKS_SHARED_API
void set_Link(
const System::String& value);
156 ASPOSE_TASKS_SHARED_API int32_t get_ViewId()
const;
160 ASPOSE_TASKS_SHARED_API
void set_ViewId(int32_t value);
166 ASPOSE_TASKS_SHARED_API System::String GetMppFolderNameByLink();
167 #ifdef ASPOSE_GET_SHARED_MEMBERS
168 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
174 System::SharedPtr<Aspose::Tasks::View> view;
175 System::String pr_Name;
176 System::String pr_ApplicationName;
177 System::String pr_FileFormat;
178 System::ArrayPtr<uint8_t> pr_Content;
179 System::String pr_Label;
180 System::String pr_FullPath;
181 System::String pr_TemporaryFile;
182 bool pr_DisplayAsIcon;
184 System::String pr_Link;
Represents an OLE object which can be inserter into Gantt Chart View of an MPP file.
Definition: OleObject.h:39
void set_DisplayAsIcon(bool value)
Sets a flag indicating that OLE object should be shown either as an icon or as its regular picture.
void set_TemporaryFile(const System::String &value)
Sets the path to the temporary file of the inserted object.
void set_Name(const System::String &value)
Sets the name of the instance of the OLE object.
System::String get_FileFormat() const
Gets the file format of the embedded object.
System::SharedPtr< Aspose::Tasks::View > get_View() const
Gets the instance of the View class the inserted object belongs to.
void set_Id(int32_t value)
Sets the object id.
void set_View(const System::SharedPtr< Aspose::Tasks::View > &value)
Sets the instance of the View class the inserted object belongs to.
void set_FileFormat(const System::String &value)
Sets the file format of the embedded object.
System::String get_FullPath() const
Gets the full path of the inserted object.
bool get_DisplayAsIcon() const
Gets a flag indicating that OLE object should be shown either as an icon or as its regular picture.
int32_t get_Id() const
Gets the object id.
const System::ArrayPtr< uint8_t > & get_Content() const
Gets the embedded file's data; null if no data was embedded.
System::String get_Label() const
Gets the label of the inserted object.
void set_ApplicationName(const System::String &value)
Sets the application name to open the embedded object with.
void set_Content(const System::ArrayPtr< uint8_t > &value)
Sets the embedded file's data; null if no data was embedded.
System::String get_TemporaryFile() const
Gets the path to the temporary file of the inserted object.
void set_FullPath(const System::String &value)
Sets the full path of the inserted object.
OleObject()
Initializes a new instance of the OleObject class.
System::String get_ApplicationName() const
Gets the application name to open the embedded object with.
bool get_Linked()
Gets a value indicating whether the project file contains only a link to the actual data stored at th...
void set_Label(const System::String &value)
Sets the label of the inserted object.
System::String get_Name() const
Gets the name of the instance of the OLE object.