问题标签 [invantive-composition]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ms-word - 在 Invantive Composition for Word 中创建条件块
如何根据数据库的内容有条件地在我的 Word 文档中包含/排除文本部分,例如我想在 Microsoft Word 文档中执行类似的操作(伪代码):
IF <invantive:value-of expression="$P{Level}" /> GREATER THAN 3 THEN
技术的
编程语言
<invantive:foreach block="A.languages"><invantive:value-of expression="$F{technicalname}"/></invantive:foreach>
操作系统
<invantive:foreach block="B.systems"><invantive:value-of expression="$F{technicalname}"/></invantive:foreach>
END