8 #include <system/string.h>
9 #include <system/nullable.h>
10 #include <drawing/color.h>
13 #include "aspose.tasks.cpp/Visualization/View/Styles/TaskBarTextConverter.h"
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
25 class MPP14GanttBarStyleReader;
26 class MPP14GanttBarStyleWriter;
27 class MPP9GanttBarStyleReader;
28 class MPP9GanttBarStyleWriter;
32 namespace Visualization
34 class ApsGanttChartLayoutBuilder;
37 enum class GanttBarEndShape;
38 enum class GanttBarFillPattern;
39 enum class GanttBarMiddleShape;
40 enum class GanttBarShowFor;
41 enum class GanttBarType;
42 class GanttChartBarStylesManager;
53 template <
typename,
typename>
class Dictionary;
54 template <
typename>
class IList;
63 namespace Visualization {
71 typedef System::Object BaseType;
73 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
74 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
76 friend class Aspose::Tasks::IO::MSProject::MPP14GanttBarStyleReader;
77 friend class Aspose::Tasks::IO::MSProject::MPP9GanttBarStyleReader;
78 friend class Aspose::Tasks::IO::MSProject::MPP14GanttBarStyleWriter;
79 friend class Aspose::Tasks::IO::MSProject::MPP9GanttBarStyleWriter;
80 friend class Aspose::Tasks::Visualization::GanttChartBarStylesManager;
81 friend class Aspose::Tasks::Visualization::ApsGanttChartLayoutBuilder;
130 ASPOSE_TASKS_SHARED_API
void set_From(Field value);
178 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
182 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
247 ASPOSE_TASKS_SHARED_API int32_t
get_Row()
const;
252 ASPOSE_TASKS_SHARED_API
void set_Row(int32_t value);
257 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>>&
get_ShowForCategories()
const;
262 ASPOSE_TASKS_SHARED_API
void set_ShowForCategories(
const System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>>& value);
298 ASPOSE_TASKS_SHARED_API Field
get_To()
const;
302 ASPOSE_TASKS_SHARED_API
void set_To(Field value);
326 ASPOSE_TASKS_SHARED_API
void set_ParentStyle(
const System::SharedPtr<GanttBarStyle>& value);
336 ASPOSE_TASKS_SHARED_API System::Nullable<int16_t> get_Id()
const;
337 ASPOSE_TASKS_SHARED_API
void set_Id(System::Nullable<int16_t> value);
343 ASPOSE_TASKS_SHARED_API
GanttBarStyle(
const System::SharedPtr<GanttBarStyle>& that);
345 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
GanttBarStyle, CODEPORTING_ARGS(
const System::SharedPtr<GanttBarStyle>& that));
346 ASPOSE_TASKS_SHARED_API
bool IsShownFor(
const System::String& taskType);
347 ASPOSE_TASKS_SHARED_API System::SharedPtr<BarStyle> ToBarStyle();
348 #ifdef ASPOSE_GET_SHARED_MEMBERS
349 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
355 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarEndShape, Shape>>& EndShapesTableInternal();
356 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarMiddleShape, BarShape>>& MiddleShapesTableInternal();
359 System::SharedPtr<GanttBarStyle> parentStyle;
360 Field pr_BottomField;
361 GanttBarEndShape pr_EndShape;
362 System::Drawing::Color pr_EndShapeColor;
363 GanttBarType pr_EndShapeType;
365 Field pr_InsideField;
367 GanttBarFillPattern pr_MiddleFillPattern;
368 GanttBarMiddleShape pr_MiddleShape;
369 System::Drawing::Color pr_MiddleShapeColor;
370 System::String pr_Name;
372 TaskBarTextConverter pr_LeftBarTextConverter;
373 TaskBarTextConverter pr_TopBarTextConverter;
374 TaskBarTextConverter pr_RightBarTextConverter;
375 TaskBarTextConverter pr_BottomBarTextConverter;
376 TaskBarTextConverter pr_InsideBarTextConverter;
377 System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>> pr_ShowForCategories;
378 System::Nullable<int32_t> pr_ShowForTaskUid;
379 GanttBarEndShape pr_StartShape;
380 System::Drawing::Color pr_StartShapeColor;
381 GanttBarType pr_StartShapeType;
384 System::Nullable<int16_t> pr_Id;
386 System::String get_DebuggerDisplay();
387 bool get_IsParentStyle();
389 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarEndShape, Shape>> InitEndShapesTable();
390 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarMiddleShape, BarShape>> InitMiddleShapesTable();
Represents a bar style used by MSP in Gantt Chart view.
Definition: GanttBarStyle.h:69
void set_ShowForCategories(const System::SharedPtr< System::Collections::Generic::IList< GanttBarShowFor >> &value)
Sets task categories for which the style is applied. Is applicable for parent (or common) styles of b...
void set_InsideBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render inside of the task's bar. Overrides the value of In...
void set_Row(int32_t value)
Sets a row number.
void set_ParentStyle(const System::SharedPtr< GanttBarStyle > &value)
Sets parent (or common) style for custom task-specific style.
GanttBarEndShape get_EndShape() const
Gets an end shape of the bar.
TaskBarTextConverter get_TopBarTextConverter() const
Gets user-defined converter to get text to render on the top of the task's bar. Overrides the value o...
Field get_InsideField() const
Gets data to be displayed inside of the bar. Field.
Field get_LeftField() const
Gets data to be displayed on the left of the bar. Field.
System::Drawing::Color get_MiddleShapeColor() const
Gets a color of the middle shape.
GanttBarStyle()
Initializes a new instance of the GanttBarStyle class.
void set_LeftField(Field value)
Sets data to be displayed on the left of the bar. Field.
System::String get_Name() const
Gets a name of the style.
GanttBarFillPattern get_MiddleFillPattern() const
Gets a fill pattern of the gantt bar.
const System::SharedPtr< System::Collections::Generic::IList< GanttBarShowFor > > & get_ShowForCategories() const
Gets task categories for which the style is applied. Is applicable for parent (or common) styles of b...
void set_StartShape(GanttBarEndShape value)
Sets a start shape of the bar.
System::SharedPtr< GanttBarStyle > get_ParentStyle() const
Gets parent (or common) style for custom task-specific style.
System::Nullable< int32_t > get_ShowForTaskUid() const
Gets Unique Id of a task for which the style is applied. Is applicable for task-specific styles of ba...
System::Drawing::Color get_EndShapeColor() const
Gets a color of the end shape.
TaskBarTextConverter get_BottomBarTextConverter() const
Gets user-defined converter to get text to render on the bottom of the task's bar....
TaskBarTextConverter get_RightBarTextConverter() const
Gets user-defined converter to get text to render on the right of the task's bar. Overrides the value...
GanttBarMiddleShape get_MiddleShape() const
Gets a middle shape of the bar.
Field get_To() const
Gets a finish point position of the gantt bar.
void set_ShowForTaskUid(System::Nullable< int32_t > value)
Sets Unique Id of a task for which the style is applied. Is applicable for task-specific styles of ba...
GanttBarEndShape get_StartShape() const
Gets a start shape of the bar.
void set_EndShapeColor(System::Drawing::Color value)
Sets a color of the end shape.
int32_t get_Row() const
Gets a row number.
void set_To(Field value)
Sets a finish point position of the gantt bar.
GanttBarType get_EndShapeType() const
Gets a type of the end shape. GanttBarType.
void set_MiddleFillPattern(GanttBarFillPattern value)
Sets a fill pattern of the gantt bar.
void set_TopBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the top of the task's bar. Overrides the value o...
Field get_RightField() const
Gets data to be displayed on the right of the bar. Field.
Field get_TopField() const
Gets data to be displayed on the top of the bar.
void set_Name(const System::String &value)
Sets a name of the style.
void set_EndShape(GanttBarEndShape value)
Sets an end shape of the bar.
void set_From(Field value)
Sets a start point position of the gantt bar. Field.
System::Drawing::Color get_StartShapeColor() const
Gets a color of the start shape.
void set_TopField(Field value)
Sets data to be displayed on the top of the bar.
Field get_BottomField() const
Gets data to be displayed on the bottom of the bar. Field.
Field get_From() const
Gets a start point position of the gantt bar. Field.
void set_EndShapeType(GanttBarType value)
Sets a type of the end shape. GanttBarType.
TaskBarTextConverter get_InsideBarTextConverter() const
Gets user-defined converter to get text to render inside of the task's bar. Overrides the value of In...
void set_StartShapeType(GanttBarType value)
Sets a type of the start shape.
void set_BottomField(Field value)
Sets data to be displayed on the bottom of the bar. Field.
void set_InsideField(Field value)
Sets data to be displayed inside of the bar. Field.
void set_MiddleShape(GanttBarMiddleShape value)
Sets a middle shape of the bar.
GanttBarType get_StartShapeType() const
Gets a type of the start shape.
void set_StartShapeColor(System::Drawing::Color value)
Sets a color of the start shape.
void set_LeftBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the left of the task's bar. Overrides the value ...
void set_BottomBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the bottom of the task's bar....
void set_MiddleShapeColor(System::Drawing::Color value)
Sets a color of the middle shape.
void set_RightBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the right of the task's bar. Overrides the value...
TaskBarTextConverter get_LeftBarTextConverter() const
Gets user-defined converter to get text to render on the left of the task's bar. Overrides the value ...
void set_RightField(Field value)
Sets data to be displayed on the right of the bar. Field.