report_defined_properties.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. /**
  2. * Created by Tony on 2019/12/26.
  3. */
  4. module.exports = {
  5. ctrls: [
  6. {
  7. ID: 'Default',
  8. Wrap: 'T',
  9. Shrink: 'F',
  10. Horizon: 'left',
  11. ShowZero: 'T',
  12. Vertical: 'bottom',
  13. CfgDispName: '默认',
  14. CloseOutput: 'F',
  15. ShrinkFirst: 'F',
  16. }, {
  17. ID: 'Title',
  18. Wrap: 'T',
  19. Shrink: 'F',
  20. Horizon: 'center',
  21. ShowZero: 'T',
  22. Vertical: 'center',
  23. CfgDispName: '标题',
  24. CloseOutput: 'F',
  25. ShrinkFirst: 'F',
  26. }, {
  27. ID: 'Header',
  28. Wrap: 'F',
  29. Shrink: 'F',
  30. Horizon: 'left',
  31. ShowZero: 'T',
  32. Vertical: 'center',
  33. CfgDispName: '表头',
  34. CloseOutput: 'F',
  35. ShrinkFirst: 'F',
  36. }, {
  37. ID: 'Header_Right',
  38. Wrap: 'F',
  39. Shrink: 'F',
  40. Horizon: 'right',
  41. ShowZero: 'T',
  42. Vertical: 'center',
  43. CfgDispName: '表头_右',
  44. CloseOutput: 'F',
  45. ShrinkFirst: 'F',
  46. }, {
  47. ID: 'Footer',
  48. Wrap: 'F',
  49. Shrink: 'F',
  50. Horizon: 'left',
  51. ShowZero: 'T',
  52. Vertical: 'center',
  53. CfgDispName: '表尾',
  54. CloseOutput: 'F',
  55. ShrinkFirst: 'F',
  56. }, {
  57. ID: 'Footer_Right',
  58. Wrap: 'F',
  59. Shrink: 'F',
  60. Horizon: 'right',
  61. ShowZero: 'T',
  62. Vertical: 'center',
  63. CfgDispName: '表尾_右',
  64. CloseOutput: 'F',
  65. ShrinkFirst: 'F',
  66. }, {
  67. ID: 'Column',
  68. Wrap: 'T',
  69. Shrink: 'F',
  70. Horizon: 'center',
  71. ShowZero: 'F',
  72. Vertical: 'center',
  73. CfgDispName: '表栏',
  74. CloseOutput: 'F',
  75. ShrinkFirst: 'F',
  76. FillAfterWrap: 'T',
  77. }, {
  78. ID: 'Column_Left',
  79. Wrap: 'T',
  80. Shrink: 'F',
  81. Horizon: 'left',
  82. ShowZero: 'F',
  83. Vertical: 'center',
  84. CfgDispName: '表栏_左',
  85. CloseOutput: 'F',
  86. ShrinkFirst: 'F',
  87. }, {
  88. ID: 'Column_Right',
  89. Wrap: 'T',
  90. Shrink: 'F',
  91. Horizon: 'right',
  92. ShowZero: 'F',
  93. Vertical: 'center',
  94. CfgDispName: '表栏_右',
  95. CloseOutput: 'F',
  96. ShrinkFirst: 'F',
  97. }, {
  98. ID: 'Content_Left',
  99. Wrap: 'F',
  100. Shrink: 'T',
  101. Horizon: 'left',
  102. ShowZero: 'F',
  103. Vertical: 'bottom',
  104. CfgDispName: '正文内容',
  105. CloseOutput: 'T',
  106. ShrinkFirst: 'F',
  107. }, {
  108. ID: 'Content_Right',
  109. Wrap: 'F',
  110. Shrink: 'T',
  111. Horizon: 'right',
  112. ShowZero: 'F',
  113. Vertical: 'bottom',
  114. CfgDispName: '正文内容_右',
  115. CloseOutput: 'T',
  116. ShrinkFirst: 'F',
  117. }, {
  118. ID: 'Content_Center',
  119. Wrap: 'F',
  120. Shrink: 'T',
  121. Horizon: 'center',
  122. ShowZero: 'F',
  123. Vertical: 'bottom',
  124. CfgDispName: '正文内容_中',
  125. CloseOutput: 'T',
  126. ShrinkFirst: 'F',
  127. }, {
  128. ID: 'NewContent_Left',
  129. Wrap: 'F',
  130. Shrink: 'T',
  131. Horizon: 'left',
  132. ShowZero: 'F',
  133. Vertical: 'center',
  134. CfgDispName: '正文内容(新)',
  135. CloseOutput: 'T',
  136. ShrinkFirst: 'F',
  137. }, {
  138. ID: 'NewContent_Right',
  139. Wrap: 'F',
  140. Shrink: 'T',
  141. Horizon: 'right',
  142. ShowZero: 'F',
  143. Vertical: 'center',
  144. CfgDispName: '正文内容(新)_右',
  145. CloseOutput: 'T',
  146. ShrinkFirst: 'F',
  147. }, {
  148. ID: 'NewContent_Center',
  149. Wrap: 'F',
  150. Shrink: 'T',
  151. Horizon: 'center',
  152. ShowZero: 'F',
  153. Vertical: 'center',
  154. CfgDispName: '正文内容(新)_中',
  155. CloseOutput: 'T',
  156. ShrinkFirst: 'F',
  157. }, {
  158. ID: 'Currency',
  159. Wrap: 'F',
  160. Shrink: 'T',
  161. Horizon: 'right',
  162. ShowZero: 'F',
  163. Vertical: 'center',
  164. CfgDispName: '金额型',
  165. CloseOutput: 'F',
  166. ShrinkFirst: 'T',
  167. }, {
  168. ID: 'Left_Top',
  169. Wrap: 'T',
  170. Shrink: 'F',
  171. Horizon: 'left',
  172. ShowZero: 'T',
  173. Vertical: 'top',
  174. CfgDispName: '上靠_左',
  175. CloseOutput: 'T',
  176. ShrinkFirst: 'F',
  177. }, {
  178. ID: 'Center_Top',
  179. Wrap: 'T',
  180. Shrink: 'F',
  181. Horizon: 'center',
  182. ShowZero: 'T',
  183. Vertical: 'top',
  184. CfgDispName: '上靠_中',
  185. CloseOutput: 'T',
  186. ShrinkFirst: 'F',
  187. }, {
  188. ID: 'Right_Top',
  189. Wrap: 'T',
  190. Shrink: 'F',
  191. Horizon: 'right',
  192. ShowZero: 'T',
  193. Vertical: 'top',
  194. CfgDispName: '上靠_右',
  195. CloseOutput: 'T',
  196. ShrinkFirst: 'F',
  197. },
  198. ],
  199. fonts: [
  200. {
  201. ID: 'ReportTitle_Main',
  202. Name: '宋体',
  203. FontBold: 'T',
  204. FontAngle: '0',
  205. FontColor: 'BLACK',
  206. FontHeight: '32',
  207. FontItalic: 'F',
  208. CfgDispName: '主标题',
  209. FontStrikeOut: 'F',
  210. FontUnderline: 'F',
  211. }, {
  212. ID: 'ReportTitle_Vice_1',
  213. Name: '宋体',
  214. FontBold: 'T',
  215. FontAngle: '0',
  216. FontColor: 'BLACK',
  217. FontHeight: '22',
  218. FontItalic: 'F',
  219. CfgDispName: '副标题',
  220. FontStrikeOut: 'F',
  221. FontUnderline: 'F',
  222. }, {
  223. ID: 'ReportTitle_Vice_2',
  224. Name: '宋体',
  225. FontBold: 'T',
  226. FontAngle: '0',
  227. FontColor: 'BLACK',
  228. FontHeight: '18',
  229. FontItalic: 'F',
  230. CfgDispName: '副标题2',
  231. FontStrikeOut: 'F',
  232. FontUnderline: 'F',
  233. }, {
  234. ID: 'HeaderColumn',
  235. Name: '宋体',
  236. FontBold: 'F',
  237. FontAngle: '0',
  238. FontColor: 'BLACK',
  239. FontHeight: '12',
  240. FontItalic: 'F',
  241. CfgDispName: '栏头',
  242. FontStrikeOut: 'F',
  243. FontUnderline: 'F',
  244. }, {
  245. ID: 'Header',
  246. Name: '宋体',
  247. FontBold: 'F',
  248. FontAngle: '0',
  249. FontColor: 'BLACK',
  250. FontHeight: '12',
  251. FontItalic: 'F',
  252. CfgDispName: '表头',
  253. FontStrikeOut: 'F',
  254. FontUnderline: 'F',
  255. }, {
  256. ID: 'FooterColumn',
  257. Name: '宋体',
  258. FontBold: 'F',
  259. FontAngle: '0',
  260. FontColor: 'BLACK',
  261. FontHeight: '12',
  262. FontItalic: 'F',
  263. CfgDispName: '栏尾',
  264. FontStrikeOut: 'F',
  265. FontUnderline: 'F',
  266. }, {
  267. ID: 'Footer',
  268. Name: '宋体',
  269. FontBold: 'F',
  270. FontAngle: '0',
  271. FontColor: 'BLACK',
  272. FontHeight: '12',
  273. FontItalic: 'F',
  274. CfgDispName: '表尾',
  275. FontStrikeOut: 'F',
  276. FontUnderline: 'F',
  277. }, {
  278. ID: 'GrandTotal',
  279. Name: '宋体',
  280. FontBold: 'F',
  281. FontAngle: '0',
  282. FontColor: 'BLACK',
  283. FontHeight: '12',
  284. FontItalic: 'F',
  285. CfgDispName: '总合计',
  286. FontStrikeOut: 'F',
  287. FontUnderline: 'F',
  288. }, {
  289. ID: 'SectionTotal',
  290. Name: '宋体',
  291. FontBold: 'F',
  292. FontAngle: '0',
  293. FontColor: 'BLACK',
  294. FontHeight: '12',
  295. FontItalic: 'F',
  296. CfgDispName: '章合计',
  297. FontStrikeOut: 'F',
  298. FontUnderline: 'F',
  299. }, {
  300. ID: 'Content',
  301. Name: '宋体',
  302. FontBold: 'F',
  303. FontAngle: '0',
  304. FontColor: 'BLACK',
  305. FontHeight: '12',
  306. FontItalic: 'F',
  307. CfgDispName: '正文内容',
  308. FontStrikeOut: 'F',
  309. FontUnderline: 'F',
  310. }, {
  311. ID: 'Content_Narrow',
  312. Name: 'Arial Narrow',
  313. FontBold: 'F',
  314. FontAngle: '0',
  315. FontColor: 'BLACK',
  316. FontHeight: '12',
  317. FontItalic: 'F',
  318. CfgDispName: '正文内容-窄体',
  319. FontStrikeOut: 'F',
  320. FontUnderline: 'F',
  321. }, {
  322. ID: 'Header_V1',
  323. Name: '宋体',
  324. FontBold: 'F',
  325. FontAngle: '90',
  326. FontColor: 'BLACK',
  327. FontHeight: '12',
  328. FontItalic: 'F',
  329. FontStrikeOut: 'F',
  330. FontUnderline: 'F',
  331. }, {
  332. ID: 'Header_V2',
  333. Name: '宋体',
  334. FontBold: 'F',
  335. FontAngle: '-90',
  336. FontColor: 'BLACK',
  337. FontHeight: '12',
  338. FontItalic: 'F',
  339. FontStrikeOut: 'F',
  340. FontUnderline: 'F',
  341. },
  342. ],
  343. styles: [
  344. {
  345. ID: 'Default_None',
  346. CfgDispName: '空白',
  347. border_style: [
  348. {
  349. 'Color': 'BLACK',
  350. 'Position': 'Left',
  351. 'DashStyle': 'SOLID',
  352. 'LineWeight': '0'
  353. }, {
  354. 'Color': 'BLACK',
  355. 'Position': 'Right',
  356. 'DashStyle': 'SOLID',
  357. 'LineWeight': '0'
  358. }, {
  359. 'Color': 'BLACK',
  360. 'Position': 'Top',
  361. 'DashStyle': 'SOLID',
  362. 'LineWeight': '0'
  363. }, {
  364. 'Color': 'BLACK',
  365. 'Position': 'Bottom',
  366. 'DashStyle': 'SOLID',
  367. 'LineWeight': '0'
  368. }
  369. ]
  370. }, {
  371. ID: 'Default',
  372. CfgDispName: '默认',
  373. border_style: [
  374. {
  375. 'Color': 'BLACK',
  376. 'Position': 'Left',
  377. 'DashStyle': 'SOLID',
  378. 'LineWeight': '1'
  379. }, {
  380. 'Color': 'BLACK',
  381. 'Position': 'Right',
  382. 'DashStyle': 'SOLID',
  383. 'LineWeight': '1'
  384. }, {
  385. 'Color': 'BLACK',
  386. 'Position': 'Top',
  387. 'DashStyle': 'SOLID',
  388. 'LineWeight': '0'
  389. }, {
  390. 'Color': 'BLACK',
  391. 'Position': 'Bottom',
  392. 'DashStyle': 'SOLID',
  393. 'LineWeight': '0'
  394. }
  395. ]
  396. }, {
  397. ID: 'Default_Normal',
  398. CfgDispName: '正常',
  399. border_style: [
  400. {
  401. 'Color': 'BLACK',
  402. 'Position': 'Left',
  403. 'DashStyle': 'SOLID',
  404. 'LineWeight': '1'
  405. }, {
  406. 'Color': 'BLACK',
  407. 'Position': 'Right',
  408. 'DashStyle': 'SOLID',
  409. 'LineWeight': '1'
  410. }, {
  411. 'Color': 'BLACK',
  412. 'Position': 'Top',
  413. 'DashStyle': 'SOLID',
  414. 'LineWeight': '1'
  415. }, {
  416. 'Color': 'BLACK',
  417. 'Position': 'Bottom',
  418. 'DashStyle': 'SOLID',
  419. 'LineWeight': '1'
  420. }
  421. ]
  422. }, {
  423. ID: 'Label_Underline',
  424. CfgDispName: '字符底线',
  425. border_style: [
  426. {
  427. 'Color': 'BLACK',
  428. 'Position': 'Left',
  429. 'DashStyle': 'SOLID',
  430. 'LineWeight': '0'
  431. }, {
  432. 'Color': 'BLACK',
  433. 'Position': 'Right',
  434. 'DashStyle': 'SOLID',
  435. 'LineWeight': '0'
  436. }, {
  437. 'Color': 'BLACK',
  438. 'Position': 'Top',
  439. 'DashStyle': 'SOLID',
  440. 'LineWeight': '0'
  441. }, {
  442. 'Color': 'BLACK',
  443. 'Position': 'Bottom',
  444. 'DashStyle': 'SOLID',
  445. 'LineWeight': '1'
  446. }
  447. ]
  448. }, {
  449. ID: 'Label_Left',
  450. CfgDispName: '左边线',
  451. border_style: [
  452. {
  453. 'Color': 'BLACK',
  454. 'Position': 'Left',
  455. 'DashStyle': 'SOLID',
  456. 'LineWeight': '1'
  457. }, {
  458. 'Color': 'BLACK',
  459. 'Position': 'Right',
  460. 'DashStyle': 'SOLID',
  461. 'LineWeight': '0'
  462. }, {
  463. 'Color': 'BLACK',
  464. 'Position': 'Top',
  465. 'DashStyle': 'SOLID',
  466. 'LineWeight': '0'
  467. }, {
  468. 'Color': 'BLACK',
  469. 'Position': 'Bottom',
  470. 'DashStyle': 'SOLID',
  471. 'LineWeight': '0'
  472. }
  473. ]
  474. }, {
  475. ID: 'Label_Right',
  476. CfgDispName: '右边线',
  477. border_style: [
  478. {
  479. 'Color': 'BLACK',
  480. 'Position': 'Left',
  481. 'DashStyle': 'SOLID',
  482. 'LineWeight': '0'
  483. }, {
  484. 'Color': 'BLACK',
  485. 'Position': 'Right',
  486. 'DashStyle': 'SOLID',
  487. 'LineWeight': '1'
  488. }, {
  489. 'Color': 'BLACK',
  490. 'Position': 'Top',
  491. 'DashStyle': 'SOLID',
  492. 'LineWeight': '0'
  493. }, {
  494. 'Color': 'BLACK',
  495. 'Position': 'Bottom',
  496. 'DashStyle': 'SOLID',
  497. 'LineWeight': '0'
  498. }
  499. ]
  500. }, {
  501. ID: 'Label_Top',
  502. CfgDispName: '上边线',
  503. border_style: [
  504. {
  505. 'Color': 'BLACK',
  506. 'Position': 'Left',
  507. 'DashStyle': 'SOLID',
  508. 'LineWeight': '0'
  509. }, {
  510. 'Color': 'BLACK',
  511. 'Position': 'Right',
  512. 'DashStyle': 'SOLID',
  513. 'LineWeight': '0'
  514. }, {
  515. 'Color': 'BLACK',
  516. 'Position': 'Top',
  517. 'DashStyle': 'SOLID',
  518. 'LineWeight': '1'
  519. }, {
  520. 'Color': 'BLACK',
  521. 'Position': 'Bottom',
  522. 'DashStyle': 'SOLID',
  523. 'LineWeight': '0'
  524. }
  525. ]
  526. }, {
  527. ID: 'BORDER_ALL_AROUND',
  528. CfgDispName: '报表边框',
  529. border_style: [
  530. {
  531. 'Color': 'BLACK',
  532. 'Position': 'Left',
  533. 'DashStyle': 'SOLID',
  534. 'LineWeight': '2.0'
  535. }, {
  536. 'Color': 'BLACK',
  537. 'Position': 'Right',
  538. 'DashStyle': 'SOLID',
  539. 'LineWeight': '2.0'
  540. }, {
  541. 'Color': 'BLACK',
  542. 'Position': 'Top',
  543. 'DashStyle': 'SOLID',
  544. 'LineWeight': '2.0'
  545. }, {
  546. 'Color': 'BLACK',
  547. 'Position': 'Bottom',
  548. 'DashStyle': 'SOLID',
  549. 'LineWeight': '2.0'
  550. },
  551. ],
  552. },
  553. ],
  554. };