如何在 Custom UI Editor Customized Tab 中添加 Powerpoint 的内置工具

How to add inbuilt tool of Powerpoint in Custom UI Editor Customized Tab

当我创建自定义选项卡时,它将帮助我在 "Custom UI" 的帮助下在单个选项卡中使用的所有工具,因为我可以添加我拥有的已编写脚本,但不知道如何添加 powerpoint 的内置工具,例如 "Font Color Picker" 我想添加我应该做什么。

下面是脚本

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon startFromScratch="false">
        <tabs>
            <tab id="customTab" label="GEPper">
                <group id="TextTools" label="Text Tools">
                    <button id="FontSize" label=" " image="a4" size="normal" onAction="FontSize" screentip="Font Size 10" supertip=" "/>
                    <button id="FontSize12" label=" " image="a3" size="normal" onAction="FontSize12" screentip="Font Size 12" supertip=" "/>
                    <button id="FontSize14" label=" " image="a2" size="normal" onAction="FontSize14" screentip="Font Size 14" supertip=" "/>
                    <button id="FontSize16" label=" " image="a1" size="normal" onAction="FontSize16" screentip="Font Size 16" supertip=" "/>
                    <button id="FontColorBlack" label=" " image="black" size="normal" onAction="FontColorBlack" screentip="Font Color Black" supertip=" "/>
                    <button id="FontColorWhite" label=" " image="white" size="normal" onAction="FontColorWhite" screentip="Font Color White" supertip=" "/>
                    <button id="Bullet" label=" " image="bullet" size="normal" onAction="Bullet" screentip="Bullet Color Black" supertip=" "/>
                    <button idMso="FontColorPicker"/>
                </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>

如果有人能帮助我,那将是很大的帮助

在功能区 mod 中,内置图库的 XML 如下所示:

<gallery
  idMso="FontColorPicker"
  showImage="true"
  showLabel="false"/>

要查找其他 idMso 标识符,您需要参考 Microsoft 发布的一组 Excel 电子表格。这是 2016 年(也适用于 2019 年)文件的 link:Office 2016 Help Files: Office Fluent User Interface Control Identifiers

PowerPoint 有一本工作簿。搜索第一列。