8 #include <system/object.h>
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 class ResourceAssignment;
24 namespace Visualization
26 class ApsGanttChartLayoutBuilder;
27 class ApsTaskSheetBuilder;
28 class ApsTaskUsageBuilder;
29 class GanttChartColumn;
30 class ResourceViewColumn;
41 template <
typename>
class IEnumerable;
42 template <
typename>
class List;
52 namespace Visualization {
57 class ASPOSE_TASKS_SHARED_CLASS
ProjectView :
public System::Object
60 typedef System::Object BaseType;
62 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
63 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
66 friend class Aspose::Tasks::Visualization::ApsGanttChartLayoutBuilder;
67 friend class Aspose::Tasks::Visualization::ApsTaskSheetBuilder;
68 friend class Aspose::Tasks::Visualization::ApsTaskUsageBuilder;
75 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ViewColumn>>>&
get_Columns()
const;
81 ASPOSE_TASKS_SHARED_API
ProjectView(
const System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<ViewColumn>>>& columns);
112 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> FromView(
const System::SharedPtr<Project>& project,
const System::SharedPtr<View>& view);
113 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetGanttChartView(
const System::SharedPtr<Aspose::Tasks::Saving::SaveOptions>& options);
114 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetDefaultGanttChartView(
const System::SharedPtr<Project>& project);
115 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetDefaultTaskSheetView(
const System::SharedPtr<Project>& project);
116 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetDefaultResourceSheetView(
const System::SharedPtr<Project>& project);
117 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetDefaultResourceUsageView(
const System::SharedPtr<Project>& project);
118 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ProjectView> GetDefaultTaskUsageView(
const System::SharedPtr<Project>& project);
119 #ifdef ASPOSE_GET_SHARED_MEMBERS
120 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
126 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ViewColumn>>> pr_Columns;
131 ASPOSE_TASKS_SHARED_API
void set_Columns(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ViewColumn>>>& value);
133 static System::SharedPtr<ProjectView> GetTaskChartFromView(
const System::SharedPtr<Project>& project,
const System::SharedPtr<View>& taskView);
134 static System::SharedPtr<ProjectView> GetResourceViewFromView(
const System::SharedPtr<Project>& project,
const System::SharedPtr<View>& resourceView);
139 static System::SharedPtr<ProjectView> GetDefaultTaskUsageView();
140 static System::SharedPtr<GanttChartColumn> GetTaskIndicatorsColumn();
141 static System::SharedPtr<ResourceViewColumn> GetRscIndicatorsColumn();
142 static System::String GetTableFieldTitle(
const System::SharedPtr<Project>& project,
const System::SharedPtr<TableField>& tableField);
143 static System::String AssnUid(
const System::SharedPtr<ResourceAssignment>& assn);
144 static System::String AssnTaskName(
const System::SharedPtr<ResourceAssignment>& assn);
145 static System::String AssnRscName(
const System::SharedPtr<ResourceAssignment>& assn);
146 static System::String AssnWork(
const System::SharedPtr<ResourceAssignment>& assn);
147 static System::String AssnDuration(
const System::SharedPtr<ResourceAssignment>& assn);
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95
Project's view class
Definition: ProjectView.h:58
static System::SharedPtr< ProjectView > GetDefaultResourceUsageView()
Includes Uid, name, start, finish and work resource columns.
static System::SharedPtr< ProjectView > GetDefaultGanttChartView()
Includes id, indicators, name, duration, start and finish task columns.
static System::SharedPtr< ProjectView > GetDefaultAssignmentView()
Includes Uid, task name, resource name, work and duration assignment columns.
static System::SharedPtr< ProjectView > GetDefaultTaskSheetView()
Includes id, indicators, name, duration, start, finish, predecessors and resource names task columns.
ProjectView(const System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< ViewColumn >>> &columns)
Initializes a new instance of the ProjectView class.
static System::SharedPtr< ProjectView > GetDefaultResourceSheetView()
Includes Uid, resource name, type, material label, initials, group, max units, standard rate,...
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< ViewColumn > > > & get_Columns() const
Gets the project view columns.