TE Edit Control Java / HTML-JavaScript Help
Product page

TerEditListOr

Create or edit a list-override item.

int TerEditListOr( NewListOr, ListOrId, PropDialog, ListId, OverrideLevels, flags)
boolean NewListOr;Set to true to create a new list-override item. Set to false to modify an existing list-override item.
int ListOrId;The id of the list-override item to modify. This parameter is ignored when the 'NewListOr' parameter is set to true.
boolean PropDialog;Show a dialog box for the user to enter the list-override properties. When this parameter is set to true, the values for the remaining parameters are ignored.
int ListId;The id of the list item to override.
boolean OverrideLevels;Set to true to create a new set of level information for the list-override. The level information includes properties such as number-format, starting-number, fonts, etc. When this parameter is false, the list-override item simply points to the corresponding list item without any modification.
DWORD flags;Set to Zero. This parameters is reserved for future use.

Description: The list-override items are used to override the list items. Multiple list overrides can be created for a list item. This allows for various fragments of a continuous list to be displayed in different formats. Please refer to the TerEditList function for further description of list numbering mechanism..

Return Value: When successful, this function returns a valid list-override id. A return value of -1 indicates an error condition.