The WordML property tag of an AST node, e.g. w:pPr for a paragraph.
Each kind of node accepts a fixed set of properties; anything else is
"transferred", i.e. handed down to the children, which is how a style set on
a div still reaches the runs inside it.
Summary
Functions
A compact key=value;key rendering, used in inspect output.
Reads a single property.
Builds a property set, splitting properties along whitelist.
Builds the w:pPr properties of a paragraph.
Sets a single property.
Builds the w:rPr properties of a run.
Builds the w:tblPr properties of a table.
Builds the w:tcPr properties of a table cell.
Builds the w:trPr properties of a table row.
Serialises the properties, returning nil when there are none.
Types
@type t() :: %Sablon.HTMLConverter.NodeProperties{ properties: Sablon.Props.t(), tagname: binary(), transferred_properties: Sablon.Props.t() }
Functions
A compact key=value;key rendering, used in inspect output.
Reads a single property.
@spec new(binary(), Sablon.Props.t(), [binary()]) :: t()
Builds a property set, splitting properties along whitelist.
Builds the w:pPr properties of a paragraph.
Sets a single property.
Builds the w:rPr properties of a run.
Builds the w:tblPr properties of a table.
Builds the w:tcPr properties of a table cell.
Builds the w:trPr properties of a table row.
Serialises the properties, returning nil when there are none.