Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLSetNewLineMode Function

Overview

The HTMLSetNewLineMode function sets the type of line endings to be added when code is added that have new lines for formatting.

Syntax/Parameters

Syntax

int = HTMLSetNewLineMode ( handle hObject, [boolean mode] );

Parameters

hObject

A handle to an HTML Writer Object.

mode

An optional boolean value set to TRUE for CR/LF (0x0D/0x0A) mode or FALSE for CR (0x0D) only. The default value is TRUE.

Return Value

Returns an int value as ERROR_NONE or a formatted error code on failure.

Remarks

When an HTML Writer Object is created, the default mode is CR only. This function does not process inline return characters during an append. If raw text or a segment is added, the line endings are copied as-is without conversion.

Related Functions

Platform Support

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

Legato IDE, Legato Basic