|
<< Click to display table of contents >> TCustomRichViewEdit.ApplyParaStyleConversion |
Applies a custom conversion procedure to styles of the selected paragraphs.
function ApplyParaStyleConversion(UserData: Integer;
Recursive: Boolean = True): Boolean;
(introduced in version 1.7)
This method calls OnParaStyleConversion event for each selected item. Using this method, you can implement commands like "change alignment" or "increase indent".
This method ignores any paragraph protection, it can change paragraph style even if rvpaoStyleProtect is included in Options of existing paragraphs' styles. If you want to respect paragraph style protection, check this option yourself in OnParaStyleConversion event.
If Recursive = False, OnParaStyleConversion is not called for cells of selected tables (except for the case of multicell selection in a single table).
Returns True if the method made changes to the document.
Method type:
editing-style.
Demo:
▪Demos\*\Editors\Editor 2\
See also:
See also events:
See also: