Documentation
¶
Overview ¶
Package label writes the labels a reader sees in front of list items: bullets, and numbers as letters and Roman numerals. Moved here from go-fast-ooxml and go-fast-msbin (internal/label, the same in both), with Alpha, the lettering HTML, RTF and OpenDocument use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alpha ¶
Alpha writes 1 as A, 26 as Z, 27 as AA, 28 as AB: it counts in base 26 without a zero, as CSS's upper-alpha, RTF and OpenDocument (without letter synchronisation) do. It returns "" for a number below 1.
func Bullet ¶
Bullet returns the character a reader sees for a bullet definition. Bullets are usually stored as a code of a symbol font, often in the private range; the code is translated by the font's table, and a code with no character, or a bullet with nothing to show, becomes a plain bullet.
Types ¶
This section is empty.