Sablon.HTMLConverter.Run (sablon v0.4.3)

Copy Markdown View Source

A w:r element, i.e. a run of text with a single set of formatting.

Runs cannot be nested, which is why inline HTML tags only contribute properties and never produce AST nodes of their own.

Summary

Functions

Converts a text node into a run.

The w:rPr properties a run accepts.

Types

t()

@type t() :: %Sablon.HTMLConverter.Run{
  attributes: map(),
  properties: Sablon.HTMLConverter.NodeProperties.t() | nil,
  string: binary()
}

Functions

children(run)

describe(run)

new(env, node, properties)

Converts a text node into a run.

properties()

The w:rPr properties a run accepts.

put_children(run, children)

to_docx(run)