Document builder customizing
Created by Jerry Wang on Jun 29, 2014
Define element type: 定义element在文档中的逻辑作用:
define text type:
define text format:
Define conguration parameters:
如果想使用WORDML的解决方案,需要将FORMAT设置成WORDML.
如果需要查找系统里所有format为wordml的content,可以使用如下database table:
Define variable:
变量用于提供end user input,这些input最终会和document的静态部分merge在一起形成最终输出的文档。
每个content必须包含一个structure variable作为其root variable:
Define regulation sets:
根据文档不同的business 用途,定义不同的regulation set。Regulation set是一系列business scenario层面上相关的element的集合。
Define elements:
每个element必须assign给某个regulation sets:
Associated variables:
Element可以assign 0:n的variable。这些variable在UI上以input field(或者checkbox,radio button等等)的形式给end user提供输入功能。
Texts: 定义element layout的类型,格式,以及布局。
点击download之后会自动打开word application进行编辑:
如果需要查找所有format为wordml的element,可以查找下面的table:
define document group:
定义一个逻辑上的容器,包含若干个document section.
Define document selections
从document creation ui可以看出,document selection是唯一决定哪些element会最终显示出现在文档里的选择条件:
Document selection的header信息:
1. document type:
在define document type里定义:
2. document format:
在define document format and sections里定义:
每个format又能定义若干个section:
这些sections反过来又在之前定义Elements时使用:
只有将element assign到某个具体的document format所包含的Section中才能最终显示在document里。
下图的document 对应的document selection是ZCR_DOCSL:
Format: INTERN, Document type STD, 具有两个section A和B,Default regulation set是ZCR_TRAVEL,
因此该regulation set在选择了document selection之后能自动带出来:
可通过下表查找到一个content内所有的element和section的对应关系: