toolbars.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. {
  74. "type": "MWFToolBarButton",
  75. "img": "print.png",
  76. "img_over": "print_over.png",
  77. "title": "打印文档",
  78. "action": "printDocument",
  79. "text": "打印",
  80. "id": "action_print",
  81. "read": true,
  82. "edit" : true
  83. }
  84. ]