Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

HTMLBeginPara Function

Overview

The HTMLBeginPara function starts a styled paragraph either as a standard or a hanging paragraph.

Syntax/Parameters

Syntax

int = HTMLBeginPara ( handle hObject );

int = HTMLBeginPara ( handle hObject, string | dword first, string | dword left,
                                 [string | dword gutter] );

Parameters

hObject

A handle to an HTML Writer Object.

first

A string or a dword as a measurement for the first indent value for a hanging paragraph. This value should not be confused with the CSS ‘text-indent’ property.

left

A string or a dword as a measurement for the left indent value for a hanging paragraph. This value should not be confused with the CSS ‘margin-left’ or ‘padding-left’ properties.

gutter

An optional string or a dword as a measurement for the gutter value for a hanging paragraph. When this parameter is specified, the hang style changes to right aligned item text.

Return Value

An int as a ERROR_NONE (0) for no error or a formatted error code.

Remarks

The HTMLBeginPara function sets up for a managed paragraph as either a basic or hanging paragraph. In a basic paragraph, the coding is performed with a conventional <P></P> tag group. In hanging mode, a small one row table is created to constrain the list item and the text content.

If a paragraph is presently open, it will automatically be closed. Opening a table or cell will close a currently open paragraph. HTMLBeginPara is meant to add data in styled mode with style control.

Use the HTMLAddText function to add styled information.

Code formatting is adjusted and tidied upon completion.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic