8 #include <system/string.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 enum class CalculationType;
18 namespace Connectivity
20 class MpdExtendedAttributeDefinitionMapper;
22 class MspExtendedAttribute;
23 class MspExtendedAttributeDefinitionMapper;
24 class MspExtendedAttributeValuesMapper;
26 enum class CustomFieldType;
28 enum class ElementType;
29 class ExtendedAttribute;
30 class ExtendedAttributeDefinitionCollection;
31 class ExtendedAttributeDefinitionComparer;
32 enum class ExtendedAttributeResource;
33 enum class ExtendedAttributeTask;
36 class ExtendedAttributeDefinitionFieldIdFilter;
37 class ExtendedAttributeDefinitionGuidFilter;
40 class GraphicalIndicatorsInfo;
45 class HtmlReadingUtils;
53 class CustomFieldTypeReader;
54 class ExtendedAttributeValueConverter;
57 class AssignmentExtendedAttributeFlagOffsets;
59 class MPP12ExtendedAttributeDefinitionReader;
60 class MPP12ExtendedAttributeWriter;
61 class MPP12OutlineCodeDefinitionWriter;
62 class MPP12ResourceWriter;
63 class MPP12TaskWriter;
64 class MPP14ExtendedAttributeDefinitionReader;
65 class MPP14ExtendedAttributeWriter;
66 class MPP14OutlineCodeDefinitionWriter;
67 class MPP14ResourceWriter;
68 class MPP14TaskWriter;
69 class MPP9AssignmentExtendedAttributeWriter;
70 class MPP9ExtendedAttributeDefinitionReader;
71 class MPP9ExtendedAttributeDefinitionWriter;
72 class MPP9ResourceWriter;
73 class MPPAssignmentExtendedAttributeReader;
74 class MPPAssignmentExtendedAttributeWriter;
75 class MppCustomFieldsReader;
76 class MPPExtendedAttributeReader;
77 class MPPExtendedAttributeWriter;
78 class MppFormulaReader;
79 class MppGraphicalIndicatorReader;
80 class MppGraphicalIndicatorWriter;
81 class MPPOutlineCodeDefinitionWriter;
93 class CustomFieldContainerWriter;
94 class ExtendedAttributeValueReader;
95 class InternalApiProjectSerializer;
98 class ExtendedAttributeDefinitionMapper;
99 class ExtendedAttributeDefinitionToRawValuesMapper;
100 template <
typename>
class ExtendedAttributeParentEntityToRawValuesMapper;
101 template <
typename>
class ProjectCoreEntityMapperBase;
108 class PrimaveraExtendedAttributeBuilder;
112 class ExtendedAttributeDefinitionFactory;
113 class ExtendedAttributeDefinitionReader;
114 class ExtendedAttributeDefinitionWriter;
115 class ExtendedAttributeNodeReader;
116 class ExtendedAttributeNodeWriter;
117 class OutlineCodeDefinitionXml;
122 class OutlineCodeDefinition;
123 class OutlineCodesSynchronizer;
128 class AverageFirstSublevelRollupCalculator;
129 class AverageRollupCalculator;
130 class DurationExtendedAttributeComparer;
131 class IRollupCalculator;
132 class MinMaxRollupCalculator;
133 class RollupCalculatorFactory;
134 class SumRollupCalculator;
136 enum class RollupType;
140 class MpxSavingUtils;
142 enum class SummaryRowsCalculationType;
143 class TaskFieldsFormulaParser;
146 class CalculatedExtendedAttributeUtils;
147 class ExtendedAttributeChecker;
150 class FieldHelperInternal;
154 namespace Visualization
156 template <
typename>
class FieldToColumnText;
162 namespace Collections
166 template <
typename>
class List;
184 typedef System::Object BaseType;
186 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
187 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
189 friend class Aspose::Tasks::TaskFieldsFormulaParser;
190 friend class Aspose::Tasks::IO::MSProject::MppGraphicalIndicatorReader;
191 friend class Aspose::Tasks::IO::MSProject::MPP14ExtendedAttributeWriter;
192 friend class Aspose::Tasks::IO::MSProject::MppGraphicalIndicatorWriter;
193 friend class Aspose::Tasks::Filters::ExtendedAttributeDefinitionFieldIdFilter;
194 friend class Aspose::Tasks::Filters::ExtendedAttributeDefinitionGuidFilter;
195 friend class Aspose::Tasks::IO::Pwa::InternalApi::CustomFieldContainerWriter;
196 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeParentEntityToRawValuesMapper;
197 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
198 friend class Aspose::Tasks::IO::Pwa::InternalApi::InternalApiProjectSerializer;
199 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeDefinitionFactory;
200 friend class Aspose::Tasks::ExtendedAttributeDefinitionComparer;
203 friend class Aspose::Tasks::Connectivity::MpdExtendedAttributeDefinitionMapper;
204 friend class Aspose::Tasks::Connectivity::MpdUtils;
205 friend class Aspose::Tasks::Connectivity::MspExtendedAttribute;
206 friend class Aspose::Tasks::Connectivity::MspExtendedAttributeDefinitionMapper;
207 friend class Aspose::Tasks::Connectivity::MspExtendedAttributeValuesMapper;
208 friend class Aspose::Tasks::IO::Html::HtmlReadingUtils;
209 friend class Aspose::Tasks::IO::MSProject::CustomFieldTypeReader;
210 friend class Aspose::Tasks::IO::MSProject::ExtendedAttributeValueConverter;
211 friend class Aspose::Tasks::IO::MSProject::MPPAssignmentExtendedAttributeReader;
212 friend class Aspose::Tasks::IO::MSProject::MPP12ExtendedAttributeDefinitionReader;
213 friend class Aspose::Tasks::IO::MSProject::MPPReader;
214 friend class Aspose::Tasks::IO::MSProject::MPP14ExtendedAttributeDefinitionReader;
215 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
216 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
217 friend class Aspose::Tasks::IO::MSProject::MPP14OutlineCodeDefinitionWriter;
218 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
219 friend class Aspose::Tasks::IO::MSProject::MPP14TaskWriter;
220 friend class Aspose::Tasks::IO::MSProject::MPPWriter;
221 friend class Aspose::Tasks::IO::MSProject::MPP9ExtendedAttributeDefinitionReader;
222 friend class Aspose::Tasks::IO::MSProject::MPPExtendedAttributeReader;
223 friend class Aspose::Tasks::IO::MSProject::Metadata::AssignmentExtendedAttributeFlagOffsets;
224 friend class Aspose::Tasks::IO::MSProject::MppCustomFieldsReader;
225 friend class Aspose::Tasks::IO::MSProject::MppFormulaReader;
226 friend class Aspose::Tasks::IO::MSProject::MPPAssignmentExtendedAttributeWriter;
227 friend class Aspose::Tasks::IO::MSProject::MPP12ExtendedAttributeWriter;
228 friend class Aspose::Tasks::IO::MSProject::MPPExtendedAttributeWriter;
229 friend class Aspose::Tasks::IO::MSProject::MPP12OutlineCodeDefinitionWriter;
230 friend class Aspose::Tasks::IO::MSProject::MPPOutlineCodeDefinitionWriter;
231 friend class Aspose::Tasks::IO::MSProject::MPP12TaskWriter;
232 friend class Aspose::Tasks::IO::MSProject::Writers::MPP9TaskWriter;
233 friend class Aspose::Tasks::IO::MSProject::MPP9AssignmentExtendedAttributeWriter;
234 friend class Aspose::Tasks::IO::MSProject::MPP9ExtendedAttributeDefinitionWriter;
235 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
236 friend class Aspose::Tasks::IO::Xer::PrimaveraExtendedAttributeBuilder;
237 friend class Aspose::Tasks::IO::Pwa::InternalApi::ExtendedAttributeValueReader;
238 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionMapper;
239 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectCoreEntityMapperBase;
240 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeDefinitionReader;
241 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeDefinitionWriter;
242 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeReader;
243 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeWriter;
244 friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionXml;
245 friend class Aspose::Tasks::IO::Xml::XmlReader;
246 friend class Aspose::Tasks::IO::Xml::XmlWriter;
248 friend class Aspose::Tasks::OutlineCodesSynchronizer;
249 friend class Aspose::Tasks::Rollup::AverageFirstSublevelRollupCalculator;
250 friend class Aspose::Tasks::Rollup::AverageRollupCalculator;
251 friend class Aspose::Tasks::Rollup::DurationExtendedAttributeComparer;
252 friend class Aspose::Tasks::Rollup::MinMaxRollupCalculator;
253 friend class Aspose::Tasks::Rollup::RollupCalculatorFactory;
254 friend class Aspose::Tasks::Rollup::SumRollupCalculator;
255 friend class Aspose::Tasks::Saving::HtmlUtils;
256 friend class Aspose::Tasks::Saving::MpxSavingUtils;
257 friend class Aspose::Tasks::Util::CalculatedExtendedAttributeUtils;
258 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
259 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
260 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
277 ASPOSE_TASKS_SHARED_API System::String get_FieldId()
const;
291 ASPOSE_TASKS_SHARED_API
void set_FieldId(
const System::String& value);
296 ASPOSE_TASKS_SHARED_API System::String get_FieldName()
const;
300 ASPOSE_TASKS_SHARED_API CustomFieldType get_CfType();
307 ASPOSE_TASKS_SHARED_API System::String get_Guid()
const;
314 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
319 ASPOSE_TASKS_SHARED_API Aspose::Tasks::ElementType get_ElementType();
324 ASPOSE_TASKS_SHARED_API
void set_ElementType(Aspose::Tasks::ElementType value);
331 ASPOSE_TASKS_SHARED_API int32_t get_MaxMultiValues()
const;
338 ASPOSE_TASKS_SHARED_API
void set_MaxMultiValues(int32_t value);
345 ASPOSE_TASKS_SHARED_API
bool get_UserDef()
const;
352 ASPOSE_TASKS_SHARED_API
void set_UserDef(
bool value);
356 ASPOSE_TASKS_SHARED_API System::String get_Alias()
const;
360 ASPOSE_TASKS_SHARED_API
void set_Alias(
const System::String& value);
364 ASPOSE_TASKS_SHARED_API System::String get_SecondaryPid()
const;
368 ASPOSE_TASKS_SHARED_API
void set_SecondaryPid(
const System::String& value);
372 ASPOSE_TASKS_SHARED_API
bool get_AutoRollDown()
const;
376 ASPOSE_TASKS_SHARED_API
void set_AutoRollDown(
bool value);
380 ASPOSE_TASKS_SHARED_API System::String get_DefaultGuid()
const;
384 ASPOSE_TASKS_SHARED_API
void set_DefaultGuid(
const System::String& value);
391 ASPOSE_TASKS_SHARED_API System::String get_LookupUid()
const;
398 ASPOSE_TASKS_SHARED_API System::String get_PhoneticsAlias()
const;
405 ASPOSE_TASKS_SHARED_API
void set_PhoneticsAlias(
const System::String& value);
412 ASPOSE_TASKS_SHARED_API Aspose::Tasks::RollupType get_RollupType()
const;
419 ASPOSE_TASKS_SHARED_API
void set_RollupType(Aspose::Tasks::RollupType value);
423 ASPOSE_TASKS_SHARED_API Aspose::Tasks::CalculationType get_CalculationType()
const;
427 ASPOSE_TASKS_SHARED_API
void set_CalculationType(Aspose::Tasks::CalculationType value);
431 ASPOSE_TASKS_SHARED_API Aspose::Tasks::SummaryRowsCalculationType get_SummaryRowsCalculationType()
const;
435 ASPOSE_TASKS_SHARED_API
void set_SummaryRowsCalculationType(Aspose::Tasks::SummaryRowsCalculationType value);
439 ASPOSE_TASKS_SHARED_API System::String get_Formula();
443 ASPOSE_TASKS_SHARED_API
void set_Formula(
const System::String& value);
448 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<GraphicalIndicatorsInfo>& get_GraphicalIndicator()
const;
453 ASPOSE_TASKS_SHARED_API
void set_GraphicalIndicator(
const System::SharedPtr<GraphicalIndicatorsInfo>& value);
457 ASPOSE_TASKS_SHARED_API
bool get_RestrictValues()
const;
461 ASPOSE_TASKS_SHARED_API
void set_RestrictValues(
bool value);
468 ASPOSE_TASKS_SHARED_API int32_t get_ValuelistSortOrder()
const;
475 ASPOSE_TASKS_SHARED_API
void set_ValuelistSortOrder(int32_t value);
482 ASPOSE_TASKS_SHARED_API
bool get_AppendNewValues()
const;
489 ASPOSE_TASKS_SHARED_API
void set_AppendNewValues(
bool value);
496 ASPOSE_TASKS_SHARED_API System::String get_Default()
const;
503 ASPOSE_TASKS_SHARED_API
void set_Default(
const System::String& value);
514 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Value>>>& get_ValueList()
const;
521 ASPOSE_TASKS_SHARED_API System::String get_SecondaryGuid()
const;
528 ASPOSE_TASKS_SHARED_API
void set_SecondaryGuid(
const System::String& value);
532 ASPOSE_TASKS_SHARED_API System::SharedPtr<Project> get_ParentProject()
const;
548 ASPOSE_TASKS_SHARED_API
void AddLookupValue(
const System::SharedPtr<Value>& value);
557 ASPOSE_TASKS_SHARED_API
void RemoveLookupValue(
const System::SharedPtr<Value>& value);
562 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute();
569 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(
const System::String& textValue);
576 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(System::Decimal numericValue);
583 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(System::DateTime dateTimeValue);
590 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(
Duration durationValue);
597 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(
bool flagValue);
614 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(
const System::SharedPtr<Value>& lookupValue);
631 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateTaskDefinition(CustomFieldType customFieldType, ExtendedAttributeTask fieldId,
const System::String& alias);
648 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateTaskDefinition(ExtendedAttributeTask fieldId,
const System::String& alias);
665 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateResourceDefinition(CustomFieldType customFieldType, ExtendedAttributeResource fieldId,
const System::String& alias);
682 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateResourceDefinition(ExtendedAttributeResource fieldId,
const System::String& alias);
701 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateLookupTaskDefinition(ExtendedAttributeTask fieldId,
const System::String& alias);
720 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateLookupTaskDefinition(CustomFieldType customFieldType, ExtendedAttributeTask fieldId,
const System::String& alias);
739 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateLookupResourceDefinition(ExtendedAttributeResource fieldId,
const System::String& alias);
758 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateLookupResourceDefinition(CustomFieldType customFieldType, ExtendedAttributeResource fieldId,
const System::String& alias);
764 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
769 ASPOSE_TASKS_SHARED_API int32_t GetHashCode()
const override;
777 ASPOSE_TASKS_SHARED_API
void set_FieldName(
const System::String& value);
781 ASPOSE_TASKS_SHARED_API
void set_CfType(CustomFieldType value);
788 ASPOSE_TASKS_SHARED_API
void set_LookupUid(
const System::String& value);
799 ASPOSE_TASKS_SHARED_API
void set_ValueList(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Value>>>& value);
803 ASPOSE_TASKS_SHARED_API
void set_ParentProject(
const System::SharedPtr<Project>& value);
804 ASPOSE_TASKS_SHARED_API
bool get_IsEnterprise()
const;
805 ASPOSE_TASKS_SHARED_API
void set_IsEnterprise(
bool value);
809 ASPOSE_TASKS_SHARED_API IO::Pwa::InternalApi::VarType get_EnterpriseFieldType()
const;
813 ASPOSE_TASKS_SHARED_API
void set_EnterpriseFieldType(IO::Pwa::InternalApi::VarType value);
814 ASPOSE_TASKS_SHARED_API int32_t get_FieldIdParsed()
const;
815 ASPOSE_TASKS_SHARED_API
bool get_IsOutlineCode();
816 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<OutlineValue>>> get_OutlineValues();
817 ASPOSE_TASKS_SHARED_API System::SharedPtr<Rollup::IRollupCalculator> get_RollupCalculator();
818 ASPOSE_TASKS_SHARED_API
bool get_IsNumeric();
819 ASPOSE_TASKS_SHARED_API
bool get_CanCalculateRollup()
const;
820 ASPOSE_TASKS_SHARED_API
void set_CanCalculateRollup(
bool value);
833 ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttribute> CreateExtendedAttribute(
const System::SharedPtr<OutlineValue>& outlineValue);
834 ASPOSE_TASKS_SHARED_API
bool IsLookup();
835 static ASPOSE_TASKS_SHARED_API System::SharedPtr<ExtendedAttributeDefinition> CreateAttributeDefinition(
const System::SharedPtr<Project>& project, int32_t fieldId);
836 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::Formula> GetFormula();
837 ASPOSE_TASKS_SHARED_API
void SetFormula(
const System::SharedPtr<Aspose::Tasks::Formula>& value);
838 ASPOSE_TASKS_SHARED_API
bool IsNameMatch(
const System::String& name);
842 #ifdef ASPOSE_GET_SHARED_MEMBERS
843 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
849 System::WeakPtr<Project> parentProject;
850 System::String fieldID;
851 CustomFieldType customFieldType;
852 Aspose::Tasks::ElementType elementType;
853 System::SharedPtr<Aspose::Tasks::Formula> formula;
854 System::SharedPtr<Rollup::IRollupCalculator> rollupCalculator;
855 Aspose::Tasks::RollupType rollupType;
856 System::String pr_FieldName;
857 System::String pr_Guid;
858 int32_t pr_MaxMultiValues;
860 System::String pr_Alias;
861 System::String pr_SecondaryPid;
862 bool pr_AutoRollDown;
863 System::String pr_DefaultGuid;
864 System::String pr_LookupUid;
865 System::String pr_PhoneticsAlias;
866 Aspose::Tasks::CalculationType pr_CalculationType;
867 Aspose::Tasks::SummaryRowsCalculationType pr_SummaryRowsCalculationType;
868 System::SharedPtr<GraphicalIndicatorsInfo> pr_GraphicalIndicator;
869 bool pr_RestrictValues;
870 int32_t pr_ValuelistSortOrder;
871 bool pr_AppendNewValues;
872 System::String pr_Default;
873 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Value>>> pr_ValueList;
874 System::String pr_SecondaryGuid;
875 bool pr_IsEnterprise;
876 IO::Pwa::InternalApi::VarType pr_EnterpriseFieldType;
877 int32_t pr_FieldIdParsed;
879 ASPOSE_TASKS_SHARED_API
void set_FieldIdParsed(int32_t value);
881 bool pr_CanCalculateRollup;
883 System::String get_DebuggerDisplay();
885 void CreateRollupExtendedAttributesForNonLeafTasks();
886 void UpdateAfterRollupChange();
887 static System::SharedPtr<ExtendedAttributeDefinition> CreateLookupDefinitionInternal(CustomFieldType customFieldType,
const System::String& alias);
888 static System::Guid ConvertPidToFieldGuid(int32_t pid);