You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 7 месеци
123456789101112131415161718192021222324252627282930313233
  1. <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnWPSWorkTabLoad" >
  2. <ribbon startFromScratch="false">
  3. <tabs>
  4. <tab id="WPSWorkExtTab" label="OA辅助" getVisible="OnGetVisible"> <!-- OA菜单开启显隐处理-->
  5. <group id="OAEntryGroup" label="OA常用功能">
  6. <button id="btnSaveToServer" label="保存到OA" onAction="OnAction"
  7. getEnabled="OnGetEnabled" getImage="GetImage" size="large"/>
  8. <button id="btnSaveAsFile" label="保存本地" getLabel="OnGetLabel" onAction="OnAction"
  9. getEnabled="OnGetEnabled" getVisible="OnGetVisible" getImage="GetImage" size="large" />
  10. </group>
  11. </tab>
  12. </tabs>
  13. </ribbon>
  14. <commands>
  15. <command idMso="ReviewTrackChangesMenu" label="修订" getEnabled="OnGetEnabled"/>
  16. <command idMso="FileSaveAsMenu" label="另存为" getEnabled="OnGetEnabled"/>
  17. <command idMso="FileSaveAs" label="另存为" getEnabled="OnGetEnabled"/>
  18. <command idMso="FileSave" label="保存" getEnabled="OnGetEnabled"/>
  19. <command idMso="FilePrint" label="打印" getEnabled="OnGetEnabled"/>
  20. <command idMso="FilePrintMenu" label="打印" getEnabled="OnGetEnabled"/>
  21. <command idMso="FilePrintPreview" label="打印预览" getEnabled="OnGetEnabled"/>
  22. <command idMso="ReviewRejectChangeMenu" getEnabled="OnGetEnabled"/>
  23. <command idMso="ReviewAcceptChangeMenu" getEnabled="OnGetEnabled"/>
  24. <command idMso="FileSaveAsPdfOrXps" getEnabled="OnGetEnabled"/>
  25. <command idMso="FileSaveAsPicture" getEnabled="OnGetEnabled" />
  26. <command idMso="SaveAsPicture" getEnabled="OnGetEnabled" />
  27. <command idMso="FileMenuSendMail" getEnabled="OnGetEnabled" />
  28. <command idMso="SaveAsOfd" getEnabled="OnGetEnabled"/>
  29. <command idMso="SaveAsPDF" getEnabled="OnGetEnabled"/>
  30. <command idMso="MacroPlay" getEnabled="OnGetEnabled"/>
  31. <command idMso="VisualBasic" getEnabled="OnGetEnabled"/>
  32. </commands>
  33. </customUI>