w_templates_monitor.srw 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895
  1. $PBExportHeader$w_templates_monitor.srw
  2. $PBExportComments$分页选择窗口
  3. forward
  4. global type w_templates_monitor from w_xls_publ_pageretr
  5. end type
  6. type cb_choice from uo_xls_imflatbutton within w_templates_monitor
  7. end type
  8. type cb_refresh from uo_xls_imflatbutton within w_templates_monitor
  9. end type
  10. type dw_index from u_xls_dw_rbtnfilter within w_templates_monitor
  11. end type
  12. type dw_templates from u_xls_dw within w_templates_monitor
  13. end type
  14. type cb_add from uo_xls_imflatbutton within w_templates_monitor
  15. end type
  16. type cb_del from uo_xls_imflatbutton within w_templates_monitor
  17. end type
  18. type cb_edit from uo_xls_imflatbutton within w_templates_monitor
  19. end type
  20. type cb_save from uo_xls_imflatbutton within w_templates_monitor
  21. end type
  22. type cb_saveas from uo_xls_imflatbutton within w_templates_monitor
  23. end type
  24. type ole_1 from olecontrol within w_templates_monitor
  25. end type
  26. type cb_preview from uo_xls_imflatbutton within w_templates_monitor
  27. end type
  28. type cb_edittemp from uo_xls_imflatbutton within w_templates_monitor
  29. end type
  30. type ln_bar from line within w_templates_monitor
  31. end type
  32. type ln_bar2 from line within w_templates_monitor
  33. end type
  34. type r_bar from rectangle within w_templates_monitor
  35. end type
  36. type ln_1 from line within w_templates_monitor
  37. end type
  38. type ln_2 from line within w_templates_monitor
  39. end type
  40. end forward
  41. global type w_templates_monitor from w_xls_publ_pageretr
  42. integer width = 3611
  43. integer height = 2380
  44. string title = "Excel模版管理"
  45. boolean maxbox = true
  46. windowstate windowstate = maximized!
  47. event retrieve_table ( )
  48. event retrieve_templates ( )
  49. event update_template ( )
  50. event edit_template ( )
  51. event delete_template ( )
  52. event new_template ( )
  53. event edit_template_ifpic ( )
  54. cb_choice cb_choice
  55. cb_refresh cb_refresh
  56. dw_index dw_index
  57. dw_templates dw_templates
  58. cb_add cb_add
  59. cb_del cb_del
  60. cb_edit cb_edit
  61. cb_save cb_save
  62. cb_saveas cb_saveas
  63. ole_1 ole_1
  64. cb_preview cb_preview
  65. cb_edittemp cb_edittemp
  66. ln_bar ln_bar
  67. ln_bar2 ln_bar2
  68. r_bar r_bar
  69. ln_1 ln_1
  70. ln_2 ln_2
  71. end type
  72. global w_templates_monitor w_templates_monitor
  73. type variables
  74. //blob blob_excel
  75. Boolean templates_edit = FALSE
  76. s_xls_templates s_tem
  77. oleobject obj,tobj
  78. String workbook = ''
  79. //string temppwd
  80. //string sign_begin = '<@'
  81. //string sign_end = '@>'
  82. uo_sendtoexcel obj_st
  83. uo_xls_constant uo_constant
  84. end variables
  85. forward prototypes
  86. public function integer wf_refresh_curuc (long arg_tid, long arg_id)
  87. end prototypes
  88. EVENT retrieve_table();
  89. dw_index.Retrieve( )
  90. END EVENT
  91. event retrieve_templates();
  92. IF dw_pageretr.GetRow( ) <= 0 THEN
  93. dw_templates.Reset()
  94. BLOB NULLBLOB
  95. ole_1.ObjectData = NULLBLOB
  96. RETURN
  97. END IF
  98. String arg_msg
  99. s_tem.tid = dw_pageretr.Object.tid[dw_pageretr.GetRow( )]
  100. s_tem.TemplatesID = dw_pageretr.Object.ID[dw_pageretr.GetRow( )]
  101. s_tem.templatesname = dw_pageretr.Object.templatesname[dw_pageretr.GetRow( )]
  102. dw_templates.Retrieve(s_tem.tid , s_tem.TemplatesID)
  103. cb_save.Enabled = FALSE
  104. s_tem = obj_st.of_gettemplatedata(s_tem.tid,s_tem.TemplatesID,arg_msg)
  105. IF IsNull(s_tem.templates ) OR s_tem.templatesname = '' THEN
  106. MessageBox('系统提示',arg_msg)
  107. RETURN
  108. END IF
  109. if ole_1.visible then
  110. ole_1.ObjectData = s_tem.templates
  111. else
  112. // dw_templates.object.ole_1.ObjectData = s_tem.templates
  113. end if
  114. end event
  115. event edit_template();
  116. IF dw_templates.GetRow( ) <= 0 THEN
  117. MessageBox('系统提示','请选定目标模版!')
  118. RETURN
  119. END IF
  120. TRY
  121. THIS.TriggerEvent( 'retrieve_templates')
  122. OpenWithParm(w_templates_editor,s_tem)
  123. Catch(runtimeerror err)
  124. MessageBox('',err.Text)
  125. END TRY
  126. end event
  127. event delete_template();
  128. IF dw_pageretr.GetRow( ) <= 0 THEN
  129. MessageBox('系统提示','请选定目标模版!')
  130. RETURN
  131. END IF
  132. IF MessageBox ('系统提示',"是否确定要删除当前模版?(选择确定后记录将不可恢复)",Question!,YesNo! ) = 2 THEN
  133. RETURN
  134. END IF
  135. Long ls_tid,ls_TemplatesID
  136. ls_tid = dw_pageretr.Object.tid[dw_pageretr.GetRow( )]
  137. ls_TemplatesID = dw_pageretr.Object.ID[dw_pageretr.GetRow( )]
  138. //uo_sendtoexcel obj_st
  139. //obj_st = CREATE uo_sendtoexcel
  140. //obj_st.commit_transaction = sqlca
  141. String arg_msg
  142. IF obj_st.of_delete_template( ls_tid ,ls_TemplatesID,TRUE, arg_msg) <> 1 THEN
  143. MessageBox('',arg_msg)
  144. ELSE
  145. THIS.TriggerEvent('retrieve_pageretr')
  146. THIS.TriggerEvent('retrieve_templates')
  147. END IF
  148. end event
  149. EVENT new_template();
  150. IF dw_index.GetRow( ) <= 0 THEN
  151. MessageBox('系统提示','请选择模版所属的主表')
  152. RETURN
  153. END IF
  154. Long ls_tid
  155. ls_tid = dw_index.Object.BillID[dw_index.GetRow( )]
  156. OpenWithParm(w_xls_update_templates,ls_tid )
  157. THIS.TriggerEvent('retrieve_pageretr')
  158. THIS.TriggerEvent('retrieve_templates')
  159. END EVENT
  160. public function integer wf_refresh_curuc (long arg_tid, long arg_id);IF IsNull(arg_tid) THEN RETURN 0
  161. IF arg_tid <= 0 THEN RETURN 0
  162. IF IsNull(arg_id) THEN RETURN 0
  163. IF arg_id <= 0 THEN RETURN 0
  164. Long ll_row
  165. ll_row = dw_pageretr.GetRow()
  166. IF ll_row <= 0 THEN RETURN 0
  167. Long ifpic,defaults
  168. String templatesname
  169. SELECT ifpic,defaults,templatesname
  170. INTO :ifpic,:defaults,:templatesname
  171. FROM U_XLS_Templates
  172. WHERE tid = :arg_tid
  173. AND id = :arg_id;
  174. IF sqlca.SQLCode <> 0 THEN
  175. MessageBox('Error','查询模版信息失败')
  176. RETURN 0
  177. END IF
  178. dw_pageretr.Object.defaults[ll_row] = defaults
  179. dw_pageretr.Object.templatesname[ll_row] = templatesname
  180. dw_pageretr.Object.ifpic[ll_row] = ifpic
  181. dw_pageretr.ResetUpdate()
  182. dw_pageretr.SetRedraw(TRUE)
  183. RETURN 1
  184. end function
  185. on w_templates_monitor.create
  186. int iCurrent
  187. call super::create
  188. this.cb_choice=create cb_choice
  189. this.cb_refresh=create cb_refresh
  190. this.dw_index=create dw_index
  191. this.dw_templates=create dw_templates
  192. this.cb_add=create cb_add
  193. this.cb_del=create cb_del
  194. this.cb_edit=create cb_edit
  195. this.cb_save=create cb_save
  196. this.cb_saveas=create cb_saveas
  197. this.ole_1=create ole_1
  198. this.cb_preview=create cb_preview
  199. this.cb_edittemp=create cb_edittemp
  200. this.ln_bar=create ln_bar
  201. this.ln_bar2=create ln_bar2
  202. this.r_bar=create r_bar
  203. this.ln_1=create ln_1
  204. this.ln_2=create ln_2
  205. iCurrent=UpperBound(this.Control)
  206. this.Control[iCurrent+1]=this.cb_choice
  207. this.Control[iCurrent+2]=this.cb_refresh
  208. this.Control[iCurrent+3]=this.dw_index
  209. this.Control[iCurrent+4]=this.dw_templates
  210. this.Control[iCurrent+5]=this.cb_add
  211. this.Control[iCurrent+6]=this.cb_del
  212. this.Control[iCurrent+7]=this.cb_edit
  213. this.Control[iCurrent+8]=this.cb_save
  214. this.Control[iCurrent+9]=this.cb_saveas
  215. this.Control[iCurrent+10]=this.ole_1
  216. this.Control[iCurrent+11]=this.cb_preview
  217. this.Control[iCurrent+12]=this.cb_edittemp
  218. this.Control[iCurrent+13]=this.ln_bar
  219. this.Control[iCurrent+14]=this.ln_bar2
  220. this.Control[iCurrent+15]=this.r_bar
  221. this.Control[iCurrent+16]=this.ln_1
  222. this.Control[iCurrent+17]=this.ln_2
  223. end on
  224. on w_templates_monitor.destroy
  225. call super::destroy
  226. destroy(this.cb_choice)
  227. destroy(this.cb_refresh)
  228. destroy(this.dw_index)
  229. destroy(this.dw_templates)
  230. destroy(this.cb_add)
  231. destroy(this.cb_del)
  232. destroy(this.cb_edit)
  233. destroy(this.cb_save)
  234. destroy(this.cb_saveas)
  235. destroy(this.ole_1)
  236. destroy(this.cb_preview)
  237. destroy(this.cb_edittemp)
  238. destroy(this.ln_bar)
  239. destroy(this.ln_bar2)
  240. destroy(this.r_bar)
  241. destroy(this.ln_1)
  242. destroy(this.ln_2)
  243. end on
  244. EVENT user_key;
  245. CALL SUPER::user_key;
  246. IF KeyDown(KeyD!) AND KeyDown(KeyControl!) THEN
  247. IF cb_choice.Enabled THEN cb_choice.TriggerEvent(Clicked!)
  248. ELSEIF KeyDown(KeyEnter!) And (KeyDown(KeyControl!) OR retrieve_all) THEN
  249. IF cb_choice.Enabled THEN cb_choice.TriggerEvent(Clicked!)
  250. END IF
  251. END EVENT
  252. EVENT Key;
  253. THIS.TriggerEvent('user_key')
  254. END EVENT
  255. event close;
  256. //CLOSEWITHRETURN(THIS,<INS_RT_STRU>)
  257. //<INS_RT_STRU> 窗体级子定义结构变量,用于返回
  258. end event
  259. event ue_sort;//
  260. //CALL SUPER::ue_sort;
  261. //OpenWithParm(w_xls_sortrow,dw_pageretr)
  262. //String LS_EXPR
  263. //LS_EXPR = Message.StringParm
  264. //IF IsNull(LS_EXPR) THEN LS_EXPR = ' '
  265. //IF Len(LS_EXPR) > 2 AND Trim(LS_EXPR) = '' THEN RETURN
  266. //
  267. //dw_pageretr.SetSort(LS_EXPR)
  268. //
  269. //dw_pageretr.SetRedraw (FALSE)
  270. //dw_pageretr.Sort()
  271. //dw_pageretr.SetRedraw (TRUE)
  272. end event
  273. event open;
  274. CALL SUPER::OPEN;
  275. //if_ue_sort = TRUE
  276. dw_pageretr.RBUTTON_FILTER_USE = FALSE //右键查询功能开关
  277. THIS.TriggerEvent( 'retrieve_table')
  278. THIS.TriggerEvent( 'retrieve_templates')
  279. end event
  280. event resize;
  281. CALL SUPER::Resize;
  282. ln_bar.EndX = THIS.Width
  283. ln_bar2.EndX = THIS.Width
  284. ln_1.EndX = THIS.Width
  285. ln_2.EndX = THIS.Width
  286. r_bar.Width = THIS.Width
  287. //dw_index.Height = THIS.Height - dw_index.Y - 150
  288. dw_pageretr.Height =this.height - dw_index.Height - dw_index.y - 150
  289. dw_templates.Height = THIS.Height - dw_templates.Y - 150
  290. dw_templates.Width = THIS.Width - dw_pageretr.X - dw_pageretr.Width - 50
  291. //
  292. ole_1.Height =THIS.Height - ole_1.Y - 150
  293. ole_1.Width = THIS.Width - dw_pageretr.X - dw_pageretr.Width - 50
  294. //ole_xls.height = dw_index.height
  295. //ole_xls.width = this.width - dw_pageretr.x - dw_pageretr.width - 50
  296. end event
  297. event ue_before_open;
  298. dw_index.SetTransObject( sqlca)
  299. dw_templates.SetTransObject( sqlca)
  300. dw_pageretr.SetTransObject (sqlca)
  301. uo_constant = create uo_xls_constant
  302. obj_st = CREATE uo_sendtoexcel
  303. obj_st.commit_transaction = sqlca
  304. obj_st.uo_const = uo_constant
  305. end event
  306. event retrieve_pageretr;
  307. Boolean cb_firstpage_enabled,cb_nextpage_enabled,cb_retrieveall_enabled
  308. Boolean cb_priorpage_enabled,cb_func_enabled,cb_retrieve_enabled
  309. SetPointer(HourGlass!)
  310. IF dw_index.GetRow( ) > 0 THEN
  311. dw_pageretr.Retrieve(dw_index.Object.BillID[dw_index.GetRow( )] )
  312. IF dw_pageretr.RowCount() > 0 then //AND dw_pageretr.GetRow() = 0 THEN
  313. dw_pageretr.SetRow(1)
  314. dw_pageretr.SelectRow(0,FALSE)
  315. dw_pageretr.SelectRow(1,TRUE)
  316. END IF
  317. ELSE
  318. dw_pageretr.Reset()
  319. END IF
  320. SetPointer(Arrow!)
  321. end event
  322. type cb_func from w_xls_publ_pageretr`cb_func within w_templates_monitor
  323. boolean visible = false
  324. integer x = 4151
  325. integer y = 1116
  326. integer width = 165
  327. integer height = 172
  328. integer taborder = 110
  329. string normalpicname = "setting.bmp"
  330. integer picsize = 16
  331. toolbaralignment pic_align = alignattop!
  332. boolean border = false
  333. end type
  334. type cb_exit from w_xls_publ_pageretr`cb_exit within w_templates_monitor
  335. string tag = "退出模版管理窗口"
  336. integer x = 1925
  337. integer y = 0
  338. integer width = 165
  339. integer height = 168
  340. integer picsize = 16
  341. toolbaralignment pic_align = alignattop!
  342. boolean border = false
  343. end type
  344. type dw_pageretr from w_xls_publ_pageretr`dw_pageretr within w_templates_monitor
  345. integer y = 1332
  346. integer width = 859
  347. integer height = 940
  348. boolean bringtotop = true
  349. string title = "模版列表"
  350. string dataobject = "dw_xls_templates_index"
  351. boolean hscrollbar = false
  352. boolean resizable = false
  353. boolean border = true
  354. boolean hsplitscroll = false
  355. borderstyle borderstyle = stylelowered!
  356. end type
  357. EVENT dw_pageretr::DoubleClicked;
  358. CALL SUPER::DoubleClicked;
  359. //IF mode=1 AND NOT dw_edit_mode THEN
  360. cb_choice.TriggerEvent(Clicked!)
  361. //END IF
  362. END EVENT
  363. EVENT dw_pageretr::RButtonDown;
  364. CALL SUPER::RButtonDown;
  365. IF Not( dw_edit_mode OR row <= 0 ) THEN THIS.SetRow(row)
  366. END EVENT
  367. event dw_pageretr::rowfocuschanged;call super::rowfocuschanged;parent.TriggerEvent( 'retrieve_templates')
  368. end event
  369. type cb_choice from uo_xls_imflatbutton within w_templates_monitor
  370. string tag = "选定[C^+Enter]"
  371. boolean visible = false
  372. integer x = 4315
  373. integer y = 1116
  374. integer width = 165
  375. integer height = 172
  376. integer taborder = 110
  377. boolean bringtotop = true
  378. string text = "选定"
  379. string normalpicname = "ok.bmp"
  380. integer picsize = 16
  381. toolbaralignment pic_align = alignattop!
  382. boolean border = false
  383. end type
  384. type cb_refresh from uo_xls_imflatbutton within w_templates_monitor
  385. string tag = "刷新窗口"
  386. integer x = 5
  387. integer width = 165
  388. integer height = 168
  389. integer taborder = 120
  390. boolean bringtotop = true
  391. string text = "重查"
  392. string normalpicname = "refresh.bmp"
  393. integer picsize = 16
  394. toolbaralignment pic_align = alignattop!
  395. boolean border = false
  396. end type
  397. EVENT Clicked;
  398. CALL SUPER::Clicked;
  399. PARENT.TriggerEvent('retrieve_table')
  400. PARENT.TriggerEvent('retrieve_pageretr')
  401. PARENT.TriggerEvent('retrieve_templates')
  402. END EVENT
  403. type dw_index from u_xls_dw_rbtnfilter within w_templates_monitor
  404. integer y = 188
  405. integer width = 859
  406. integer height = 1148
  407. integer taborder = 30
  408. boolean bringtotop = true
  409. string title = "单据列表"
  410. string dataobject = "dw_xls_bill_list"
  411. boolean maxbox = true
  412. boolean vscrollbar = true
  413. end type
  414. EVENT Clicked;
  415. CALL SUPER::Clicked;
  416. THIS.SetRow( row)
  417. END EVENT
  418. EVENT Constructor;
  419. CALL SUPER::Constructor;
  420. titleclick_sort_use = TRUE //单击标题排序-功能开关
  421. RBUTTON_FILTER_USE = TRUE //右键查询-功能开关
  422. // setcolumn_visible_USE= true //自动保存显示列-功能开关
  423. autosave_setlayout_USE = TRUE //自动保存列位置及宽度-功能开关
  424. END EVENT
  425. EVENT RowFocusChanged;
  426. CALL SUPER::RowFocusChanged;
  427. THIS.SelectRow(0,FALSE)
  428. THIS.SelectRow(currentrow,TRUE)
  429. PARENT.TriggerEvent('retrieve_pageretr')
  430. PARENT.TriggerEvent('retrieve_templates')
  431. END EVENT
  432. EVENT RButtonDown;
  433. CALL SUPER::RButtonDown;
  434. IF Not( dw_edit_mode OR row <= 0 ) THEN THIS.SetRow(row)
  435. END EVENT
  436. event dberror;call super::dberror;MESSAGEBOX(sqlerrtext,sqlsyntax)
  437. end event
  438. type dw_templates from u_xls_dw within w_templates_monitor
  439. boolean visible = false
  440. integer x = 864
  441. integer y = 188
  442. integer width = 2729
  443. integer height = 2084
  444. integer taborder = 11
  445. boolean bringtotop = true
  446. boolean titlebar = true
  447. string dataobject = "dw_xlt_view"
  448. boolean maxbox = true
  449. boolean hscrollbar = true
  450. boolean vscrollbar = true
  451. boolean livescroll = true
  452. end type
  453. event resize;
  454. CALL SUPER::Resize;
  455. //THIS.Object.blob_1.Height = THIS.Height
  456. //THIS.Object.blob_1.Width = THIS.Width
  457. //string str
  458. //str = "DataWindow.details.Height=" +string(this.height)
  459. //this.Modify(str)
  460. end event
  461. EVENT DoubleClicked;
  462. CALL SUPER::DoubleClicked;
  463. IF dwo.Name = 'blob_1' THEN
  464. RETURN 1
  465. ELSE
  466. //messagebox('','')
  467. //cb_save.enabled = true
  468. //templates_edit = true
  469. END IF
  470. END EVENT
  471. EVENT RButtonDown;
  472. CALL SUPER::RButtonDown;
  473. IF dw_pageretr.RowCount() = 0 THEN RETURN
  474. m_xls_dfc_control_popupmenu dmPopupMenu
  475. String menustr
  476. menustr = "Text=编辑模版~tEvent=edit_template"
  477. IF cb_save.Enabled THEN
  478. menustr = menustr + "|" + "Text=保存模版~tEvent=update_template"
  479. menustr = menustr + "|" + "Text=取消保存~tEvent=retrieve_templates"
  480. END IF
  481. menustr = menustr + "|" + "Text=删除模版~tEvent=delete_template"
  482. IF Len(Trim(menustr)) <> 0 THEN
  483. dmPopupMenu = CREATE m_xls_dfc_control_popupmenu
  484. dmPopupMenu.mf_BuildMenu(THIS, menustr)
  485. dmPopupMenu.mf_PopMenu()
  486. DESTROY dmPopupMenu
  487. END IF
  488. END EVENT
  489. type cb_add from uo_xls_imflatbutton within w_templates_monitor
  490. string tag = "上传或创建新模版"
  491. integer x = 169
  492. integer width = 274
  493. integer height = 168
  494. integer taborder = 10
  495. boolean bringtotop = true
  496. string text = "添加模版"
  497. string normalpicname = "new.bmp"
  498. integer picsize = 16
  499. toolbaralignment pic_align = alignattop!
  500. boolean border = false
  501. end type
  502. EVENT Clicked;
  503. CALL SUPER::Clicked;
  504. IF dw_index.GetRow( ) <= 0 THEN
  505. MessageBox('系统提示','请选择模版所属的主表')
  506. RETURN
  507. END IF
  508. Long ls_tid
  509. ls_tid = dw_index.Object.BillID[dw_index.GetRow( )]
  510. OpenWithParm(w_xls_update_templates,ls_tid )
  511. PARENT.TriggerEvent('retrieve_pageretr')
  512. PARENT.TriggerEvent('retrieve_templates')
  513. END EVENT
  514. type cb_del from uo_xls_imflatbutton within w_templates_monitor
  515. string tag = "删除模版"
  516. integer x = 718
  517. integer width = 274
  518. integer height = 168
  519. integer taborder = 130
  520. boolean bringtotop = true
  521. string text = "删除模版"
  522. string normalpicname = "delete.bmp"
  523. integer picsize = 16
  524. toolbaralignment pic_align = alignattop!
  525. boolean border = false
  526. end type
  527. EVENT Clicked;
  528. CALL SUPER::Clicked;
  529. PARENT.TriggerEvent( "delete_template")
  530. END EVENT
  531. type cb_edit from uo_xls_imflatbutton within w_templates_monitor
  532. string tag = "调用模版编辑器编辑模版"
  533. integer x = 992
  534. integer width = 274
  535. integer height = 168
  536. integer taborder = 20
  537. boolean bringtotop = true
  538. string text = "编辑模版"
  539. string normalpicname = "Open.bmp"
  540. integer picsize = 16
  541. toolbaralignment pic_align = alignattop!
  542. boolean border = false
  543. end type
  544. EVENT Clicked;
  545. CALL SUPER::Clicked;
  546. PARENT.TriggerEvent( "edit_template")
  547. END EVENT
  548. type cb_save from uo_xls_imflatbutton within w_templates_monitor
  549. boolean visible = false
  550. integer x = 4485
  551. integer y = 740
  552. integer width = 183
  553. integer height = 172
  554. integer taborder = 130
  555. boolean bringtotop = true
  556. boolean enabled = false
  557. string text = "保存"
  558. string normalpicname = "new.bmp"
  559. integer picsize = 16
  560. toolbaralignment pic_align = alignattop!
  561. boolean border = false
  562. end type
  563. EVENT Clicked;
  564. CALL SUPER::Clicked;
  565. PARENT.TriggerEvent( "update_template")
  566. END EVENT
  567. type cb_saveas from uo_xls_imflatbutton within w_templates_monitor
  568. string tag = "将模版另存为Excel文件"
  569. integer x = 443
  570. integer width = 274
  571. integer height = 168
  572. integer taborder = 130
  573. boolean bringtotop = true
  574. string text = "导出模版"
  575. string normalpicname = "Save.bmp"
  576. integer picsize = 16
  577. toolbaralignment pic_align = alignattop!
  578. boolean border = false
  579. end type
  580. event clicked;
  581. CALL Super::Clicked;
  582. IF dw_index.GetRow( ) <= 0 THEN
  583. MessageBox('系统提示','请选择模版所属的主表')
  584. RETURN
  585. END IF
  586. //String savepath ,Filename
  587. //Long li_rc
  588. //
  589. //li_rc = GetFileSaveName ( "保存文件", savepath, Filename, "Excel", "Excel 模版(*.xlt),*.xlt,Excel Files(*.xls),*.xls")
  590. //IF li_rc = 1 THEN
  591. String arg_msg
  592. s_xls_billlist str_billlist
  593. str_billlist = obj_st.of_getbillinfo(s_tem.TemplatesID,arg_msg) //根据模版获取相应的单据信息
  594. IF str_billlist.count <= 0 THEN
  595. MessageBox('错误',arg_msg)
  596. RETURN
  597. END IF
  598. IF obj_st.of_setoption(5, True ,True ,arg_msg) <> 1 THEN
  599. MessageBox('',arg_msg)
  600. RETURN
  601. END IF
  602. obj_st.Event oe_sendtoexcel(str_billlist)
  603. //ELSE
  604. // RETURN
  605. //END IF
  606. end event
  607. type ole_1 from olecontrol within w_templates_monitor
  608. event queryinterface ( oleobject riid, ref pointer ppvobj )
  609. event addref ( )
  610. event release ( )
  611. event selectionchange ( oleobject target )
  612. event beforedoubleclick ( oleobject target, ref boolean cancel )
  613. event beforerightclick ( oleobject target, ref boolean cancel )
  614. event activate ( )
  615. event deactivate ( )
  616. event calculate ( )
  617. event change ( oleobject target )
  618. event followhyperlink ( oleobject target )
  619. event pivottableupdate ( oleobject target )
  620. integer x = 864
  621. integer y = 192
  622. integer width = 2455
  623. integer height = 1972
  624. integer taborder = 21
  625. boolean bringtotop = true
  626. boolean focusrectangle = false
  627. string binarykey = "w_templates_monitor.win"
  628. omdisplaytype displaytype = displayascontent!
  629. omcontentsallowed contentsallowed = containsany!
  630. omlinkupdateoptions linkupdateoptions = linkupdatemanual!
  631. sizemode sizemode = clip!
  632. end type
  633. EVENT RButtonDown;
  634. IF dw_pageretr.RowCount() = 0 THEN RETURN
  635. m_xls_dfc_control_popupmenu dmPopupMenu
  636. String menustr
  637. menustr = "Text=编辑模版~tEvent=edit_template"
  638. IF cb_save.Enabled THEN
  639. menustr = menustr + "|" + "Text=保存模版~tEvent=update_template"
  640. menustr = menustr + "|" + "Text=取消保存~tEvent=retrieve_templates"
  641. END IF
  642. menustr = menustr + "|" + "Text=删除模版~tEvent=delete_template"
  643. IF Len(Trim(menustr)) <> 0 THEN
  644. dmPopupMenu = CREATE m_xls_dfc_control_popupmenu
  645. dmPopupMenu.mf_BuildMenu(THIS, menustr)
  646. dmPopupMenu.mf_PopMenu()
  647. DESTROY dmPopupMenu
  648. END IF
  649. END EVENT
  650. type cb_preview from uo_xls_imflatbutton within w_templates_monitor
  651. string tag = "预览空白模版"
  652. integer x = 1650
  653. integer width = 274
  654. integer height = 168
  655. integer taborder = 140
  656. boolean bringtotop = true
  657. string text = "预览模版"
  658. string normalpicname = "PREVIEW.BMP"
  659. integer picsize = 16
  660. toolbaralignment pic_align = alignattop!
  661. boolean border = false
  662. end type
  663. event clicked;
  664. CALL Super::Clicked;
  665. String arg_msg
  666. //IF obj_st.priviewtemplate( s_tem.tid ,s_tem.TemplatesID , arg_msg) <> 1 THEN MessageBox('',arg_msg)
  667. s_xls_billlist str_billlist
  668. str_billlist = obj_st.of_getbillinfo(s_tem.TemplatesID,arg_msg) //根据模版获取相应的单据信息
  669. IF str_billlist.count <= 0 THEN
  670. MessageBox('错误',arg_msg)
  671. RETURN
  672. END IF
  673. IF obj_st.of_setoption(4, False ,False , arg_msg) <> 1 THEN
  674. MessageBox('',arg_msg)
  675. RETURN
  676. END IF
  677. obj_st.Event oe_sendtoexcel(str_billlist)
  678. end event
  679. type cb_edittemp from uo_xls_imflatbutton within w_templates_monitor
  680. string tag = "修改模版属性"
  681. integer x = 1266
  682. integer width = 384
  683. integer height = 168
  684. integer taborder = 140
  685. boolean bringtotop = true
  686. string text = "修改模版属性"
  687. string normalpicname = "update.BMP"
  688. integer picsize = 16
  689. toolbaralignment pic_align = alignattop!
  690. boolean border = false
  691. end type
  692. event clicked;
  693. CALL SUPER::Clicked;
  694. IF dw_pageretr.GetRow() <= 0 THEN
  695. MessageBox('系统提示','请选定目标模版!')
  696. RETURN
  697. END IF
  698. TRY
  699. s_tem.tid = dw_pageretr.Object.tid[dw_pageretr.GetRow()]
  700. s_tem.templatesid = dw_pageretr.Object.id[dw_pageretr.GetRow()]
  701. s_tem.templatesname = dw_pageretr.Object.templatesname[dw_pageretr.GetRow()]
  702. s_tem.ifpic = dw_pageretr.Object.ifpic[dw_pageretr.GetRow()]
  703. OpenWithParm(w_xls_update_templates_ifpic,s_tem)
  704. Catch(runtimeerror err)
  705. MessageBox('',err.Text)
  706. END TRY
  707. wf_refresh_curuc(s_tem.tid,s_tem.templatesid)
  708. end event
  709. type ln_bar from line within w_templates_monitor
  710. long linecolor = 268435456
  711. integer linethickness = 4
  712. integer beginy = 176
  713. integer endx = 2802
  714. integer endy = 176
  715. end type
  716. type ln_bar2 from line within w_templates_monitor
  717. long linecolor = 16777215
  718. integer linethickness = 4
  719. integer beginy = 180
  720. integer endx = 2802
  721. integer endy = 180
  722. end type
  723. type r_bar from rectangle within w_templates_monitor
  724. long linecolor = 16777215
  725. long fillcolor = 1073741824
  726. integer x = 4311
  727. integer y = 320
  728. integer width = 73
  729. integer height = 172
  730. end type
  731. EVENT Constructor;
  732. THIS.FillColor = 14215660
  733. THIS.LineColor = 14215660
  734. THIS.X = -1
  735. THIS.Y = -1
  736. THIS.Height = ln_bar2.BeginY - 5
  737. END EVENT
  738. type ln_1 from line within w_templates_monitor
  739. boolean visible = false
  740. long linecolor = 268435456
  741. integer linethickness = 4
  742. integer beginy = 300
  743. integer endx = 2802
  744. integer endy = 300
  745. end type
  746. type ln_2 from line within w_templates_monitor
  747. boolean visible = false
  748. long linecolor = 16777215
  749. integer linethickness = 4
  750. integer beginy = 304
  751. integer endx = 2802
  752. integer endy = 304
  753. end type
  754. Start of PowerBuilder Binary Data Section : Do NOT Edit
  755. 03w_templates_monitor.bin
  756. 2400001e00e011cfd0e11ab1a1000000000000000000000000000000000003003e0009fffe000000060000000000000000000000010000000100000000000010000000000200000001fffffffe0000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd00000008fffffffe0000000400000005000000060000000700000009fffffffe0000000a0000000b0000000c0000000dfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006f00520074006f004500200074006e00790072000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050016ffffffffffffffff000000020002082000000000000000c0460000000000000000000000000000002fe515b001c88fee000000030000134000000000004f00010065006c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102000affffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000430001006d006f004f0070006a0062000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010200120000000100000004ffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000010000006a00000000006f0057006b0072006f0062006b006f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020012ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000003000007ea00000000fffffffe00000002fffffffe0000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f000000100000001100000012000000130000001400000015000000160000001700000018000000190000001a0000001b0000001c0000001d0000001e0000001f000000200000002100000022fffffffe0000002400000025000000260000002700000028000000290000002a0000002b0000002c0000002d0000002e0000002f000000300000003100000032000000330000003400000035000000360000003700000038000000390000003a0000003b0000003c0000003d0000003efffffffe0000004000000041000000420000004300000044fffffffe000000460000004700000048fffffffe0000004a0000004b0000004cfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
  757. 23ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0200000100000000000000000000000000000000001d239000000000000000000000000000000000000000000000000000000000000000000000000000000000fffe000100000a03ffffffff0002082000000000000000c0460000000000001e7263694d666f736f664f20746563696663784520b9206c65b1f7d7a4000600ed69420000003866660000000e6563784568532e6c2e74656539f40038000071b20000000000000000000000000000000000000000000000000000000000000000001008090005060007cd15ec0000c0c100000306000200e100c104b000000002000000e20070005c4c00000320204251202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202000020042016104b000000002000001c00002013d009c0001000e0002000800de0000000c060000090002001900120000000000020002001301af000000000002000201bc003d000001680012298b000f00381914000000000258000100020040008d00000000000200020022000e000000010002000201b700da00000000000200140031000000f001907fff00000000010200864f535b8b00140031000000f001907fff00000000010200864f535b8b00140031000000f001907fff00000000010200864f535b8b00140031000000f001907fff00000000010200864f535b8b00140031000000f001907fff00000000010200864f535b8b00140031000000b401907fff00000000010200864f535b8b002b041e00130005e5002201230022ff23002c003000230022003b0022ffe5002d005c002c002300230023001e0030000600350401001800ffe50022002300220023002c00300023005b003b00650052005d0064ffe50022005c00220023002d0023002c003000230037041e00190007e5002201230022ff23002c003000230030002e003b003000e50022005c0022ff23002d0023002c003000230030002e001e0030000800410401001e00ffe50022002300220023002c003000230030002e003b00300052005b006400650022005d0022ffe5002d005c002c002300230023002e0030003000300069041e0032002a20005f01e50022002a0022ff2300200023002c003000230020005f005f003b002200200022ffe50020002a002d005c002c002300230023005f0030003b00200020005f00e50022002a0022ff2200200022002d0020005f005f003b004000200020005f002e041e0029002900205f00002c23202a5f302323205f3b202d5c202a23232c233b205f30202a205f5f222d22205f3b201e205f402c00790401003a000020005fffe50022002a0022002300200023002c003000230030002e005f0030003b00200020005fffe50022002a0022005c00200023002d0023002c003000230030002e005f0030003b00200020005fffe50022002a0022002200200022002d003f003f0020005f005f003b004000200020005f0036041e0031002b2a205f00232c2320302e30233b205f30202a205f2c232d5c2e302323205f30302a205f3b222d2220205f3f3f40205f3b041e205f0017001a5c000015232c2324295f30235c285c3b232c2324295c3023001f041e001a001823245c003023232c5b3b295f5d646552245c285c23232c231e295c301900200400001b002c23245c2e302323295f30305c285c3b232c2324302e30231e295c301a002504000020002c23245c2e302323295f303065525b3b285c5d642c23245c2e302323295c3030001400e0000000000010fff5000000000000000020c00000001400e0000000010010fff50000f4000000000020c00000001400e0000000010010fff50000f4000000000020c00000001400e0000000020010fff50000f4000000000020c00000001400e0000000020010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e0000000000010fff50000f4000000000020c00000001400e00000000000100001000000000000000020c00000001400e0000900050010fff50000f8000000000020c00000001400e0002c00050010fff50000f8000000000020c00000001400e0002a00050010fff50000f8000000000020c00000001400e0002b00050010fff50000f8000000000020c00000001400e0002900050010fff50000f8000000000020c0000000040293ff05801000040293ff00800000040293ff04801100040293ff07801200040293ff03801300040293ff068014000201600085000006f7000e0000000068530006317465650004008c00560056000801c1000001c10001be22000800fc0000000000000000
  758. 21000200ff0863000808630015000000000000000000150000000000000aae00000900000000001008ec001006c107cd15060000c00d0000030100020002000c000f006400010002000200110010000000fc0008004dd2f1a95f3f50620100020002002a002b0000000000020002008200800001000000080000000000250000000000040281011d00c100020000001404000015000200830084000000000002002200a1001d00000001000101040001000000000000000000e00000000000003fe00000005500003f080002000e0200000000000001000000000000003e000000b6001202000000060000400000000000000000000f001d0000000300000000000000000100000000000600ef00370006000a0000000000000000000000000000000000000000000000000000ffffffff000000030000000400000001ffffffff000000020000000000003431000013be0000066a0009000103350300000400000000000c000400000103000000050008020b0000000000000000000500c0020c000501fa020900000000000000000005ffff0201000400ff010400000004000d0102000000030002001e000000000004ffff0127000000030004001e012700000003ffff001e000000000005ffff0201000500ff020900000000000000000004ffff0127000000030005001e0201000000ffffff0000000500000209000700000416000001f900bf0000000000000004ffff0127000000030005001e0201000000ffffff0000000500000209000700000416000001f900bf0000000000000004ffff0127000000030005001e0201000000ffffff0000000500000209000700000416000001f900bf00010001004f00020065006c0072005000730065003000300000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000200180000000300000006ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000023000006d800000000004f00020065006c007200500073006500300030000000310000000000000000000000000000000000000000000000000000000000000000000000000000000000020018ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000003f000001780000000000530005006d00750061006d00790072006e0049006f0066006d007200740061006f00690000006e000000000000000000000000000000000000000000000000010200280000000500000007ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000045000000c800000000004400050063006f006d0075006e006500530074006d00750061006d00790072006e0049006f0066006d007200740061006f00690000006e000000000000000000020038ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000049000000f00000000000000004ffff0127000000030005001e0201000000ffffff0000000500000209000700000416000001f900bf0000000000000007000002fc00c0c0c000040000012d0000000500000209000000c0c0c000000005c0c00201000400c0010400000004000d010200000008000202fa000000000000c0c00000000400c0012d00000005000102140000000000000000000500000213000801f802fa0000000000000000000000040000012d0000000c00020940000000f000210000000000010000000001f800040000012d00000005000102140000000000130000000500130213000401f8012d0000000c00020940000000f000210000000000010000001301f800040000012d00000005000102140000000000260000000500260213000401f8012d0000000c00020940000000f000210000000000010000002601f800040000012d00000005000102140000000000390000000500390213000401f8012d0000000c00020940000000f000210000000000010000003901f800040000012d000000050001021400000000004c00000005004c0213000401f8012d0000000c00020940000000f000210000000000010000004c01f800040000012d000000050001021400000000005f00000005005f0213000401f8012d0000000c00020940000000f000210000000000010000005f01f800040000012d00000005000102140000000000720000000500720213000401f8012d0000000c00020940000000f000210000000000010000007201f800040000012d00000005000102140000000000850000000500850213000401f8012d0000000c00020940000000f000210000000000010000008501f800040000012d00000005000102140000000000980000000500980213000401f8012d0000000c00020940000000f000210000000000010000009801f800040000012d00000005000102140000000000ab0000000500ab0213000401f8012d0000000c00020940000000f00021000000000001000000ab01f800040000012d00000005000102140000000000be0000000500be0213000401f8012d0000000c00020940000000f00021000000000001000000be01f800040000012d00000005000102140000000000000000000500bf021300040000012d0000000c00020940000000f000210000000000bf00000000000100040000012d0000
  759. 270005000102140000004800000000000500bf021300040048012d0000000c00020940000000f000210000000000bf00000000000100040048012d00000005000102140000009000000000000500bf021300040090012d0000000c00020940000000f000210000000000bf00000000000100040090012d0000000500010214000000d800000000000500bf0213000400d8012d0000000c00020940000000f000210000000000bf000000000001000400d8012d00000005000102140000012000000000000500bf021300040120012d0000000c00020940000000f000210000000000bf00000000000100040120012d00000005000102140000016800000000000500bf021300040168012d0000000c00020940000000f000210000000000bf00000000000100040168012d0000000500010214000001b000000000000500bf0213000401b0012d0000000c00020940000000f000210000000000bf000000000001000401b0012d0000000500010214000001f800000000000500bf0213000401f8012d0000000c00020940000000f000210000000000bf000000000001000701f802fc00000000000000000000000000040003012d00000004ffff0127000000030005001e0201000000c0c0c000000005c0c00209000700c00416000001f900bf0001000100000004ffff0127000000030000000000000000000000000000000000000000494e414e00000001ffffffff000000030000000000000004ffffffff00000020000009ec000007c000000006000000070000001800000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000030000000400000004ffffffff0000000700000000000009ec000007c00000013e00090001009f03000001000000000029000400000103000000050008020b00000000000000000005004b020c00050060020900000000000000000005ffff0201000a00ff062600000009000f6e6f6349796c6e4f0005000002090000000000000000000500010102001c000002fb00000000fff500000000000001900000010061540000616d6f68085403003060c30ad21877c194960012306077be068477c10004a766012d000000050000012e0000000000060000000e00240a32000600300000000400600000a4b9004bedb1f7d7000000050001012e00290000062600000048000f575c3a434f444e49495c53576174736e72656c6c30397b5c38303131362d34302d303030334431314643382d31302d4534303035333833385c7d394363696c782e736e6f0065786500000006000f06260031000200000003000000000000000000000000000000000000000000000000000000000000fffe000202050000000000000000000000000000000000000001f29f85e010684ff9000891abd9b3272b00000030000000980000000700000001000000400000000400000048000000080000005400000012000000600000000c000000780000000d00000084000000130000009000000002000003a80000001e000000040042514c0000001e000000040042514c0000001e000000107263694d666f736f78452074006c6563000000406b93388001c708bd000000406d5cfc0001c708bd000000030000000003820293000010000014017800196100000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffe000202050000000000000000000000000000000000000001d5cdd502101b2e9c00089793aef92c2b00000030000000c00000000900000001000000500000000f0000005800000017000000640000000b0000006c0000001000000074000000130000007c00000016000000840000000d0000008c0000000c0000009f00000002000003a80000001e000000040000000000000003000b15e60000000b000000000000000b000000000000000b000000000000000b000000000000101e0000000100000007656568530c003174020000101e00000007000000b9000000b1f7d7a4000300ed000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  760. 13w_templates_monitor.bin
  761. End of PowerBuilder Binary Data Section : No Source Expected After This Point