<< Click to display table of contents >>


Applies a custom conversion procedure to styles of the selected paragraphs.

procedure ApplyParaStyleConversion(UserData: Integer; Recursive: Boolean = True);

(introduced in version 1.7)

This procedure 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).

Method type: editstyle editing-style.


Demos\*\Editors\Editor 2\

See also:



See also events:


See also:

Paragraphs overview.