Command that converts currently selected text to sentence case, lowercase, uppercase, capitalizes each word, or toggles case, while preserving the styling. A sample demonstrating how to add a custom implementation of a similar command is attached.
Include import and export in open XML - (<w:caps /> property in run properties) and in HTML (text-transform property).