This feature empowers users to change the font theme in the entire presentation in PowerPoint or document in Word with one click. The font theme must be saved as an XML file located in the client's Content
folder of BaseExtensions. In this way, the command targets an XML file when setting the font theme.
Module is located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\80_P_changeFontTheme.xml
CMD
<Cmd case="BaseExtensions:change-font-theme" filePath="x"/>
Parameter
filePath
Define the file path to the file located in the Content
folder of BaseExtensions.
Example of usage
The command below illustrates an example of usage where the font theme is changed to Arial.
<Cmd case="BaseExtensions:change-font-theme" filePath="Arial.xml"/>
The file is located following this path:
...\OfficeExtensions\Content\BaseExtensions\Arial.xml
Bind to font theme
The feature can be extended by using the following command to binding normal text with same font name as theme font names.
CMD
<Cmd case="BaseExtensions:binds-to-font-theme" traverseShapes="x"/>
Parameter
traverseShapes
This parameter does only work in Word, and will be ignored in PowerPoint. Define to be true
if the command should also bind text in shapes (this takes longer time), or false
if it should only bind text in document and tables.
Comments
0 comments
Article is closed for comments.