IMinute Interface
Name | Description | |
---|---|---|
ClearRowValues(int) | Clears all data on a particular row, just as it is after you insert a new row. | |
DeleteRow(int, int, bool) | Deletes one or more rows from the minute. | |
GetBlob(int, string, ref string) | Reads the content of the blob belonging to a column of a minute row. | |
GetFieldValue(int, string) | Returns a value of a specified field from a minute cell. | |
GetFieldsValues(int, int, List<String>, bool) | Returns values of multiple fields in multiple rows in a minute. | |
GetFullData() | Gets the full data of the minute - all rows with all specified fields. It also updates the internal data cache with this data. | |
GetMultipleTaskInGanttAssignation(int) | Returns an IGanttTasksAssignation object representing Gantt Tasks being referenced in the row. It is to be used when multiple Gantt tasks are pointed out by the same row. | |
GetRowsCount() | Returns the count of rows in the minute. | |
GetSetImageAsObject(int) | Gets the information about inputs to the set. | |
GetSetImageAsWorkbook(int) | Gets a workbook image of the workbook being in the set database used to fill in the row. | |
GetTypeOfSetImage(int) | Determines the type of the set image being in the minute row. | |
GroupRows(int, int) | Groups specified rows. | |
InsertRows(int, int) | Inserts one or more empty rows into the minute. | |
InsertSetAtRow(int, string, int, string, double) | ||
InsertSetAtRow(int, string, int, string, double, InputFieldsFromSetImage) | Inserts a set into a minute from the specified database. | |
InsertSetAtRow(int, string, int, string, double, InputFieldsFromSetImage, InsertSetErrorAction) | Inserts a set into a minute from the specified database. | |
SetFieldValue(int, string, object) | Writes a value to a minute cell. | |
SetFieldValue(int, Dictionary<StringObject>) | Writes values to a minute row. | |
StoreBlob(int, string, byte[], string) | Writes a blob to a row to the specified column. | |
StoreSetImageAsObject(int, InputFieldsFromSetImage) | Stores the information about inputs to the set. | |
UngroupRows(int, int) | Ungroups specified rows. | |
UpdateRowsFromDatabases(int, int, List<String>, List<String>, List<String>) | Updates specified rows when they come from article databases. | |
UpdateValuesConditionally(string, object, string, object, WhereConditionType, bool) | Updates field values of the minute if the minute row satisfies the test condition. |
Each minute belongs to a WBS task and it contains zero or several rows (lines). Each row contains several columns, also called fields.
Depending on the column type, fields may contain numeric, textual, date or Gantt information. There are some special fields explained below.
TaskInGantt field
This field is used for referencing gantt tasks. When the TaskInGantt field refers to only one Gantt task, the GetFieldValue function returns a string which contains the unique description of the task. When the TaskInGantt field refers to several tasks, the function returns "<Multi>". Then you have to use the GetMultipleTaskInGanttAssignation function to get info about these tasks.
FreeField field
This is a hidden field not accessible from GUI. You can only read and write to it programmatically. The purpose of FreeField field is to define minute row formatting.
It consists of 10 characters. Each character position represents a particular formatting. If the character is set to a space ' ', the formatting is not applied. If the character at the position is set to an upper 'X', the formatting is applied.
Explanation of the formatting:
Character position (zero-based) | Meaning |
---|---|
4 | Strikethrough. “X” = on, space = off |
5 | Italic. “X” = on, space = off |
6 | Bold. “X” = on, space = off |
7 | Underline. “X” = on, space = off |
8 | Color. space = White |
Other positions are not used.
You can use the FreeFieldValue class to manipulate the values easily.