RandomGerman
06-11-2015, 02:01 PM
Hi all,
usually I don't believe in ghosts in the machine. Usually it is about something I didn't know or a mistake I made. But this time ... well ...
I'd like to insert the format painter in my own ribbon. On https://msdn.microsoft.com/en-us/library/dd953379(v=office.12).aspx I read that it is a toggleButton and the idMso is "FormatPainter". That's the way I inserted it into my code. XML Validation says: All well! But it just doesn't appear. When I move it, e.g., between Cut and Copy, there isn't even space for it.
Is it possible, that the idMso is NOT "FormatPainter"? Does anyone have other ideas?
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="MixedTab" label="Mixed">
<group id="MyOwnClipboard" label="Clipboard">
<buttonGroup id="CutCopyPaste">
<button idMso="Cut" enabled="true" showLabel="false"/>
<toggleButton idMso="FormatPainter" enabled="true"/>
<button idMso="Copy" enabled="true" showLabel="false"/>
<splitButton idMso="PasteMenu" enabled="true" showLabel="false"/>
</buttonGroup>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
13667
usually I don't believe in ghosts in the machine. Usually it is about something I didn't know or a mistake I made. But this time ... well ...
I'd like to insert the format painter in my own ribbon. On https://msdn.microsoft.com/en-us/library/dd953379(v=office.12).aspx I read that it is a toggleButton and the idMso is "FormatPainter". That's the way I inserted it into my code. XML Validation says: All well! But it just doesn't appear. When I move it, e.g., between Cut and Copy, there isn't even space for it.
Is it possible, that the idMso is NOT "FormatPainter"? Does anyone have other ideas?
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="MixedTab" label="Mixed">
<group id="MyOwnClipboard" label="Clipboard">
<buttonGroup id="CutCopyPaste">
<button idMso="Cut" enabled="true" showLabel="false"/>
<toggleButton idMso="FormatPainter" enabled="true"/>
<button idMso="Copy" enabled="true" showLabel="false"/>
<splitButton idMso="PasteMenu" enabled="true" showLabel="false"/>
</buttonGroup>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
13667