Aspose.Tasks for C++
VbaProject.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="VbaProject.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/string.h>
9 #include <cstdint>
10 
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose
14 {
15 namespace Tasks
16 {
17 class Project;
18 namespace Vba
19 {
20 class VbaProjectInformationReader;
21 class VbaProjectModulesInfoReader;
22 class VbaProjectReader;
23 } // namespace Vba
24 class VbaInternalModule;
25 class VbaModuleCollection;
26 class VbaReferenceCollection;
27 } // namespace Tasks
28 } // namespace Aspose
29 namespace System
30 {
31 namespace Collections
32 {
33 namespace Generic
34 {
35 template <typename> class List;
36 } // namespace Generic
37 } // namespace Collections
38 } // namespace System
39 
40 namespace Aspose {
41 
42 namespace Tasks {
43 
44 /// <summary>
45 /// Represents <see cref="VbaProject"></see>.
46 /// </summary>
47 class ASPOSE_TASKS_SHARED_CLASS VbaProject : public System::Object
48 {
49  typedef VbaProject ThisType;
50  typedef System::Object BaseType;
51 
52  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
53  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
54 
55  friend class Aspose::Tasks::Project;
56  friend class Aspose::Tasks::Vba::VbaProjectInformationReader;
57  friend class Aspose::Tasks::Vba::VbaProjectModulesInfoReader;
58  friend class Aspose::Tasks::Vba::VbaProjectReader;
59 
60 public:
61 
62  /// <summary>
63  /// Gets conditional Compilation Arguments
64  /// </summary>
65  ASPOSE_TASKS_SHARED_API System::String get_CompilationArguments() const;
66  /// <summary>
67  /// Gets a project description.
68  /// </summary>
69  ASPOSE_TASKS_SHARED_API System::String get_Description() const;
70  /// <summary>
71  /// Gets a project Help Context Id
72  /// </summary>
73  ASPOSE_TASKS_SHARED_API int32_t get_HelpContextId() const;
74  /// <summary>
75  /// Gets a help file name
76  /// </summary>
77  ASPOSE_TASKS_SHARED_API System::String get_HelpFile() const;
78  /// <summary>
79  /// Gets a collection of <see cref="VbaModuleCollection"></see>
80  /// </summary>
81  ASPOSE_TASKS_SHARED_API const System::SharedPtr<VbaModuleCollection>& get_Modules() const;
82  /// <summary>
83  /// Gets project name
84  /// </summary>
85  ASPOSE_TASKS_SHARED_API System::String get_Name() const;
86  /// <summary>
87  /// Gets a collection of <see cref="VbaReferenceCollection"></see>
88  /// </summary>
89  ASPOSE_TASKS_SHARED_API const System::SharedPtr<VbaReferenceCollection>& get_References() const;
90 
91 protected:
92 
93  /// <summary>
94  /// Gets conditional Compilation Arguments
95  /// </summary>
96  ASPOSE_TASKS_SHARED_API void set_CompilationArguments(const System::String& value);
97  /// <summary>
98  /// Gets a project description.
99  /// </summary>
100  ASPOSE_TASKS_SHARED_API void set_Description(const System::String& value);
101  /// <summary>
102  /// Gets a project Help Context Id
103  /// </summary>
104  ASPOSE_TASKS_SHARED_API void set_HelpContextId(int32_t value);
105  /// <summary>
106  /// Gets project name
107  /// </summary>
108  ASPOSE_TASKS_SHARED_API void set_Name(const System::String& value);
109  ASPOSE_TASKS_SHARED_API int32_t get_CodePage() const;
110  ASPOSE_TASKS_SHARED_API void set_CodePage(int32_t value);
111  ASPOSE_TASKS_SHARED_API System::String get_ConstantsUnicode() const;
112  ASPOSE_TASKS_SHARED_API void set_ConstantsUnicode(const System::String& value);
113  ASPOSE_TASKS_SHARED_API System::String get_DescriptionUnicode() const;
114  ASPOSE_TASKS_SHARED_API void set_DescriptionUnicode(const System::String& value);
115  ASPOSE_TASKS_SHARED_API System::String get_HelpFile1();
116  ASPOSE_TASKS_SHARED_API void set_HelpFile1(const System::String& value);
117  ASPOSE_TASKS_SHARED_API System::String get_HelpFile2() const;
118  ASPOSE_TASKS_SHARED_API void set_HelpFile2(const System::String& value);
119  ASPOSE_TASKS_SHARED_API const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<VbaInternalModule>>>& get_InternalModules() const;
120  ASPOSE_TASKS_SHARED_API void set_InternalModules(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<VbaInternalModule>>>& value);
121  ASPOSE_TASKS_SHARED_API int32_t get_ModulesCount() const;
122  ASPOSE_TASKS_SHARED_API void set_ModulesCount(int32_t value);
123  ASPOSE_TASKS_SHARED_API int32_t get_VersionMajor() const;
124  ASPOSE_TASKS_SHARED_API void set_VersionMajor(int32_t value);
125  ASPOSE_TASKS_SHARED_API int32_t get_VersionMinor() const;
126  ASPOSE_TASKS_SHARED_API void set_VersionMinor(int32_t value);
127 
128  ASPOSE_TASKS_SHARED_API VbaProject();
129 
130  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaProject, CODEPORTING_ARGS());
131  #ifdef ASPOSE_GET_SHARED_MEMBERS
132  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
133  #endif
134 
135 
136 private:
137 
138  System::String pr_CompilationArguments;
139  System::String pr_Description;
140  int32_t pr_HelpContextId;
141  System::String pr_HelpFile;
142 
143  /// <summary>
144  /// Gets a help file name
145  /// </summary>
146  ASPOSE_TASKS_SHARED_API void set_HelpFile(const System::String& value);
147 
148  System::SharedPtr<VbaModuleCollection> pr_Modules;
149 
150  /// <summary>
151  /// Gets a collection of <see cref="VbaModuleCollection"></see>
152  /// </summary>
153  ASPOSE_TASKS_SHARED_API void set_Modules(const System::SharedPtr<VbaModuleCollection>& value);
154 
155  System::String pr_Name;
156  System::SharedPtr<VbaReferenceCollection> pr_References;
157 
158  /// <summary>
159  /// Gets a collection of <see cref="VbaReferenceCollection"></see>
160  /// </summary>
161  ASPOSE_TASKS_SHARED_API void set_References(const System::SharedPtr<VbaReferenceCollection>& value);
162 
163  int32_t pr_CodePage;
164  System::String pr_ConstantsUnicode;
165  System::String pr_DescriptionUnicode;
166  System::String pr_HelpFile2;
167  System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<VbaInternalModule>>> pr_InternalModules;
168  int32_t pr_ModulesCount;
169  int32_t pr_VersionMajor;
170  int32_t pr_VersionMinor;
171 
172 };
173 
174 } // namespace Tasks
175 } // namespace Aspose
176 
177 
Represents a project.
Definition: Project.h:551
Represents VbaProject.
Definition: VbaProject.h:48
int32_t get_HelpContextId() const
Gets a project Help Context Id
const System::SharedPtr< VbaReferenceCollection > & get_References() const
Gets a collection of VbaReferenceCollection
System::String get_Description() const
Gets a project description.
System::String get_Name() const
Gets project name
System::String get_CompilationArguments() const
Gets conditional Compilation Arguments
System::String get_HelpFile() const
Gets a help file name
const System::SharedPtr< VbaModuleCollection > & get_Modules() const
Gets a collection of VbaModuleCollection
Definition: Asn.h:13