convert-to-list-macro

How to get convert-to-list-macro

Depend on fontoxml-list-flow to make this operation available.

Execute the macro to convert the current paragraph to a list.

This operation differs from convert-list in that this operation will not convert a list back to a paragaph.

This operation expects the selection to be inside a list item (configured using configureAsListElements), or to be across one or more paragraphs.

Imported operation data

Name Type Description
listNodeName String

The qualified name of the list element to create

[listAttributes] Object

Attributes to be set on the list

listItemNodeName String

The qualified name of the list item elements to create

paragraphSelector XPathTest

The selector for which nodes should be converted to list items