8 #include <system/string.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 enum class DateFormat;
22 class MPP14TableWriter;
30 class TemplateProjectLoader;
32 class TableCollection;
33 class TableFieldCollection;
45 class ASPOSE_TASKS_SHARED_CLASS
Table :
public System::Object
48 typedef System::Object BaseType;
50 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
51 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
53 friend class Aspose::Tasks::Saving::TemplateProjectLoader;
54 friend class Aspose::Tasks::TableHelper;
55 friend class Aspose::Tasks::IO::MSProject::MPPTableReader;
56 friend class Aspose::Tasks::IO::MSProject::MPPTableWriter;
57 friend class Aspose::Tasks::IO::MSProject::MPP14TableWriter;
65 ASPOSE_TASKS_SHARED_API System::String
get_Name()
const;
69 ASPOSE_TASKS_SHARED_API
void set_Name(
const System::String& value);
81 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<TableFieldCollection>&
get_TableFields()
const;
89 ASPOSE_TASKS_SHARED_API int32_t
get_Uid()
const;
147 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
159 ASPOSE_TASKS_SHARED_API
void set_TableType(ItemType value);
163 ASPOSE_TASKS_SHARED_API
void set_Uid(int32_t value);
168 ASPOSE_TASKS_SHARED_API
Table(int32_t uid, int32_t index);
170 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
Table, CODEPORTING_ARGS(int32_t uid, int32_t index));
171 #ifdef ASPOSE_GET_SHARED_MEMBERS
172 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
180 System::String pr_Name;
182 System::SharedPtr<TableFieldCollection> pr_TableFields;
187 ASPOSE_TASKS_SHARED_API
void set_TableFields(
const System::SharedPtr<TableFieldCollection>& value);
189 ItemType pr_TableType;
190 int32_t pr_RowHeight;
191 Aspose::Tasks::DateFormat pr_DateFormat;
192 bool pr_AdjustHeaderRowHeight;
193 bool pr_ShowAddNewColumn;
194 bool pr_LockFirstColumn;
Contains a list of Table objects. Implements ICollection<Table> interface.
Definition: TableCollection.h:61
Represents a table in Project
Definition: Table.h:46
ItemType get_TableType() const
Gets the table type for the specified table. Read-only ItemType.
void set_RowHeight(int32_t value)
Sets the row height in a table, where the row height is the number of lines of text.
void set_DateFormat(Aspose::Tasks::DateFormat value)
Sets the date format of the table.
bool get_LockFirstColumn() const
Gets a value indicating whether the first column of a table is locked or editable.
void set_AdjustHeaderRowHeight(bool value)
Sets a value indicating whether the header row height of the table can be adjusted.
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to a specified object.
void set_ShowInMenu(bool value)
Sets a value indicating whether project shows the table name in the Tables drop-down list on the View...
int32_t get_Uid() const
Gets the unique identifier of a table.
void set_ShowAddNewColumn(bool value)
Sets a value indicating whether to show 'Add New Column' interface.
void set_Name(const System::String &value)
Sets the name of a Table object.
void set_LockFirstColumn(bool value)
Sets a value indicating whether the first column of a table is locked or editable.
int32_t get_Index() const
Gets the index of a Table object in the Tables containing object.
bool get_ShowInMenu() const
Gets a value indicating whether project shows the table name in the Tables drop-down list on the View...
Aspose::Tasks::DateFormat get_DateFormat() const
Gets the date format of the table.
int32_t get_RowHeight() const
Gets the row height in a table, where the row height is the number of lines of text.
bool get_AdjustHeaderRowHeight() const
Gets a value indicating whether the header row height of the table can be adjusted.
System::String get_Name() const
Gets the name of a Table object.
bool get_ShowAddNewColumn() const
Gets a value indicating whether to show 'Add New Column' interface.
const System::SharedPtr< TableFieldCollection > & get_TableFields() const
Gets a TableFields collection representing the fields in the table.
Table()
Initializes a new instance of the Table class.
int32_t GetHashCode() const override
Returns a hash code for this Table.