Module stdout_formatter_table

This module implements the formatting of tables.

Description

This module implements the formatting of tables.

Data Types

cells()

cells() = [stdout_formatter:cell() | stdout_formatter:formattable()]

rows()

rows() = [stdout_formatter:row() | cells()]

Function Index

display/1 Formats a table and displays it on stdout.
display/2 Formats a table and displays it on stdout.
format/1 Formats a table and returns a formatted_block/0.
format/2 Formats a table and returns a formatted_block/0.
to_string/1 Formats a table and returns a string.
to_string/2 Formats a table and returns a string.

Function Details

display/1

display(Table::stdout_formatter:table() | rows()) -> ok

Formats a table and displays it on stdout.

See also: stdout_formatter:display/1.

display/2

display(Table::stdout_formatter:table() | rows(), InheritedProps::map()) -> ok

Formats a table and displays it on stdout.

See also: stdout_formatter:display/2.

format/1

format(Table::stdout_formatter:table() | rows()) -> stdout_formatter:formatted_block()

Formats a table and returns a formatted_block/0.

See also: stdout_formatter:format/1.

format/2

format(Table::stdout_formatter:table() | rows(), InheritedProps::map()) -> stdout_formatter:formatted_block()

Formats a table and returns a formatted_block/0.

See also: stdout_formatter:format/2.

to_string/1

to_string(Table::stdout_formatter:table() | rows()) -> unicode:chardata()

Formats a table and returns a string.

See also: stdout_formatter:to_string/1.

to_string/2

to_string(Table::stdout_formatter:table() | rows(), InheritedProps::map()) -> unicode:chardata()

Formats a table and returns a string.

See also: stdout_formatter:to_string/2.


Generated by EDoc