This is a great tool for handling custom colors in both Word and PowerPoint. The feature opens an interface from where users are able to add and remove custom colors in the active document or presentation or in the stored colors (defined in a theme file).
Please note: Custom Colors in Excel can only be added on a file (via e.g. Branded Startup) and do not appear until you generate a chart. Therefore it is not something we recommend for our customers.
However, if the customer is considering colors as an asset, we can suggest clients to add their colors in the ribbon using our "apply color" technology. This works across Word, PowerPoint and Excel.
Besides explaining the command for Word and PowerPoint, this article will elaborate how the feature works.
Module is located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\76_WP_customColors.xml
Configuration of custom colors
CMD
The following command opens an interface where the custom colors can be handled.
<Cmd case="BaseExtensions:custom-colors" path="X"/>
Parameters
path
Define the path for the given theme file (XML). If the theme file does not exist, the command will automatically create a new theme file in the defined path.
Notice that it is a good idea to locate the particular theme file in your Content/BaseExtensions folder. Furthermore, it is necessary to define the entire path for your theme file. Right click at your theme file and click "Properties". Here, you are able to see the location and copy paste it into this parameter.
Using OmniTools
Notice that when you use the feature from OmniTools to configure custom colors, it will automatically save your themes in ProgramData. You can find them in the following path and move them to the client's Content/BaseExtensions folder:
C:\ProgramData\OfficeExtensions\temp\
How does it work?
As mentioned, this feature will open an interface when clicking at the button. This interface enables the user to add new colors, both as stored colors and in the active document or presentation. Here, the colors can be named and defined with a value (either HEX or RGB).
When colors are added, these can be added from stored colors to the active document or presentation, as well as from the active document or presentation to stored colors. To do so, use the arrows in between the two fields.
In the example below, custom colors are added to the active document.
When these are saved, they will now be visible as custom colors.
In this example, the theme file defined in the path does not exist. Therefore, the command creates a new theme file. If some of the custom colors in the active document are added as stored colors, these will automatically be added to the theme file.
Comments
0 comments
Article is closed for comments.