NumberingCounterSymbol

Represents a NumberingSymbol within a NumberingFormat with the responsibility of counting items (e.g. headings) according to a specific rule (strategy).

Inheritors

Properties

Link copied to clipboard

The range of values that this symbol can map to. If a value is outside this range, it cannot be mapped and an alternative strategy should be used. In the default NumberingFormat.format implementation, out-of-range values are simply mapped to their decimal representation. E.g. AlphaNumberingSymbol can map values from 1-26 as A-Z. Value 0 is formatted as 0.

Functions

Link copied to clipboard
abstract fun map(index: Int): String

Maps a numeric value to a string according to the numbering strategy.