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

Represents a paragraph consisting of ISimpleDomTextNode objects. More...

Inheritance diagram for TParagraphNode:
ISimpleDomParagraph

Public Member Functions

 TParagraphNode (const TSimpleDomNode AOwner)
 Create a new instance of the TParagraphNode class.
 ~TParagraphNode ()
 Destructor for the TParagraphNode class.
 AddText ()
 Add a new text element to the paragraph if the current text buffer is not empty.
TParagraphProperties GetProperties ()
 Get the current paragraph properties.
 SetParProperties (const TParagraphProperties PP)
 Set all paragraph properties.

Detailed Description

Represents a paragraph consisting of ISimpleDomTextNode objects.

Constructor & Destructor Documentation

◆ TParagraphNode()

TParagraphNode::TParagraphNode ( const TSimpleDomNode AOwner)

Create a new instance of the TParagraphNode class.

Parameters
AOwnerThe owner node of this paragraph node.

◆ ~TParagraphNode()

TParagraphNode::~TParagraphNode ( )

Destructor for the TParagraphNode class.

Cleans up resources used by the paragraph node.

Member Function Documentation

◆ AddText()

TParagraphNode::AddText ( )

Add a new text element to the paragraph if the current text buffer is not empty.

Implements ISimpleDomParagraph.

◆ GetProperties()

TParagraphProperties TParagraphNode::GetProperties ( )

Get the current paragraph properties.

Returns
The current paragraph properties.

Implements ISimpleDomParagraph.

◆ SetParProperties()

TParagraphNode::SetParProperties ( const TParagraphProperties PP)

Set all paragraph properties.

Parameters
PPThe paragraph properties to set.

Implements ISimpleDomParagraph.