LocationTargetListItemVariant
data class LocationTargetListItemVariant(val target: LocationTrackableNode, val format: (DocumentNumbering) -> NumberingFormat?) : ListItemVariant
Variant of a ListItem that displays the location of a target node, usually (rendering-dependent) by replacing the item marker with target's position, formatted according to the global numbering format. This is used, for example, in table of contents.
Parameters
target
node to display the location of
format
kind of numbering format to use to format the location
Functions
Link copied to clipboard
Accepts a ListItemVariantVisitor.