Numbered
class Numbered(val key: String, val children: (location: String) -> List<Node>) : LocationTrackableNode
Node that can be numbered depending on its location in the document and the amount of occurrences according to its key.
Parameters
key
name to group (and count) numbered nodes
children
supplier of the node content given the evaluated SectionLocation, formatted according to the active DocumentNumbering
See also
for storing locations
Constructors
Properties
Functions
Link copied to clipboard
fun LocationTrackableNode.formatLocation(context: Context, format: (DocumentNumbering) -> NumberingFormat?): String?
Link copied to clipboard
Link copied to clipboard