8 #include <system/string.h>
9 #include <system/icomparable.h>
10 #include <system/guid.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
27 class MPP12ViewReader;
28 class Mpp12ViewWriter;
31 class MppFolderBinaryStructure;
32 class MPPGanttBarStyleWriter;
33 class MppOleObjectWriter;
34 class MppSavedViewStateWriter;
35 class MppViewPropsInitializer;
38 class MppVisualObjectPlacementReader;
39 class TimelineViewWriter;
42 class MppVisualObjectPlacementWriter;
51 class ProjectViewsMapper;
59 class ResourceUsageView;
62 class LayoutBuilderFactory;
70 enum class ViewScreen;
71 namespace Visualization
73 template <
typename>
class ApsBaseChartBuilder;
76 class VisualObjectPlacement;
86 template <
typename>
class IEnumerable;
87 template <
typename>
class List;
99 class ASPOSE_TASKS_SHARED_CLASS
View :
public System::IComparable<System::SharedPtr<Aspose::Tasks::View>>
102 typedef System::IComparable<System::SharedPtr<Aspose::Tasks::View>> BaseType;
104 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
105 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
107 friend class Aspose::Tasks::IO::MSProject::MppVisualObjectPlacementReader;
108 friend class Aspose::Tasks::IO::MSProject::Writers::MppVisualObjectPlacementWriter;
109 friend class Aspose::Tasks::IO::MSProject::MppViewPropsInitializer;
110 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectViewsMapper;
112 friend class Aspose::Tasks::IO::MSProject::MppOleObjectWriter;
114 friend class Aspose::Tasks::IO::MSProject::MPP12Reader;
115 friend class Aspose::Tasks::IO::MSProject::MPP14Reader;
116 friend class Aspose::Tasks::IO::MSProject::MPP9Reader;
117 friend class Aspose::Tasks::IO::MSProject::MPP12ViewReader;
118 friend class Aspose::Tasks::IO::MSProject::MPPViewReader;
119 friend class Aspose::Tasks::IO::MSProject::MppSavedViewStateWriter;
120 friend class Aspose::Tasks::IO::MSProject::Mpp12ViewWriter;
121 friend class Aspose::Tasks::IO::MSProject::MppViewWriter;
122 friend class Aspose::Tasks::IO::MSProject::MPPGanttBarStyleWriter;
123 friend class Aspose::Tasks::IO::MSProject::TimelineViewWriter;
128 friend class Aspose::Tasks::Saving::LayoutBuilderFactory;
132 template<
typename FT0>
friend class Aspose::Tasks::Visualization::ApsBaseChartBuilder;
134 friend ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
135 friend ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
136 friend ASPOSE_TASKS_SHARED_API
bool operator <(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
137 friend ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
138 friend ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
139 friend ASPOSE_TASKS_SHARED_API
bool operator <=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
146 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Filter>
get_Filter();
150 ASPOSE_TASKS_SHARED_API
void set_Filter(
const System::SharedPtr<Aspose::Tasks::Filter>& value);
154 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Group>
get_Group();
158 ASPOSE_TASKS_SHARED_API
void set_Group(
const System::SharedPtr<Aspose::Tasks::Group>& value);
162 ASPOSE_TASKS_SHARED_API int32_t
get_Uid()
const;
174 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
178 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
192 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Table>
get_Table();
196 ASPOSE_TASKS_SHARED_API
void set_Table(
const System::SharedPtr<Aspose::Tasks::Table>& value);
213 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Visualization::PageInfo>
get_PageInfo()
const;
217 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Visualization::VisualObjectPlacement>>>
get_VisualObjectsPlacements();
222 ASPOSE_TASKS_SHARED_API
View();
227 ASPOSE_TASKS_SHARED_API
View(ViewScreen viewScreen);
234 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
247 ASPOSE_TASKS_SHARED_API int32_t
CompareTo(System::SharedPtr<View> other)
override;
254 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
259 ASPOSE_TASKS_SHARED_API
void set_Screen(ViewScreen value);
264 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
269 ASPOSE_TASKS_SHARED_API
void set_Type(ItemType value);
270 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>>& get_VisualObjectsPlacementsInternal()
const;
271 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>>& get_VisualObjectsPlacementsDrawingObjects()
const;
272 ASPOSE_TASKS_SHARED_API System::Guid get_Guid()
const;
273 ASPOSE_TASKS_SHARED_API
void set_Guid(System::Guid value);
277 ASPOSE_TASKS_SHARED_API int16_t get_ChartXPosition()
const;
281 ASPOSE_TASKS_SHARED_API
void set_ChartXPosition(int16_t value);
282 ASPOSE_TASKS_SHARED_API System::String get_DefaultTableName()
const;
283 ASPOSE_TASKS_SHARED_API
void set_DefaultTableName(
const System::String& value);
284 ASPOSE_TASKS_SHARED_API System::String get_DefaultFilterName()
const;
285 ASPOSE_TASKS_SHARED_API
void set_DefaultFilterName(
const System::String& value);
286 ASPOSE_TASKS_SHARED_API System::String get_DefaultGroupName()
const;
287 ASPOSE_TASKS_SHARED_API
void set_DefaultGroupName(
const System::String& value);
291 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<IO::MSProject::MppFolderBinaryStructure>& get_BinaryStruct()
const;
295 ASPOSE_TASKS_SHARED_API
void set_BinaryStruct(
const System::SharedPtr<IO::MSProject::MppFolderBinaryStructure>& value);
297 ASPOSE_TASKS_SHARED_API
View(int32_t uid);
299 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
View, CODEPORTING_ARGS(int32_t uid));
300 #ifdef ASPOSE_GET_SHARED_MEMBERS
301 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
307 System::SharedPtr<Aspose::Tasks::Visualization::PageInfo> pageInfo;
309 System::SharedPtr<Aspose::Tasks::Filter> filter;
310 System::SharedPtr<Aspose::Tasks::Table> table;
311 System::SharedPtr<Aspose::Tasks::Group> group;
312 System::String defaultTableName;
313 bool pr_HighlightFilter;
314 System::String pr_Name;
315 ViewScreen pr_Screen;
316 System::WeakPtr<Project> pr_ParentProject;
319 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>> pr_VisualObjectsPlacementsInternal;
321 ASPOSE_TASKS_SHARED_API
void set_VisualObjectsPlacementsInternal(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>>& value);
323 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>> pr_VisualObjectsPlacementsDrawingObjects;
325 ASPOSE_TASKS_SHARED_API
void set_VisualObjectsPlacementsDrawingObjects(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::VisualObjectPlacement>>>& value);
327 System::Guid pr_Guid;
328 int16_t pr_ChartXPosition;
329 System::String pr_DefaultFilterName;
330 System::String pr_DefaultGroupName;
331 System::SharedPtr<IO::MSProject::MppFolderBinaryStructure> pr_BinaryStruct;
333 System::String get_DebuggerDisplay();
337 ASPOSE_TASKS_SHARED_API
bool operator ==(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
338 ASPOSE_TASKS_SHARED_API
bool operator !=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
339 ASPOSE_TASKS_SHARED_API
bool operator <(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
340 ASPOSE_TASKS_SHARED_API
bool operator >(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
341 ASPOSE_TASKS_SHARED_API
bool operator >=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
342 ASPOSE_TASKS_SHARED_API
bool operator <=(
const System::SharedPtr<View>& a,
const System::SharedPtr<View>& b);
Represents a GanttChart view.
Definition: GanttChartView.h:70
Represents an OLE object which can be inserter into Gantt Chart View of an MPP file.
Definition: OleObject.h:39
Represents a project.
Definition: Project.h:552
Represents resource usage view in a project.
Definition: ResourceUsageView.h:45
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95
Represents task usage view in a project.
Definition: TaskUsageView.h:44
Represents a timeline view of a project.
Definition: TimelineView.h:52
Represent a usage view in a project.
Definition: UsageView.h:37
Contains a list of View objects. Implements ICollection<View> interface.
Definition: ViewCollection.h:53
Represents a view in Project.
Definition: View.h:100
ItemType get_Type() const
Gets the type of item in the single view, such as tasks or resources. Read-only ItemType.
System::SharedPtr< Aspose::Tasks::Table > get_Table()
Gets a table of the single view.
void set_Filter(const System::SharedPtr< Aspose::Tasks::Filter > &value)
Sets a filter used in a single view.
int32_t CompareTo(System::SharedPtr< View > other) override
Compares the current instance with another object of the same type and returns an integer that indica...
System::String get_Name() const
Gets the name of a View object.
System::SharedPtr< Aspose::Tasks::Filter > get_Filter()
Gets a filter used in a single view.
void set_Name(const System::String &value)
Sets the name of a View object.
bool get_HighlightFilter() const
Gets a value indicating whether Microsoft Project highlights the filter for a single view.
int32_t get_Uid() const
Gets the unique identifier of a view.
void set_Table(const System::SharedPtr< Aspose::Tasks::Table > &value)
Sets a table of the single view.
const System::SharedPtr< Project > & get_ParentProject() const
Gets the parent of the View object. Read-only Project.
int32_t GetHashCode() const override
Returns a hash code value for the instance of the Resource class.
void set_Group(const System::SharedPtr< Aspose::Tasks::Group > &value)
Sets a group of the single view.
View(ViewScreen viewScreen)
Initializes a new instance of the View class.
ViewScreen get_Screen() const
Gets the screen type for the single view. Read-only ViewScreen.
void set_ShowInMenu(bool value)
Sets a value indicating whether Microsoft Project shows the single view name in the View or the Other...
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to a specified object.
View()
Initializes a new instance of the View class.
bool get_ShowInMenu() const
Gets a value indicating whether Microsoft Project shows the single view name in the View or the Other...
void set_HighlightFilter(bool value)
Sets a value indicating whether Microsoft Project highlights the filter for a single view.
System::SharedPtr< Aspose::Tasks::Group > get_Group()
Gets a group of the single view.
System::SharedPtr< Aspose::Tasks::Visualization::PageInfo > get_PageInfo() const
Gets an instance of the PageInfo class. Represents page setup data which is present in mpp file forma...
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Visualization::VisualObjectPlacement > > > get_VisualObjectsPlacements()
Gets a collection of objects representing placement and appearance of OleObject in the view.
Project's view class
Definition: ProjectView.h:58