Sablon.HTMLConverter.TableCell (sablon v0.4.3)

Copy Markdown View Source

A w:tc element.

Word requires the content of a cell to be block level, so runs and other inline content are wrapped in paragraphs; an empty cell still gets one, otherwise the document is considered corrupt.

Summary

Functions

The child elements a w:tc may contain.

Converts a td or th element.

The w:tcPr properties a table cell accepts.

Types

t()

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

Functions

child_tags()

The child elements a w:tc may contain.

children(table_cell)

describe(cell)

new(env, node, properties)

Converts a td or th element.

properties()

The w:tcPr properties a table cell accepts.

put_children(cell, children)

to_docx(cell)