~jaro/balkon

ref: 8b8b095a2d7cc321b520b3d3dc707f3f0501d2e3 balkon/src d---------
Deduplicate pagination code.
Implement Rich pagination.
Qualify Plain pagination.
Make paginateAll generic.
Implement piecewise paragraph construction.
Refactor pagination to allow rich layout.
Convert plain layout to a wrapper over rich layout.
Add basic support for Rich layout.
Embed TextOptions in ResolvedSpan.

SpanOptions are relegated to the legacy Plain interface, and
TextOptions are now being used internally.
Define tree for structuring paragraph content.
Define BoxOptions and TextOptions for formatting.

Differentiating the two record types reflects the fact that the root
inline box cannot be styled but its text contents can.
Separate interface-independent layout algorithm.
Separate interface-independent constants.
Add user data to spans.
Use line numbers for page breaks.
Add line numbers to laid out fragments.
Future-proof records with options.
Fix compatibility with base < 4.15.
Improve terminology around fragments.
Fix documentation: missing Paginable.
Next