<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: liukang $Date: 2016-05-09 上午10:24:39 $Revision: 1.0 $Purpose: --> <a:screen xmlns:c="leaf.application.action" xmlns:w="leaf.plugin.export.word" xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" trace="true"> <a:init-procedure> <a:model-query fetchAll="true" model="cont.CON701.con_contract_et_print" rootPath="con_contract_et_print_path"/> <!-- <a:word-export name="${/parameter/@fileName}" savePath="${/parameter/@doc_name}" template="leaf.plugin.export.word/${/parameter/@xmlTemp}" type="pdf"> --> <a:word-export name="${/parameter/@fileName}" template="leaf.plugin.export.word/${/parameter/@xmlTemp}" type="pdf"> <w:replaces> <w:repalce name="con_contract_et_print" path="/model/con_contract_et_print_path"/> </w:replaces> </a:word-export> <!-- <s:server-script import="seal_util.js"><![CDATA[ //var file_name = '${/parameter/@fileName}'; var file_name = 'test_pdf'; var file_path = '${/parameter/@doc_name}'+file_name+'_pdf'; seal(file_name, file_path); ]]></s:server-script> --> </a:init-procedure> <a:service-output output="/parameter"/> </a:screen>