toolbars.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [
  2. {
  3. "type": "MWFToolBarButton",
  4. "img": "close.png",
  5. "img_over": "close_over.png",
  6. "title": "关闭文档",
  7. "action": "closeDocument",
  8. "text": "关闭",
  9. "id": "action_close",
  10. "read": true,
  11. "edit" : true
  12. },
  13. {
  14. "type": "MWFToolBarButton",
  15. "img": "edit.png",
  16. "img_over": "edit_over.png",
  17. "title": "编辑文档",
  18. "action": "editDocument",
  19. "id": "action_edit",
  20. "text": "编辑",
  21. "control": "allowEditDocument",
  22. "read": true,
  23. "edit" : false
  24. },
  25. {
  26. "type": "MWFToolBarButton",
  27. "img": "save.png",
  28. "img_over": "save_over.png",
  29. "title": "保存文档",
  30. "action": "saveDocument",
  31. "text": "保存",
  32. "id": "action_saveData",
  33. "control": "allowSave",
  34. "read": false,
  35. "edit" : true
  36. },
  37. {
  38. "type": "MWFToolBarButton",
  39. "img": "submit.png",
  40. "img_over": "submit_over.png",
  41. "title": "发布文档",
  42. "action": "publishDocument",
  43. "text": "发布",
  44. "id": "action_publishDocument",
  45. "control": "allowPublishDocument",
  46. "read": false,
  47. "edit" : true
  48. },
  49. {
  50. "type": "MWFToolBarButton",
  51. "img": "popular.png",
  52. "img_over": "popular_over.png",
  53. "title": "设置热点",
  54. "action": "setPopularDocument",
  55. "id": "action_popular",
  56. "text": "设置热点",
  57. "control": "allowPopularDocument",
  58. "read": true,
  59. "edit" : true
  60. },
  61. {
  62. "type": "MWFToolBarButton",
  63. "img": "del.png",
  64. "img_over": "del_over.png",
  65. "title": "删除文件",
  66. "action": "deleteDocument",
  67. "text": "删除",
  68. "id": "action_delete",
  69. "control": "allowDeleteDocument",
  70. "read": true,
  71. "edit" : true
  72. }
  73. ]