TRVAControlPanel.AutoDeleteUnusedStyles

<< Click to display table of contents >>

TRVAControlPanel.AutoDeleteUnusedStyles

Instructs to delete unused styles from documents when it's possible.

property AutoDeleteUnusedStyles: Boolean;

If True, all unused text, paragraph and list styles are deleted after executing TrvActionNew and TrvActionOpen.

It's highly recommended to leave it equal to True, otherwise a number of unused styles will be constantly increased (as well as sizes of documents).

If style templates are used, this property is ignored: instead of deleting unused styles, "New" and "Open" actions resets styles according to StyleTemplates.

Default value:

True