sys_content_document_preview.lsc 840 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11
<?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>