Search and Replace Style (W)

Modified on Mon, 5 Oct at 1:54 PM

Using the command below, it is possible to find all instances of a particular style in a document and replace it with another style.

<Cmd case="BaseExtensions:search-replace-style" to-search="xxx" to-replace="yyy"/>

Parameters

to-search

Holds the name of the style that will be replaced

to-replace

Features the name of the style that will replace the style set above.

Both parameters are compatible with both custom styles (as long as they are part of the document) and built-in styles. When built-in styles are used this list should be used to find the proper enumeration that should be used for each style.

selection-only

Define as either true or false to define whether or not the functionality should apply only to the users selection.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article