toolbars.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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": "submitDelayed.png",
  52. "img_over": "submitDelayed_over.png",
  53. "title": "定时发布",
  54. "action": "publishDocumentDelayed",
  55. "text": "定时发布",
  56. "id": "action_publishDocumentDelayed",
  57. "control": "allowPublishDocumentDelayed",
  58. "read": false,
  59. "edit" : true
  60. },
  61. {
  62. "type": "MWFToolBarButton",
  63. "img": "save.png",
  64. "img_over": "save_over.png",
  65. "title": "保存草稿",
  66. "action": "saveDraftDocument",
  67. "text": "保存草稿",
  68. "id": "action_saveDraftDocument",
  69. "control": "allowPublishDocument",
  70. "read": false,
  71. "edit" : true
  72. },
  73. {
  74. "type": "MWFToolBarButton",
  75. "img": "popular.png",
  76. "img_over": "popular_over.png",
  77. "title": "设置热点",
  78. "action": "setPopularDocument",
  79. "id": "action_popular",
  80. "text": "设置热点",
  81. "control": "allowPopularDocument",
  82. "read": true,
  83. "edit" : true
  84. },
  85. {
  86. "type": "MWFToolBarButton",
  87. "img": "del.png",
  88. "img_over": "del_over.png",
  89. "title": "删除文件",
  90. "action": "deleteDocument",
  91. "text": "删除",
  92. "id": "action_delete",
  93. "control": "allowDeleteDocument",
  94. "read": true,
  95. "edit" : true
  96. },
  97. {
  98. "type": "MWFToolBarButton",
  99. "img": "print.png",
  100. "img_over": "print_over.png",
  101. "title": "打印文档",
  102. "action": "printDocument",
  103. "text": "打印",
  104. "id": "action_print",
  105. "read": true,
  106. "edit" : true
  107. },
  108. {
  109. "type": "MWFToolBarButton",
  110. "img": "top.png",
  111. "img_over": "top_over.png",
  112. "title": "置顶",
  113. "action": "setTop",
  114. "text": "置顶",
  115. "id": "action_setTop",
  116. "read": true,
  117. "edit" : true,
  118. "control": "allowSetTop"
  119. },
  120. {
  121. "type": "MWFToolBarButton",
  122. "img": "topcancel.png",
  123. "img_over": "topcancel_over.png",
  124. "title": "取消置顶",
  125. "action": "cancelTop",
  126. "text": "取消置顶",
  127. "id": "action_cancelTop",
  128. "read": true,
  129. "edit" : true,
  130. "control": "allowCancelTop"
  131. }
  132. ]