<?xml version="1.0" encoding="UTF-8"?> <a:screen xmlns:c="leaf.application.action" xmlns:s="leaf.plugin.script" xmlns:w="leaf.plugin.export.word" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" accessControlMode="false" customizationEnabled="true" trace="true"> <a:init-procedure> <a:model-query fetchAll="true" model="sys.SYS2000.sys_content_document_preview_query" rootPath="document_preview_data_path"/> <w:word-export name="${/parameter/@document_name}" savePath="${/parameter/@document_path}" template="leaf.plugin.export.word/sys_content_document.xml" type="pdf"> <w:replaces> <w:replace name="content_xml" path="/model/document_preview_data_path/record/@content_xml"/> </w:replaces> </w:word-export> </a:init-procedure> </a:screen>