Documentation
¶
Overview ¶
Package hidden has what readers share in placing what the file declares about the display of text (hidden, no ink) on blocks and spans. Moved here from go-fast-ooxml and go-fast-msbin (internal/hidden, the same in both).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Settle ¶
func Settle(collected []gofastcore.Span, from, to int, raw []byte) ([]gofastcore.Span, gofastcore.Display)
Settle turns the spans collected while a paragraph was read into the spans and display reasons of its block. The spans are moved to the trimmed text, raw[from:to]. A reason that covers all of the text becomes a reason of the whole block, which is how the model says it; one that covers part stays on its spans.
Types ¶
This section is empty.