8 #include <system/date_time.h>
9 #include <drawing/size_f.h>
12 #include "aspose.tasks.cpp/Saving/SimpleSaveOptions.h"
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
30 class ApsLayoutWriter;
31 class HtmlSaveOptions;
32 class ImageSaveOptions;
34 enum class LegendDrawingOptions;
35 class PageCountManager;
38 class ReportSaveManager;
45 namespace Visualization
47 template <
typename>
class ApsBaseChartBuilder;
48 template <
typename,
typename>
class ApsChartWithCalendarBuilder;
49 class ApsGanttPageLegend;
51 class GanttPageTaskBarBuilder;
53 class LegendItemsFlowLayoutBuilder;
55 enum class PresentationFormat;
69 template <
typename,
typename>
class Dictionary;
70 template <
typename>
class List;
99 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
100 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
102 friend class Aspose::Tasks::Saving::PageCountManager;
103 friend class Aspose::Tasks::Visualization::ApsGanttPageLegend;
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);
203 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>>&
get_Gridlines()
const;
207 ASPOSE_TASKS_SHARED_API
void set_Gridlines(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>>& value);
249 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::PageSize
get_PageSize()
const;
253 ASPOSE_TASKS_SHARED_API
void set_PageSize(Aspose::Tasks::Visualization::PageSize value);
303 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>>&
get_TextStyles()
const;
307 ASPOSE_TASKS_SHARED_API
void set_TextStyles(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>>& value);
311 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::Timescale
get_Timescale()
const;
315 ASPOSE_TASKS_SHARED_API
void set_Timescale(Aspose::Tasks::Visualization::Timescale value);
331 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>
get_View();
337 ASPOSE_TASKS_SHARED_API
void set_View(
const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& value);
351 ASPOSE_TASKS_SHARED_API
void set_ViewSettings(
const System::SharedPtr<Aspose::Tasks::View>& value);
378 ASPOSE_TASKS_SHARED_API
void set_PageCount(int32_t value);
382 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Project> get_Project()
override;
386 ASPOSE_TASKS_SHARED_API
void set_Project(System::SharedPtr<Aspose::Tasks::Project> value)
override;
396 ASPOSE_TASKS_SHARED_API
SaveOptions(
const System::SharedPtr<SaveOptions>& options);
398 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Foundation::Drawing::DrColor> GetNonworkingTimeColor();
399 ASPOSE_TASKS_SHARED_API
void SetPageCount(int32_t count);
400 virtual ASPOSE_TASKS_SHARED_API System::Drawing::SizeF GetPageSize();
401 virtual ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> GetDefaultProjectView();
402 #ifdef ASPOSE_GET_SHARED_MEMBERS
403 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
409 static System::SharedPtr<System::Collections::Generic::Dictionary<System::String, Aspose::Tasks::Visualization::PresentationFormat>>& Views();
411 System::SharedPtr<Aspose::Foundation::Drawing::DrColor> nonWorkingTimeColor;
412 bool useGradientBrush;
413 System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> view;
414 System::SharedPtr<Aspose::Tasks::View> viewSettings;
415 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::BarStyle>>> pr_BarStyles;
416 bool pr_DrawNonWorkingTime;
417 System::DateTime pr_EndDate;
418 bool pr_FitTimescaleToEndOfPage;
420 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridline>>> pr_Gridlines;
421 Aspose::Tasks::Saving::LegendDrawingOptions pr_LegendDrawingOptions;
422 bool pr_MarkCriticalTasks;
423 int32_t pr_PageCount;
424 Aspose::Tasks::Visualization::PageSize pr_PageSize;
426 Aspose::Tasks::Visualization::PresentationFormat pr_PresentationFormat;
427 bool pr_RollUpGanttBars;
428 System::DateTime pr_StartDate;
429 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>>> pr_TextStyles;
430 Aspose::Tasks::Visualization::Timescale pr_Timescale;
431 System::Drawing::SizeF pr_CustomPageSize;
432 bool pr_RenderToSinglePage;
434 static System::SharedPtr<System::Collections::Generic::Dictionary<System::String, Aspose::Tasks::Visualization::PresentationFormat>> InitViewsTable();
435 void SetDefaultPresentationFormat();
Allows to specify additional options when rendering project pages to HTML.
Definition: HtmlSaveOptions.h:67
Allows to specify additional options when rendering project pages to images.
Definition: ImageSaveOptions.h:58
Allows to specify additional options when rendering project pages to PDF.
Definition: PdfSaveOptions.h:62
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95
void set_MarkCriticalTasks(bool value)
Sets a value indicating whether critical tasks should be displayed in red color (Default value is FAL...
bool get_MarkCriticalTasks() const
Gets a value indicating whether critical tasks should be displayed in red color (Default value is FAL...
void set_IsPortrait(bool value)
Sets a value indicating whether the page orientation is portrait; returns false if the page orientati...
bool get_IsPortrait() const
Gets a value indicating whether the page orientation is portrait; returns false if the page orientati...
System::Drawing::SizeF get_CustomPageSize() const
Gets the custom page size in points (1 point = 1/72 of inch).
void set_DrawNonWorkingTime(bool value)
Sets a value indicating whether non-working time should be drawn (Default value is TRUE).
void set_LegendDrawingOptions(Aspose::Tasks::Saving::LegendDrawingOptions value)
Sets a value which define how to render a legend. Default value is LegendDrawingOptions....
void set_TextStyles(const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::TextStyle >>> &value)
Sets the list of the instances of the TextStyle class that appear in project view.
void set_PageSize(Aspose::Tasks::Visualization::PageSize value)
Sets the size of page to be rendered (Default value is PageSize.A4).
System::SharedPtr< Aspose::Tasks::View > get_ViewSettings() const
Gets a view (View) to render. You can use this options to explicitly specify which view should be sav...
void set_NonWorkingTimeColor(System::Drawing::Color value)
Sets the non-working time color.
System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > get_View()
Gets a list of the view columns to render (GanttChartColumn). If not set then task ids,...
virtual bool get_UseGradientBrush()
Gets a value indicating whether gradient brush should be used when rendering Gantt Chart.
void set_View(const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > &value)
Sets a list of the view columns to render (GanttChartColumn). If not set then task ids,...
Aspose::Tasks::Visualization::Timescale get_Timescale() const
Gets the Timescale value which is used to control how timescale (if present) is rendered when project...
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridline > > > & get_Gridlines() const
Gets a list of Gridline that appear in project view.
void set_FitTimescaleToEndOfPage(bool value)
Sets whether a calendar section of a view should be rendered to the end (right side) of the last page...
void set_LegendOnEachPage(bool value)
Sets a value indicating whether legend should be shown on each page (Default value is TRUE).
bool get_RenderToSinglePage() const
Gets a value indicating whether a project should be rendered to a single page when project is saved i...
void set_StartDate(System::DateTime value)
Sets the date to start rendering from.
void set_Timescale(Aspose::Tasks::Visualization::Timescale value)
Sets the Timescale value which is used to control how timescale (if present) is rendered when project...
bool get_RollUpGanttBars() const
Gets a value indicating whether subtasks on the summary task bar should be marked....
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::BarStyle > > > & get_BarStyles() const
Gets the list of the instances of the BarStyle class that appear in project view.
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::TextStyle > > > & get_TextStyles() const
Gets the list of the instances of the TextStyle class that appear in project view.
Aspose::Tasks::Saving::LegendDrawingOptions get_LegendDrawingOptions() const
Gets a value which define how to render a legend. Default value is LegendDrawingOptions....
Aspose::Tasks::Visualization::PageSize get_PageSize() const
Gets the size of page to be rendered (Default value is PageSize.A4).
int32_t get_PageCount() const
Gets the number of pages of project.
System::DateTime get_StartDate() const
Gets the date to start rendering from.
void set_Gridlines(const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridline >>> &value)
Sets a list of Gridline that appear in project view.
void set_CustomPageSize(System::Drawing::SizeF value)
Sets the custom page size in points (1 point = 1/72 of inch).
virtual void set_UseGradientBrush(bool value)
Sets a value indicating whether gradient brush should be used when rendering Gantt Chart.
void set_PresentationFormat(Aspose::Tasks::Visualization::PresentationFormat value)
Sets the PresentationFormat in which the document will be saved.
bool get_FitTimescaleToEndOfPage() const
Gets whether a calendar section of a view should be rendered to the end (right side) of the last page...
System::DateTime get_EndDate() const
Gets a date to finish rendering to.
void set_BarStyles(const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::BarStyle >>> &value)
Sets the list of the instances of the BarStyle class that appear in project view.
bool get_FitContent() const
Gets a value indicating whether row height should be increased to fit its content.
void set_RollUpGanttBars(bool value)
Sets a value indicating whether subtasks on the summary task bar should be marked....
void set_EndDate(System::DateTime value)
Sets a date to finish rendering to.
System::Drawing::Color get_NonWorkingTimeColor()
Gets the non-working time color.
bool get_DrawNonWorkingTime() const
Gets a value indicating whether non-working time should be drawn (Default value is TRUE).
void set_RenderToSinglePage(bool value)
Sets a value indicating whether a project should be rendered to a single page when project is saved i...
void set_ViewSettings(const System::SharedPtr< Aspose::Tasks::View > &value)
Sets a view (View) to render. You can use this options to explicitly specify which view should be sav...
bool get_LegendOnEachPage()
Gets a value indicating whether legend should be shown on each page (Default value is TRUE).
void set_FitContent(bool value)
Sets a value indicating whether row height should be increased to fit its content.
Aspose::Tasks::Visualization::PresentationFormat get_PresentationFormat() const
Gets the PresentationFormat in which the document will be saved.
This is an abstract base class that allow the user to specify basic options when saving a project int...
Definition: SimpleSaveOptions.h:52
Allows to specify additional options when rendering project pages to SVG.
Definition: SvgOptions.h:34
/// Allows to specify additional options when rendering project pages to XAML.
Definition: XamlOptions.h:30
Allows to specify additional options when rendering project pages to XPS.
Definition: XpsOptions.h:43
Project's view class
Definition: ProjectView.h:58