8 #include <system/date_time.h>
9 #include <system/array.h>
10 #include <drawing/size_f.h>
13 #include "aspose.tasks.cpp/Saving/SimpleSaveOptions.h"
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
31 class ApsLayoutWriter;
32 class HtmlSaveOptions;
33 class ImageSaveOptions;
35 enum class LegendDrawingOptions;
36 class PageCountManager;
39 class ReportSaveManager;
46 namespace Visualization
48 template <
typename>
class ApsBaseChartBuilder;
49 template <
typename,
typename>
class ApsChartWithCalendarBuilder;
51 class GanttPageTaskBarBuilder;
53 class LegendItemsFlowLayoutBuilder;
56 enum class PresentationFormat;
61 enum class TimescaleFitBehavior;
71 template <
typename,
typename>
class Dictionary;
72 template <
typename>
class List;
100 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
101 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
103 friend class Aspose::Tasks::Saving::PageCountManager;
104 friend class Aspose::Tasks::Visualization::GanttPageTaskBarBuilder;
105 friend class Aspose::Tasks::Visualization::LegendItemsFlowLayoutBuilder;
106 friend class Aspose::Tasks::Saving::ApsLayoutWriter;
109 friend class Aspose::Tasks::Saving::ImageWriter;
111 friend class Aspose::Tasks::Visualization::PrintManager;
112 friend class Aspose::Tasks::Saving::PrintOptions;
113 friend class Aspose::Tasks::Saving::SaveManager;
114 friend class Aspose::Tasks::Saving::ReportSaveManager;
118 template<
typename FT0>
friend class Aspose::Tasks::Visualization::ApsBaseChartBuilder;
119 template<
typename FT0,
typename FT1>
friend class Aspose::Tasks::Visualization::ApsChartWithCalendarBuilder;
124 class ASPOSE_TASKS_SHARED_CLASS IReduceBottomGap :
public virtual System::Object
129 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
130 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
137 virtual bool get_ReduceFooterGap() = 0;
141 class ASPOSE_TASKS_SHARED_CLASS IFontCallbacks :
public virtual System::Object
146 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
147 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
151 virtual System::SharedPtr<Aspose::Tasks::FontSettings> get_FontSettings() = 0;
161 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::BarStyle>>>& get_BarStyles()
const;
165 ASPOSE_TASKS_SHARED_API
void set_BarStyles(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::BarStyle>>>& value);
169 ASPOSE_TASKS_SHARED_API
bool get_DrawNonWorkingTime()
const;
173 ASPOSE_TASKS_SHARED_API
void set_DrawNonWorkingTime(
bool value);
177 ASPOSE_TASKS_SHARED_API System::DateTime get_EndDate()
const;
181 ASPOSE_TASKS_SHARED_API
void set_EndDate(System::DateTime value);
187 ASPOSE_TASKS_SHARED_API
bool get_FitTimescaleToEndOfPage();
193 ASPOSE_TASKS_SHARED_API
void set_FitTimescaleToEndOfPage(
bool value);
197 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::TimescaleFitBehavior get_TimescaleFitBehavior()
const;
201 ASPOSE_TASKS_SHARED_API
void set_TimescaleFitBehavior(Aspose::Tasks::Visualization::TimescaleFitBehavior value);
205 ASPOSE_TASKS_SHARED_API
bool get_FitContent()
const;
209 ASPOSE_TASKS_SHARED_API
void set_FitContent(
bool value);
213 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>>& get_Gridlines()
const;
217 ASPOSE_TASKS_SHARED_API
void set_Gridlines(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>>& value);
222 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Saving::LegendDrawingOptions get_LegendDrawingOptions()
const;
227 ASPOSE_TASKS_SHARED_API
void set_LegendDrawingOptions(Aspose::Tasks::Saving::LegendDrawingOptions value);
233 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<System::SharedPtr<Aspose::Tasks::Visualization::PageLegendItem>>& get_LegendItems()
const;
239 ASPOSE_TASKS_SHARED_API
void set_LegendItems(
const System::ArrayPtr<System::SharedPtr<Aspose::Tasks::Visualization::PageLegendItem>>& value);
243 ASPOSE_TASKS_SHARED_API
bool get_MarkCriticalTasks()
const;
247 ASPOSE_TASKS_SHARED_API
void set_MarkCriticalTasks(
bool value);
251 ASPOSE_TASKS_SHARED_API System::Drawing::Color get_NonWorkingTimeColor();
255 ASPOSE_TASKS_SHARED_API
void set_NonWorkingTimeColor(System::Drawing::Color value);
259 ASPOSE_TASKS_SHARED_API int32_t get_PageCount()
const;
263 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::PageSize get_PageSize()
const;
267 ASPOSE_TASKS_SHARED_API
void set_PageSize(Aspose::Tasks::Visualization::PageSize value);
274 ASPOSE_TASKS_SHARED_API
bool get_IsPortrait()
const;
281 ASPOSE_TASKS_SHARED_API
void set_IsPortrait(
bool value);
285 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::PresentationFormat get_PresentationFormat()
const;
289 ASPOSE_TASKS_SHARED_API
void set_PresentationFormat(Aspose::Tasks::Visualization::PresentationFormat value);
297 ASPOSE_TASKS_SHARED_API
bool get_RollUpGanttBars()
const;
305 ASPOSE_TASKS_SHARED_API
void set_RollUpGanttBars(
bool value);
309 ASPOSE_TASKS_SHARED_API System::DateTime get_StartDate()
const;
313 ASPOSE_TASKS_SHARED_API
void set_StartDate(System::DateTime value);
318 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>>& get_TextStyles()
const;
323 ASPOSE_TASKS_SHARED_API
void set_TextStyles(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>>& value);
327 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::Timescale get_Timescale()
const;
331 ASPOSE_TASKS_SHARED_API
void set_Timescale(Aspose::Tasks::Visualization::Timescale value);
336 virtual ASPOSE_TASKS_SHARED_API
bool get_UseGradientBrush();
341 virtual ASPOSE_TASKS_SHARED_API
void set_UseGradientBrush(
bool value);
347 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> get_View();
353 ASPOSE_TASKS_SHARED_API
void set_View(
const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& value);
360 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::View> get_ViewSettings()
const;
367 ASPOSE_TASKS_SHARED_API
void set_ViewSettings(
const System::SharedPtr<Aspose::Tasks::View>& value);
371 ASPOSE_TASKS_SHARED_API System::Drawing::SizeF get_CustomPageSize()
const;
375 ASPOSE_TASKS_SHARED_API
void set_CustomPageSize(System::Drawing::SizeF value);
381 ASPOSE_TASKS_SHARED_API
bool get_RenderToSinglePage()
const;
387 ASPOSE_TASKS_SHARED_API
void set_RenderToSinglePage(
bool value);
394 ASPOSE_TASKS_SHARED_API
void set_PageCount(int32_t value);
398 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Project> get_Project()
override;
402 ASPOSE_TASKS_SHARED_API
void set_Project(System::SharedPtr<Aspose::Tasks::Project> value)
override;
412 ASPOSE_TASKS_SHARED_API
SaveOptions(
const System::SharedPtr<SaveOptions>& options);
414 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Foundation::Drawing::DrColor> GetNonworkingTimeColor();
415 ASPOSE_TASKS_SHARED_API
void SetPageCount(int32_t count);
416 virtual ASPOSE_TASKS_SHARED_API System::Drawing::SizeF GetPageSize();
417 virtual ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> GetDefaultProjectView();
418 #ifdef ASPOSE_GET_SHARED_MEMBERS
419 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
425 static System::SharedPtr<System::Collections::Generic::Dictionary<System::String, Aspose::Tasks::Visualization::PresentationFormat>>& Views();
427 System::SharedPtr<Aspose::Foundation::Drawing::DrColor> nonWorkingTimeColor;
428 bool useGradientBrush;
429 System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> view;
430 System::SharedPtr<Aspose::Tasks::View> viewSettings;
431 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::BarStyle>>> pr_BarStyles;
432 bool pr_DrawNonWorkingTime;
433 System::DateTime pr_EndDate;
434 Aspose::Tasks::Visualization::TimescaleFitBehavior pr_TimescaleFitBehavior;
436 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>> pr_Gridlines;
437 Aspose::Tasks::Saving::LegendDrawingOptions pr_LegendDrawingOptions;
438 System::ArrayPtr<System::SharedPtr<Aspose::Tasks::Visualization::PageLegendItem>> pr_LegendItems;
439 bool pr_MarkCriticalTasks;
440 int32_t pr_PageCount;
441 Aspose::Tasks::Visualization::PageSize pr_PageSize;
443 Aspose::Tasks::Visualization::PresentationFormat pr_PresentationFormat;
444 bool pr_RollUpGanttBars;
445 System::DateTime pr_StartDate;
446 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>> pr_TextStyles;
447 Aspose::Tasks::Visualization::Timescale pr_Timescale;
448 System::Drawing::SizeF pr_CustomPageSize;
449 bool pr_RenderToSinglePage;
451 static System::SharedPtr<System::Collections::Generic::Dictionary<System::String, Aspose::Tasks::Visualization::PresentationFormat>> InitViewsTable();
452 void SetDefaultPresentationFormat();