Sablon.HTMLConverter.Paragraph (sablon v0.4.4)

Copy Markdown View Source

A w:p element - the top level content container of a Word document.

Paragraphs cannot be nested, so anything block level inside one is hoisted by the tag configuration rather than handled here.

Summary

Functions

The child elements a w:p may contain.

Converts an HTML block level element into a paragraph.

The w:pPr properties a paragraph accepts.

Types

t()

@type t() :: %Sablon.HTMLConverter.Paragraph{
  attributes: map(),
  properties: Sablon.HTMLConverter.NodeProperties.t() | nil,
  runs: [struct()]
}

Functions

child_tags()

The child elements a w:p may contain.

children(paragraph)

describe(paragraph)

new(env, node, properties)

Converts an HTML block level element into a paragraph.

properties()

The w:pPr properties a paragraph accepts.

put_children(paragraph, runs)

to_docx(paragraph)