Class DocxTemplateHandler

java.lang.Object
com.sankcrm.erp.contract.infrastructure.template.word.DocxTemplateHandler

@Component @ConditionalOnBean(LibreOfficePdfConverter.class) public class DocxTemplateHandler extends Object
DOCX模板的保存、参数填充、PDF生成和签章锚点回写。

模板中使用以下自动签章变量即可定位签章: ${_template_signatory_1}、${_template_signatory_1_operator}。 数字对应签约方 index。