|
Several options for paragraph
type
TRVParaOption =
(rvpaoNoWrap, rvpaoReadOnly,
rvpaoStyleProtect, rvpaoDoNotWantReturns,
rvpaoKeepLinesTogether, rvpaoKeepWithNext,
rvpaoWidowOrphanControl);
TRVParaOptions = set of TRVParaOption;
property Options: TRVParaOptions;
(Introduced in version 1.5 - 10)
Layout Options
Option
|
Meaning
|
rvpaoNoWrap
|
Disallows automatic word wrapping in paragraphs of this style.
If you use no-wrap paragraphs, it's recommended to add rvoClientTextWidth in RichView.Options
|
Editing and Protection Options:
Option
|
Meaning
|
rvpaoReadOnly
|
Disallows editing paragraphs of this style in TRichViewEdit.
This option does not protect from adding new paragraph when the user presses Enter at the beginning or at the end of the paragraph.
This option does not protect this paragraph from deletion together with the larger selection.
|
rvpaoStyleProtect
|
If set, ApplyParaStyle cannot change style of paragraphs of this style.
This option does not protect from ApplyParaStyleConversion, but you can take it into account in OnParaStyleConversion event.
|
rvpaoDoNotWantReturns
|
If set, Enter key will be blocked if the caret is inside paragraph of this style.
|
Printing Options
Option
|
Meaning
|
rvpaoKeepLinesTogether
|
Paragraph of this style is printed on one page, if possible.
|
rvpaoKeepWithNext
|
Paragraph of this style is printed on the same page as the next paragraph, if possible.
|
rvpaoWidowOrphanControl
|
Reserved for future use.
|
Default value:
[]
See also:
|