ScroogeXHTML for Object Pascal 8.0
TSxOptionsHead Class Reference

Properties for Html HEAD section. More...

Inheritance diagram for TSxOptionsHead:
TSxOptions

Public Member Functions

 TSxOptionsHead (TComponent AOwner)
 Constructor.
 
- Public Member Functions inherited from TSxOptions
 TSxOptions (TComponent AOwner)
 Constructor.
 

Public Attributes

Boolean AddOuterHTML
 Set this property to True to include the surrounding tags for the HTML header and the body in the output document. More...
 
string DocumentTitle
 The document title which will be displayed in the window title of the browser. More...
 
TStrings HeadTags
 List of additional tags for the head section. More...
 
string MetaAuthor
 This property may be used to specify the document author. More...
 
string MetaContentType
 This property may be used to specify a character encoding for the document except for HTML5 (which uses meta charset="UTF-8"). More...
 
string MetaDescription
 This property may be used to specify a document description. More...
 
string MetaKeywords
 This property may be used to specify keywords for the document. More...
 
TStrings MetaTags
 List of additional meta tags which can be used for a document description. More...
 
string MetaViewport
 This property may be used to set the content of meta viewport element. More...
 
TStrings StyleSheetInclude
 Style sheet definitions which will be added in the HEAD section HTML document. More...
 
string StyleSheetLink
 URL of a file which contains external CSS style sheet definitions. More...
 

Detailed Description

Properties for Html HEAD section.

Member Data Documentation

◆ AddOuterHTML

Boolean TSxOptionsHead::AddOuterHTML

Set this property to True to include the surrounding tags for the HTML header and the body in the output document.

See also
FAddOuterHTML For reading
FAddOuterHTML For writing

◆ DocumentTitle

string TSxOptionsHead::DocumentTitle

The document title which will be displayed in the window title of the browser.

See also
FDocumentTitle For reading
FDocumentTitle For writing

◆ HeadTags

TStrings TSxOptionsHead::HeadTags

List of additional tags for the head section.

See also
FHeadTags For reading
SetHeadTags For writing

◆ MetaAuthor

string TSxOptionsHead::MetaAuthor

This property may be used to specify the document author.

It will add a META-element to the HEAD section.

See also
FMetaAuthor For reading
FMetaAuthor For writing

◆ MetaContentType

string TSxOptionsHead::MetaContentType

This property may be used to specify a character encoding for the document except for HTML5 (which uses meta charset="UTF-8").

It will add a META-element to the HEAD section. Default: "text/html;charset=UTF-8"

See also
FMetaContentType For reading
FMetaContentType For writing

◆ MetaDescription

string TSxOptionsHead::MetaDescription

This property may be used to specify a document description.

It will add a META-element to the HEAD section.

See also
FMetaDescription For reading
FMetaDescription For writing

◆ MetaKeywords

string TSxOptionsHead::MetaKeywords

This property may be used to specify keywords for the document.

It will add a META-element to the HEAD section.

See also
FMetaKeywords For reading
FMetaKeywords For writing

◆ MetaTags

TStrings TSxOptionsHead::MetaTags

List of additional meta tags which can be used for a document description.

See also
FMetaTags For reading
SetMetaTags For writing

◆ MetaViewport

string TSxOptionsHead::MetaViewport

This property may be used to set the content of meta viewport element.

See also
FMetaViewport For reading
FMetaViewport For writing

◆ StyleSheetInclude

TStrings TSxOptionsHead::StyleSheetInclude

Style sheet definitions which will be added in the HEAD section HTML document.

Default: empty.

See also
FStyleSheetInclude For reading
SetStyleSheetInclude For writing

◆ StyleSheetLink

string TSxOptionsHead::StyleSheetLink

URL of a file which contains external CSS style sheet definitions.

Default: empty.
Example: If this property has the value "scrooge.css", the following line will be inserted in the HTML header section:

<link href="scrooge.css" rel="stylesheet" type="text/css">
See also
FStyleSheetLink For reading
FStyleSheetLink For writing