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
36 enum class GanttBarEndShape;
37 enum class GanttBarFillPattern;
38 enum class GanttBarMiddleShape;
39 enum class GanttBarShowFor;
40 enum class GanttBarType;
41 class GanttChartBarStylesManager;
52 template <
typename,
typename>
class Dictionary;
53 template <
typename>
class IList;
62 namespace Visualization {
70 typedef System::Object BaseType;
72 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
73 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
75 friend class Aspose::Tasks::IO::MSProject::MPP14GanttBarStyleReader;
76 friend class Aspose::Tasks::IO::MSProject::MPP9GanttBarStyleReader;
77 friend class Aspose::Tasks::IO::MSProject::MPP14GanttBarStyleWriter;
78 friend class Aspose::Tasks::IO::MSProject::MPP9GanttBarStyleWriter;
79 friend class Aspose::Tasks::Visualization::GanttChartBarStylesManager;
128 ASPOSE_TASKS_SHARED_API
void set_From(Field value);
176 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
180 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
245 ASPOSE_TASKS_SHARED_API int32_t
get_Row()
const;
250 ASPOSE_TASKS_SHARED_API
void set_Row(int32_t value);
255 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>>&
get_ShowForCategories()
const;
260 ASPOSE_TASKS_SHARED_API
void set_ShowForCategories(
const System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>>& value);
296 ASPOSE_TASKS_SHARED_API Field
get_To()
const;
300 ASPOSE_TASKS_SHARED_API
void set_To(Field value);
324 ASPOSE_TASKS_SHARED_API
void set_ParentStyle(
const System::SharedPtr<GanttBarStyle>& value);
334 ASPOSE_TASKS_SHARED_API System::Nullable<int16_t> get_Id()
const;
335 ASPOSE_TASKS_SHARED_API
void set_Id(System::Nullable<int16_t> value);
341 ASPOSE_TASKS_SHARED_API
GanttBarStyle(
const System::SharedPtr<GanttBarStyle>& that);
343 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
GanttBarStyle, CODEPORTING_ARGS(
const System::SharedPtr<GanttBarStyle>& that));
344 ASPOSE_TASKS_SHARED_API
bool IsShownFor(
const System::String& taskType);
345 ASPOSE_TASKS_SHARED_API System::SharedPtr<BarStyle> ToBarStyle();
346 #ifdef ASPOSE_GET_SHARED_MEMBERS
347 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
353 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarEndShape, Shape>>& EndShapesTableInternal();
354 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarMiddleShape, BarShape>>& MiddleShapesTableInternal();
357 System::SharedPtr<GanttBarStyle> parentStyle;
358 Field pr_BottomField;
359 GanttBarEndShape pr_EndShape;
360 System::Drawing::Color pr_EndShapeColor;
361 GanttBarType pr_EndShapeType;
363 Field pr_InsideField;
365 GanttBarFillPattern pr_MiddleFillPattern;
366 GanttBarMiddleShape pr_MiddleShape;
367 System::Drawing::Color pr_MiddleShapeColor;
368 System::String pr_Name;
370 TaskBarTextConverter pr_LeftBarTextConverter;
371 TaskBarTextConverter pr_TopBarTextConverter;
372 TaskBarTextConverter pr_RightBarTextConverter;
373 TaskBarTextConverter pr_BottomBarTextConverter;
374 TaskBarTextConverter pr_InsideBarTextConverter;
375 System::SharedPtr<System::Collections::Generic::IList<GanttBarShowFor>> pr_ShowForCategories;
376 System::Nullable<int32_t> pr_ShowForTaskUid;
377 GanttBarEndShape pr_StartShape;
378 System::Drawing::Color pr_StartShapeColor;
379 GanttBarType pr_StartShapeType;
382 System::Nullable<int16_t> pr_Id;
384 System::String get_DebuggerDisplay();
385 bool get_IsParentStyle();
387 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarEndShape, Shape>> InitEndShapesTable();
388 static System::SharedPtr<System::Collections::Generic::Dictionary<GanttBarMiddleShape, BarShape>> InitMiddleShapesTable();
Represents a bar style used by MSP in Gantt Chart view.
Definition: GanttBarStyle.h:68
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.