Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLSetLinkClass Function

Overview

The HTMLSetLinkClass function sets the HTML/CSS style sheet class name for the next link for <A HREF=...>.

Syntax/Parameters

Syntax

int = HTMLSetLinkClass ( handle hObject, string class );

Parameters

hObject

A handle to an HTML Writer Object.

class

A string specifying the class name to be used for the next block. An empty string will clear the class name.

Return Value

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

Remarks

Using this function results in the next applicable tag having the CLASS attribute set. Other CSS properties may also apply or be inherited when the HTML is viewed in a browser.

The syntax of the class name is not tested. It is up to the script programmer to ensure that the class exists in the style sheet for the HTML object. 

Related Functions

Platform Support

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

Legato IDE, Legato Basic