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.
Comments
0 comments
Please sign in to leave a comment.