Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

HTMLIsFieldBlock Function

Overview

The HTMLIsFieldBlock function checks a specified token or the currently loaded element for being a block type field or pseudo element.

Syntax/Parameters

Syntax

boolean = HTMLIsFieldBlock ( handle hObject | TOKEN token );

Parameters

hObject

A handle to an SGML Object. Or,

token

An TOKEN (or dword) specifying an HTML element token.

Return Value

A boolean value as non-zero for a match condition or FALSE on no match or failure. See HTML Element Testers for HTML_IS_ definitions of non-zero conditions. Use the GetLastError function to retrieve a formatted error code.

Remarks

Field elements are pseudo tags that do not impact rendering. The following elements are consider a block field (meant to behave like an HTML division):

Field: Auto-Index        SGML_FIELD_NAME_AUTO_INDEX

Field: Auto-TOC          SGML_FIELD_NAME_AUTO_TOC

Field: Include-Text      SGML_FIELD_NAME_INCLUDE_TEXT

Field: List              SGML_FIELD_NAME_LIST

Field: Named-Area        SGML_FIELD_NAME_NAMED_AREA

Field: Page              SGML_FIELD_NAME_PAGE_DATA

Field: Rule-Page         SGML_FIELD_NAME_RULE_PAGE

Field: Rule-Table        SGML_FIELD_NAME_RULE_TABLE

Note that by default, the SGML element parser does not process fields.

The CSS ‘display’ property is not inspected for this function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic