numbered_list_block_tag_name
numbered_list_block_tag_name(arr[, doc])
This function returns the name of the primary numbered list block tag specified in the document type configuration file (
.dcf) for the document type associated with
doc. This tag is inserted when users select the numbered list button on the
Application toolbar.
If a tag name is returned, numbered_list_block_tag_name function returns arr with an attribute name and attribute value, if they were specified for the tag in the .dcf file.
The function returns the null string if there isn't a numbered list block tag designated for the document type, or if doc is invalid or an ASCII file. If doc is omitted or 0, the current document is used.
For example,
local tag, arr[];
local attr, val;
tag = numbered_list_block_tag_name(arr);
attr = arr['attribute'];
val = arr['attribute_value'];
Related Topics