dcfmodel_element_list
dcfmodel_element_list(arr, type[, doc[, dcfOnly]])
This function returns the array arr with a list of elements designated as a given type in the document type configuration file (.dcf) for the document type associated with doc. The function also returns the number of entries in array arr. If doc is omitted or 0, the current document is used.
If the document is using a Arbortext Styler stylesheet (.style), data on graphic, link, and link target types is obtained from the .style file rather than the .dcf file. If the document is not using a Arbortext Styler stylesheet, or if the dcfOnly parameter is set to 1, all data is retrieved from the .dcf file.
Following are the valid type values that are sorted. (The primary element is returned first.)
• bold
• bulleted_list
• graphic
• italic
• link
• numbered_list
• paragraph
• target
• underline
• smallcaps
• subscript
• superscript
|
The SmallCaps, Subscript, and Superscript text styles are not supported in this release.
|
Following are the valid type values that are not sorted:
• division
• division_title
• list_block
• list_item
• webcompose_boundary
Related Topics