configuration.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. {
  2. "modeConfig": {
  3. "initialViewMode": "viewer",
  4. "availableViewModes": [
  5. "viewer",
  6. "annotations",
  7. "contentEditor",
  8. "forms",
  9. "signatures"
  10. ]
  11. },
  12. "toolbarConfig": {
  13. "androidAvailableActions": [
  14. "thumbnail",
  15. "search",
  16. "bota",
  17. "menu"
  18. ],
  19. "iosLeftBarAvailableActions": [
  20. "back",
  21. "thumbnail"
  22. ],
  23. "iosRightBarAvailableActions": [
  24. "search",
  25. "bota",
  26. "menu"
  27. ],
  28. "availableMenus": [
  29. "viewSettings",
  30. "documentEditor",
  31. "documentInfo",
  32. "watermark",
  33. "security",
  34. "flattened",
  35. "save",
  36. "share",
  37. "openDocument"
  38. ]
  39. },
  40. "annotationsConfig": {
  41. "availableTypes": [
  42. "note",
  43. "highlight",
  44. "underline",
  45. "squiggly",
  46. "strikeout",
  47. "ink",
  48. "circle",
  49. "square",
  50. "arrow",
  51. "line",
  52. "freetext",
  53. "signature",
  54. "stamp",
  55. "pictures",
  56. "link",
  57. "sound"
  58. ],
  59. "availableTools": [
  60. "setting",
  61. "undo",
  62. "redo"
  63. ],
  64. "initAttribute": {
  65. "note": {
  66. "color": "#1460F3",
  67. "alpha": 255
  68. },
  69. "highlight": {
  70. "color": "#1460F3",
  71. "alpha": 77
  72. },
  73. "underline": {
  74. "color": "#1460F3",
  75. "alpha": 77
  76. },
  77. "squiggly": {
  78. "color": "#1460F3",
  79. "alpha": 77
  80. },
  81. "strikeout": {
  82. "color": "#1460F3",
  83. "alpha": 77
  84. },
  85. "ink": {
  86. "color": "#1460F3",
  87. "alpha": 100,
  88. "borderWidth": 10
  89. },
  90. "square": {
  91. "fillColor": "#1460F3",
  92. "borderColor": "#000000",
  93. "colorAlpha" : 128,
  94. "borderWidth": 2,
  95. "borderStyle": {
  96. "style": "solid",
  97. "dashGap": 0.0
  98. }
  99. },
  100. "circle": {
  101. "fillColor": "#1460F3",
  102. "borderColor": "#000000",
  103. "colorAlpha" : 128,
  104. "borderWidth": 2,
  105. "borderStyle": {
  106. "style": "solid",
  107. "dashGap": 0.0
  108. }
  109. },
  110. "line": {
  111. "borderColor": "#1460F3",
  112. "borderAlpha": 100,
  113. "borderWidth": 5,
  114. "borderStyle": {
  115. "style": "solid",
  116. "dashGap": 0.0
  117. }
  118. },
  119. "arrow": {
  120. "borderColor": "#1460F3",
  121. "borderAlpha": 100,
  122. "borderWidth": 5,
  123. "borderStyle": {
  124. "style": "solid",
  125. "dashGap": 0.0
  126. },
  127. "startLineType": "none",
  128. "tailLineType": "openArrow"
  129. },
  130. "freeText": {
  131. "fontColor": "#000000",
  132. "fontColorAlpha": 255,
  133. "fontSize": 30,
  134. "isBold": false,
  135. "isItalic": false,
  136. "alignment": "left",
  137. "typeface": "Helvetica"
  138. }
  139. }
  140. },
  141. "contentEditorConfig": {
  142. "availableTypes": [
  143. "editorText",
  144. "editorImage"
  145. ],
  146. "availableTools": [
  147. "setting",
  148. "undo",
  149. "redo"
  150. ],
  151. "initAttribute": {
  152. "text": {
  153. "fontColor": "#000000",
  154. "fontColorAlpha" : 100,
  155. "fontSize": 30,
  156. "isBold": false,
  157. "isItalic": false,
  158. "typeface": "Times-Roman",
  159. "alignment": "left"
  160. }
  161. }
  162. },
  163. "formsConfig": {
  164. "availableTypes": [
  165. "textField",
  166. "checkBox",
  167. "radioButton",
  168. "listBox",
  169. "comboBox",
  170. "signaturesFields",
  171. "pushButton"
  172. ],
  173. "availableTools": [
  174. "undo",
  175. "redo"
  176. ],
  177. "initAttribute": {
  178. "textField": {
  179. "fillColor": "#DDE9FF",
  180. "borderColor": "#1460F3",
  181. "borderWidth": 2,
  182. "fontColor": "#000000",
  183. "fontSize": 20,
  184. "isBold": false,
  185. "isItalic": false,
  186. "alignment": "left",
  187. "multiline": true,
  188. "typeface": "Helvetica"
  189. },
  190. "checkBox": {
  191. "fillColor": "#DDE9FF",
  192. "borderColor": "#1460F3",
  193. "borderWidth": 2,
  194. "checkedColor": "#43474D",
  195. "isChecked": false,
  196. "checkedStyle": "check"
  197. },
  198. "radioButton": {
  199. "fillColor": "#DDE9FF",
  200. "borderColor": "#1460F3",
  201. "borderWidth": 2,
  202. "checkedColor": "#43474D",
  203. "isChecked": false,
  204. "checkedStyle": "circle"
  205. },
  206. "listBox": {
  207. "fillColor": "#DDE9FF",
  208. "borderColor": "#1460F3",
  209. "borderWidth": 2,
  210. "fontColor": "#000000",
  211. "fontSize": 20,
  212. "typeface": "Helvetica",
  213. "isBold": false,
  214. "isItalic": false
  215. },
  216. "comboBox": {
  217. "fillColor": "#DDE9FF",
  218. "borderColor": "#1460F3",
  219. "borderWidth": 2,
  220. "fontColor": "#000000",
  221. "fontSize": 20,
  222. "typeface": "Helvetica",
  223. "isBold": false,
  224. "isItalic": false
  225. },
  226. "pushButton": {
  227. "fillColor": "#DDE9FF",
  228. "borderColor": "#1460F3",
  229. "borderWidth": 2,
  230. "fontColor": "#000000",
  231. "fontSize": 20,
  232. "title": "Button",
  233. "typeface": "Helvetica",
  234. "isBold": false,
  235. "isItalic": false
  236. },
  237. "signaturesFields": {
  238. "fillColor": "#DDE9FF",
  239. "borderColor": "#000000",
  240. "borderWidth": 2
  241. }
  242. }
  243. },
  244. "readerViewConfig": {
  245. "linkHighlight": true,
  246. "formFieldHighlight": true,
  247. "displayMode": "singlePage",
  248. "continueMode": true,
  249. "verticalMode": true,
  250. "cropMode": false,
  251. "themes" : "light",
  252. "enableSliderBar": true,
  253. "enablePageIndicator": true,
  254. "pageSpacing": 10,
  255. "pageScale": 1.0,
  256. "pageSameWidth": true
  257. }
  258. }