OWLNext 7.0
Borland's Object Windows Library for the modern age
|
TParaFormat encapsulates the PARAFORMAT structure, which contains information about paragraph formatting attributes of a rich edit control. More...
#include <owl/richedit.h>
Public Member Functions | |
TParaFormat (ulong mask=0) | |
Constructs a default TParaFormat structure. | |
TParaFormat (const TRichEdit &, ulong mask=PFM_ALL) | |
Constructs a TParaFormat structure whose members are initialized with the paragraph formatting attributes of the current selection of a rich edit control. | |
void | ToggleMaskBit (ulong flag) |
Toggles the specified flag in the member which describes which information of the PARAFORMAT structures is valid. | |
void | SetNumbering (uint16) |
Sets the numbering options. The only valid parameter is '0' or PFN_BULLET. | |
void | SetStartIndent (long, bool relative=false) |
Sets the indentation of the first line in the paragraph. | |
void | SetRightIndent (long) |
Sets the size of the right identation, relative to the right margin. | |
void | SetOffset (long) |
Sets the indentation of the second line and subsequent lines, relative to the starting indentation. | |
void | SetAlignment (uint16) |
Sets the alignment option. | |
void | SetTabCount (short, long *) |
Sets the number and absolute positions of the tab stops. | |
void | SetSpaceBefore (long space) |
Vertical spacing before para. | |
void | SetSpaceAfter (long space) |
Vertical spacing after para. | |
void | SetLineSpacing (long space, uint8 rule) |
Line spacing depending on Rule. | |
void | SetStyle (int16 style) |
Style handle. | |
void | SetShading (uint16 wight, uint16 style) |
Shading in hundredths of a per cent Nibble 0: style, 1: cfpat, 2: cbpat. | |
void | SetNumStart (uint16 start) |
Starting value for numbering. | |
void | SetNumStyle (uint16 style) |
Alignment, roman/arabic, (), ), ., etc. | |
void | SetNumTab (uint16 tab) |
Space bet 1st indent and 1st-line text. | |
void | SetBorder (uint16 spac, uint16 width, uint16 border) |
TParaFormat encapsulates the PARAFORMAT structure, which contains information about paragraph formatting attributes of a rich edit control.
Definition at line 119 of file richedit.h.
owl::TParaFormat::TParaFormat | ( | ulong | mask = 0 | ) |
Constructs a default TParaFormat structure.
Definition at line 465 of file richedit.cpp.
Constructs a TParaFormat structure whose members are initialized with the paragraph formatting attributes of the current selection of a rich edit control.
Definition at line 480 of file richedit.cpp.
References owl::TRichEdit::GetParaFormat(), and PRECONDITION.
Sets the alignment option.
The 'opt' parameter can be one of the following values:
PFA_LEFT Paragraphs
are aligned with the left margin.PFA_RIGHT Paragraphs
are aligned with the right margin.PFA_CENTER Paragraphs
are centered. Definition at line 563 of file richedit.cpp.
Definition at line 670 of file richedit.cpp.
Line spacing depending on Rule.
Definition at line 607 of file richedit.cpp.
Sets the numbering options. The only valid parameter is '0' or PFN_BULLET.
Definition at line 508 of file richedit.cpp.
References PRECONDITION.
Starting value for numbering.
Definition at line 640 of file richedit.cpp.
Alignment, roman/arabic, (), ), ., etc.
Definition at line 650 of file richedit.cpp.
Space bet 1st indent and 1st-line text.
Definition at line 660 of file richedit.cpp.
Sets the indentation of the second line and subsequent lines, relative to the starting indentation.
The first line is indented if the 'offset' parameter is negative, or outdented if it is positive.
Definition at line 550 of file richedit.cpp.
Sets the size of the right identation, relative to the right margin.
Definition at line 538 of file richedit.cpp.
Shading in hundredths of a per cent Nibble 0: style, 1: cfpat, 2: cbpat.
Definition at line 629 of file richedit.cpp.
Vertical spacing after para.
Definition at line 597 of file richedit.cpp.
Vertical spacing before para.
Definition at line 587 of file richedit.cpp.
Sets the indentation of the first line in the paragraph.
If the paragraph formatting is being set and the 'relative' parameter is true, the 'start' value is treated as a relative value that is added to the starting indentation of each affected paragraph.
Definition at line 523 of file richedit.cpp.
Style handle.
Definition at line 618 of file richedit.cpp.
Sets the number and absolute positions of the tab stops.
Definition at line 573 of file richedit.cpp.
References PRECONDITION.
Toggles the specified flag in the member which describes which information of the PARAFORMAT structures is valid.
Definition at line 499 of file richedit.cpp.