Xport Interface: formatter::layout_style

Sets or retrieves the layout style for a specific tag.

tag_layout_style formatter::layout_style(1st Variety
  xhtml_tag_enum tg
);
  void layout_style(2st Variety
  xhtml_tag_enum tg,
  tag_layout_style tls
);

Parameters

tg

A xhtml_tag_enum enumerator which specifies the tag which to set the layout style.

tls

A tag_layout_style enumerator which specifies the layout style to apply to the specified tag.

Returns

In the first variety, returns a tag_layout_style enumerator which reveals the layout style of the specified tag.

Remarks

This operation is used to set or to determine the tag layout style of a specific tag.

The first variety formats and writes a document object. The second variety formats and writes a markup object. Where these objects are written is determined by the output stream or file which was specified in the formatter's constructor.

Complexity

Logarithmic

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.