<include page="/platform/print/print.ptl">
    <include:part name="title">
        ${title}
    </include:part>
    <include:part name="head">
        <script type="text/javascript" src="/ods/macro/print.js"></script>
    </include:part>
    <include:part name="buttons">

        <span bind="editable">
            <button class="btn" onclick="save();">保存</button>
        </span>
        <span bind="editable&&resetable">
            <button class="btn" onclick="reset();">重新生成</button>
        </span>
        <span bind="editable&&resetable" id="convertToPdf">
            <button class="btn" onclick="window.convertTo('pdf');">转为pdf</button>
        </span>
        <span bind="editable&&resetable" id="convertToOfd">
            <button class="btn" onclick="window.convertTo('ofd');">转为ofd</button>
        </span>

    </include:part>
</include>