Oma_Ot_Template_Column_Options_Set()
Abstract
Sets the options value for a template column.
Syntax
Oma_Ot_Template_Column_Options_Set (template_ptr, column_index, column_options)
| Argument | Type | Description |
|---|---|---|
template_ptr |
OmaT_Ot_Template * |
Template of interest. |
column_index |
int |
Index of the column of interest. |
column_options |
int |
OR’ed value of supported column options. See Details. |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the options were set; PrgC_Compcode_Failure otherwise.
Header
oma_ot.h
Details
options must be 0 or an OR’ed combination of the following symbolic constants:
OMAC_OT_TABLE_COLUMN_OPT_MULTIPLE_VALUES_PER_CELL— collects to this column are put together in a dynamically grown array. (Normally, collects to a column between row writes cause the former value to be overwritten by the new one.)OMAC_OT_TABLE_COLUMN_OPT_INHERIT_PREVIOUS_VALUE—if this column has an undefined value, it should inherit a defined value from the closest preceding row.OMAC_OT_TABLE_COLUMN_OPT_PREFORMATTED_TEXT—this column contains a preformatted text string.