Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

11.10.7 HTML Writer Paragraph Functions

Paragraphs (or blocks) can be added as an entire chunk, by opening the paragraph, adding text repeatedly and then closing the paragraph (open mode) or by beginning a paragraph, adding styled data and completing the paragraph (styled mode).

Table cells can also contain paragraphs by opening a cell, then adding one or more paragraphs.

Only one paragraph can be open at any given time.

An HTML <P> is added with the CLASS and inline STYLE attributes defined as set up by the HTMLSetBlockClass and HTMLSetBlockStyle functions, respectively.

Functions for open mode processing:

HTMLAddText — Adds unencoded or encoded text to the stream in open or styled mode with optional style.

HTMLAddPara — Adds a complete paragraph with text data in the current encoding mode with optional text alignment.

HTMLParaOpen — Opens a paragraph to have text added in open mode.

HTMLParaClose — Closes the current paragraph that employed open mode.

Style mode processing:

HTMLAddText — Adds unencoded or encoded text to the stream in open or styled mode with optional style.

HTMLBeginPara — Opens a paragraph for use in stylized mode.

HTMLCompletePara — Wraps up and writes a stylized paragraph.

Related Functions

HTMLAddLinkedText — Adds an inline text segment as a link.

HTMLSetBlockClass — Sets the class name to be used for blocks going forward.

HTMLSetBlockStyle — Sets a specified style item to be used for blocks going forward.