|
ScroogeXHTML for Object Pascal 10.0-RC1
|
Represents a paragraph consisting of ISimpleDomTextNode objects. More...
Public Member Functions | |
| TParagraphNode (const TSimpleDomNode AOwner) | |
| Create a new instance of the TParagraphNode class. | |
| ~TParagraphNode () | |
| Destructor for the TParagraphNode class. | |
| AddPicture (const string PictureUrl, Cardinal WidthPx, Cardinal HeightPx, const TCharacterProperties CP) | |
| Add a picture node, followed by a fresh empty text node so that subsequent text/property calls keep operating on a real text node. | |
| 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. | |
Public Attributes | |
| TParagraphProperties | strict |
Represents a paragraph consisting of ISimpleDomTextNode objects.
| TParagraphNode::TParagraphNode | ( | const TSimpleDomNode | AOwner | ) |
Create a new instance of the TParagraphNode class.
| AOwner | The owner node of this paragraph node. |
| TParagraphNode::~TParagraphNode | ( | ) |
Destructor for the TParagraphNode class.
Cleans up resources used by the paragraph node.
| TParagraphNode::AddPicture | ( | const string | PictureUrl, |
| Cardinal | WidthPx, | ||
| Cardinal | HeightPx, | ||
| const TCharacterProperties | CP ) |
Add a picture node, followed by a fresh empty text node so that subsequent text/property calls keep operating on a real text node.
Implements ISimpleDomParagraph.
| TParagraphNode::AddText | ( | ) |
Add a new text element to the paragraph if the current text buffer is not empty.
Implements ISimpleDomParagraph.
| TParagraphProperties TParagraphNode::GetProperties | ( | ) |
Get the current paragraph properties.
Implements ISimpleDomParagraph.
| TParagraphNode::SetParProperties | ( | const TParagraphProperties | PP | ) |
Set all paragraph properties.
| PP | The paragraph properties to set. |
Implements ISimpleDomParagraph.
| TParagraphProperties TParagraphNode::strict |