Aspose.Tasks for C++
Spreadsheet2003SaveOptions.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="Spreadsheet2003SaveOptions.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include "aspose.tasks.cpp/Saving/SimpleSaveOptions.h"
9 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
10 
11 namespace Aspose
12 {
13 namespace Tasks
14 {
15 class IWriter;
16 namespace Visualization
17 {
18 class ProjectView;
19 } // namespace Visualization
20 } // namespace Tasks
21 } // namespace Aspose
22 
23 namespace Aspose {
24 
25 namespace Tasks {
26 
27 namespace Saving {
28 
29 /// <summary>
30 /// Allows to specify additional options when rendering project pages to Spreadsheet2003.
31 /// </summary>
33 {
36 
37  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
38  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
39 
40 public:
41 
42  /// <summary>
43  /// Gets a list of the resource view columns to render (<see cref="ResourceViewColumn"></see>).
44  /// </summary>
45  ASPOSE_TASKS_SHARED_API const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& get_ResourceView() const;
46  /// <summary>
47  /// Sets a list of the resource view columns to render (<see cref="ResourceViewColumn"></see>).
48  /// </summary>
49  ASPOSE_TASKS_SHARED_API void set_ResourceView(const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& value);
50  /// <summary>
51  /// Gets a list of the assignments view columns to render (<see cref="AssignmentViewColumn"></see>).
52  /// </summary>
53  ASPOSE_TASKS_SHARED_API const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& get_AssignmentView() const;
54  /// <summary>
55  /// Sets a list of the assignments view columns to render (<see cref="AssignmentViewColumn"></see>).
56  /// </summary>
57  ASPOSE_TASKS_SHARED_API void set_AssignmentView(const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& value);
58  /// <summary>
59  /// Gets a list of the view columns (<see cref="GanttChartColumn"></see>) to save.
60  /// If not set then default columns are saved.
61  /// </summary>
62  ASPOSE_TASKS_SHARED_API const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& get_View() const;
63  /// <summary>
64  /// Sets a list of the view columns (<see cref="GanttChartColumn"></see>) to save.
65  /// If not set then default columns are saved.
66  /// </summary>
67  ASPOSE_TASKS_SHARED_API void set_View(const System::SharedPtr<Aspose::Tasks::Visualization::ProjectView>& value);
68 
69  /// <summary>
70  /// Initializes a new instance of the <see cref="Spreadsheet2003SaveOptions"></see> class.
71  /// </summary>
72  ASPOSE_TASKS_SHARED_API Spreadsheet2003SaveOptions();
73 
74 protected:
75 
76  ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter() override;
77 
78  virtual ASPOSE_TASKS_SHARED_API ~Spreadsheet2003SaveOptions();
79 
80  #ifdef ASPOSE_GET_SHARED_MEMBERS
81  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
82  #endif
83 
84 
85 private:
86 
87  System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> pr_ResourceView;
88  System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> pr_AssignmentView;
89  System::SharedPtr<Aspose::Tasks::Visualization::ProjectView> pr_View;
90 
91 };
92 
93 } // namespace Saving
94 } // namespace Tasks
95 } // namespace Aspose
96 
97 
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 Spreadsheet2003.
Definition: Spreadsheet2003SaveOptions.h:33
const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > & get_ResourceView() const
Gets a list of the resource view columns to render (ResourceViewColumn).
const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > & get_AssignmentView() const
Gets a list of the assignments view columns to render (AssignmentViewColumn).
void set_ResourceView(const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > &value)
Sets a list of the resource view columns to render (ResourceViewColumn).
void set_View(const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > &value)
Sets a list of the view columns (GanttChartColumn) to save. If not set then default columns are saved...
Spreadsheet2003SaveOptions()
Initializes a new instance of the Spreadsheet2003SaveOptions class.
const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > & get_View() const
Gets a list of the view columns (GanttChartColumn) to save. If not set then default columns are saved...
void set_AssignmentView(const System::SharedPtr< Aspose::Tasks::Visualization::ProjectView > &value)
Sets a list of the assignments view columns to render (AssignmentViewColumn).
Definition: Asn.h:13