THtmlSection
Declaration
THtmlSection = class(TSection)
Visibility
global
Immediate ancestor
TSection
Immediate descendants
THtmlSubSection, THtmlFileSection
Source
htmlwriter.pas on line 32
Members
Name
|
Type
|
Visibility
|
Synopsis
|
Create
|
constructor
|
public
|
|
WriteText
|
procedure
|
public
|
Writes out text.
|
WriteLink
|
procedure
|
public
|
Writes out a link to a section.
|
WriteHeading
|
procedure
|
public
|
Writes a heading.
|
NewParagraph
|
procedure
|
public
|
Begins a new paragraph.
|
NewLine
|
procedure
|
public
|
Begins a new line.
|
Indent
|
procedure
|
public
|
Makes an indentation.
|
StartTable
|
procedure
|
public
|
Starts writing a table.
|
NextCell
|
procedure
|
public
|
Moves to the next cell in the current row in the table being currently writed out.
|
NextRow
|
procedure
|
public
|
Starts a new row.
|
FinishTable
|
procedure
|
public
|
Finishes writing a table.
|
StartList
|
procedure
|
public
|
Starts writing a list.
|
NextListItem
|
procedure
|
public
|
Starts writing the next item in the current list.
|
FinishList
|
procedure
|
public
|
Finished writing a list;.
|
SuppressLineBreaking
|
procedure
|
public
|
Suppresses automatic line breaking (not for all formats).
|
ResumeLineBreaking
|
procedure
|
public
|
Resumes automatic line breaking (not for all formats).
|
Stream
|
function
|
protected
|
Returns the stream to which the section should be written.
|
|
THtmlSection.Create
Declaration
constructor Create(aname, asectionPath : String);
Visibility
public
Related methods
TSection.Create
Source
htmlwriter.pas on line 56
THtmlSection.WriteText
Declaration
procedure WriteText(text : String; attr : TTextAttributeSet); override;
Visibility
public
Related methods
TSection.WriteText
Source
htmlwriter.pas on line 60
Description
Writes out text. attr Are the attributes of the text. highlight Is true if the text should be highlighted.
THtmlSection.WriteLink
Declaration
procedure WriteLink(descr : String; section : TSection); override;
Visibility
public
Related methods
TSection.WriteLink
Source
htmlwriter.pas on line 65
Description
Writes out a link to a section. If section is nil then writes it as a plain text. Uses descr as a label for the link.
THtmlSection.WriteHeading
Declaration
procedure WriteHeading(const text : String; size : TSize); override;
Visibility
public
Related methods
TSection.WriteHeading
Source
htmlwriter.pas on line 68
Description
Writes a heading. Size may be a number 1 through 6, where 1 is the largest, 6 the smallest. A heading begins a new paragraph.
THtmlSection.NewParagraph
Declaration
procedure NewParagraph; override;
Visibility
public
Related methods
TSection.NewParagraph
Source
htmlwriter.pas on line 70
Description
Begins a new paragraph.
THtmlSection.NewLine
Declaration
procedure NewLine; override;
Visibility
public
Related methods
TSection.NewLine
Source
htmlwriter.pas on line 72
Description
Begins a new line.
THtmlSection.Indent
Declaration
procedure Indent; override;
Visibility
public
Related methods
TSection.Indent
Source
htmlwriter.pas on line 74
Description
Makes an indentation.
THtmlSection.StartTable
Declaration
procedure StartTable(const widths : TIntegerArray; cols : Integer); override;
Visibility
public
Related methods
TSection.StartTable
Source
htmlwriter.pas on line 80
Description
Starts writing a table. Cols is the number of columns. Widths should contain cols entries with the width of each column (in the percentage of the width of the whole table). After calling this routine the next output will be written in the first cell of the table.
THtmlSection.NextCell
Declaration
procedure NextCell; override;
Visibility
public
Related methods
TSection.NextCell
Source
htmlwriter.pas on line 85
Description
Moves to the next cell in the current row in the table being currently writed out. If there is no next cell in the current row then does nothing.
THtmlSection.NextRow
Declaration
procedure NextRow; override;
Visibility
public
Related methods
TSection.NextRow
Source
htmlwriter.pas on line 87
Description
Starts a new row.
THtmlSection.FinishTable
Declaration
procedure FinishTable; override;
Visibility
public
Related methods
TSection.FinishTable
Source
htmlwriter.pas on line 90
Description
Finishes writing a table. If the last row contains no data then it is discarded.
THtmlSection.StartList
Declaration
procedure StartList(numbered : Boolean); override;
Visibility
public
Related methods
TSection.StartList
Source
htmlwriter.pas on line 93
Description
Starts writing a list. The list is numbered if numbered is true.
THtmlSection.NextListItem
Declaration
procedure NextListItem; override;
Visibility
public
Related methods
TSection.NextListItem
Source
htmlwriter.pas on line 95
Description
Starts writing the next item in the current list.
THtmlSection.FinishList
Declaration
procedure FinishList; override;
Visibility
public
Related methods
TSection.FinishList
Source
htmlwriter.pas on line 97
Description
Finished writing a list;.
THtmlSection.SuppressLineBreaking
Declaration
procedure SuppressLineBreaking; override;
Visibility
public
Related methods
TSection.SuppressLineBreaking
Source
htmlwriter.pas on line 99
Description
Suppresses automatic line breaking (not for all formats).
THtmlSection.ResumeLineBreaking
Declaration
procedure ResumeLineBreaking; override;
Visibility
public
Related methods
TSection.ResumeLineBreaking
Source
htmlwriter.pas on line 101
Description
Resumes automatic line breaking (not for all formats).
THtmlSection.Stream
Declaration
function Stream : TFileStream; virtual; abstract;
Visibility
protected
Source
htmlwriter.pas on line 53
Description
Returns the stream to which the section should be written.