BaseExtensions can be used to format text and change style in Word. Here, the user will be able to change the font and create lists with bullets or numbers.
Module is located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\12_W_styleShortcuts.xml
CMD
<Cmd case="BaseExtensions:change-style" style="x"/>
Parameter
style
Define which style the command should format text to. This can either be a custom style or a built in style from this list.
We always recommend to use the built in styles (enumerations) from the list as we then ensure to target the correct style when style names are translated depending on Office language.
level
This parameter is optional and can be used to apply a level to be used from the applied style. Define which level (1-9) the selected range should be set to.
ApplyToEntireParagraph
This parameter is optional. If it is set to true
, the style will be applied to the entire paragraph and not just selected text. It defaults to false
if omitted.
Comments
0 comments
Article is closed for comments.