ScroogeXHTML for Object Pascal 9.3
Loading...
Searching...
No Matches
TTextNode Class Reference

A class which represents a text block which has the same attributes. More...

Inheritance diagram for TTextNode:
ISimpleDomTextNode

Public Member Functions

 TTextNode (const TSimpleDomNode AOwner)
 Create a new instance of the TTextNode class.
 ~TTextNode ()
 Destructor for the TTextNode class.
TCharacterProperties GetTextProperties ()
 Get the text properties of the TTextNode object.
 SetTextProperties (const TCharacterProperties CP)
 Set all text properties of the TTextNode object.

Public Attributes

string Anchor
 Represents an anchor or bookmark for the text node.
Boolean Encoded
 Indicates whether the text is already encoded.
string FieldExpression
 Represents the field expression associated with the text node.

Detailed Description

A class which represents a text block which has the same attributes.

Constructor & Destructor Documentation

◆ TTextNode()

TTextNode::TTextNode ( const TSimpleDomNode AOwner)

Create a new instance of the TTextNode class.

Parameters
AOwnerThe owner node of this text node.

◆ ~TTextNode()

TTextNode::~TTextNode ( )

Destructor for the TTextNode class.

Cleans up resources used by the text node.

Member Function Documentation

◆ GetTextProperties()

TCharacterProperties TTextNode::GetTextProperties ( )

Get the text properties of the TTextNode object.

Returns
The current text properties.

Implements ISimpleDomTextNode.

◆ SetTextProperties()

TTextNode::SetTextProperties ( const TCharacterProperties CP)

Set all text properties of the TTextNode object.

Parameters
CPThe text properties to set.

Implements ISimpleDomTextNode.

Member Data Documentation

◆ Anchor

string TTextNode::Anchor

Represents an anchor or bookmark for the text node.

See also
GetAnchor For reading
SetAnchor For writing

◆ Encoded

Boolean TTextNode::Encoded

Indicates whether the text is already encoded.

See also
GetEncoded For reading
SetEncoded For writing
Returns
True if encoded, otherwise False.

◆ FieldExpression

string TTextNode::FieldExpression

Represents the field expression associated with the text node.

See also
GetFieldExpression For reading
SetFieldExpression For writing