Hi Super Gurus
I have created special ribbon buttons for my client and the two options that I can't work out how to add to my ribbon is the Watermark option (Page Layout, Watermark) and Picture Compress dialog box. I have attached three images of what I'm referring to.
I used the Customise Ribbon option and dragged these two options into a new group and they worked fine. I then used 'Export all customizations' to save those settings into a "Word Customizations.exportedUI"
file so that I could see what code was generated. The code that it constructed for those two options are:
I can't work out how to use this in my xml code so that when the user clicks those options they run in the same way as they should in Word.
For example, here is xml code that I have for the watermark command:
<button id="btnWatermarkGallery" label="Show/Hide DRAFT watermark" screentip="Show/Hide DRAFT watermark" onAction="MenuButtonOnActi
How do I incorporate the information <mso:gallery idQ="mso:WatermarkGallery"
/> into my existing code? Do I still need to use OnAction? I was hoping that Word would know what inbuilt command to run when these options were selected by the user and would not need me to specify anything within the MenuButtonOnAction statement.
Also advice on how to use the PicturesCompress command in the xml code would be really appreciated. I noticed that one is a control idQ and the other was a gallery idQ so not sure what to do with that information.
Thank you so much ...