Skip to main content

Module flow

Module flow 

Source
Expand description

Drawing an ODF body: the block renderer all three applications share.

ODF’s content model is the same in a text document, a spreadsheet cell and a slide’s text frame — text:p, text:span, text:list, table:table, draw:frame — so this is written against that model and not against a format. A text document hands it the body; a spreadsheet hands it a cell; a presentation hands it a frame.

What it does not do is paginate. A page layout says how wide a line may be and that width is what it is given; page boxes, widows, floats and columns are typesetting, and a reading view is what this draws.

Structs§

Editor
A paragraph being typed into: which one, as a path of child indices from the root the flow draws, and what the text box holds.
Flow
The state a run of blocks is drawn with.
Pictures
Pictures already decoded, kept for as long as the document is open.

Enums§

Outcome
What the editor asked for when it closed.