|
@@ -6,7 +6,7 @@
|
|
|
</xs:annotation>
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
- <xs:element name="font-type" minOccurs="0">
|
|
|
+ <xs:element name="font-type" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:complexType>
|
|
|
<xs:attribute name="fontType" type="xs:string">
|
|
|
<xs:annotation>
|
|
@@ -25,12 +25,12 @@
|
|
|
</xs:attribute>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
- <xs:element name="printer-config" minOccurs="0">
|
|
|
+ <xs:element name="printer-config" minOccurs="0" maxOccurs="1">
|
|
|
<xs:complexType>
|
|
|
<xs:attributeGroup ref="textGroup" />
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
- <xs:element name="eval-property" minOccurs="0">
|
|
|
+ <xs:element name="eval-property" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>
|
|
|
计算字段
|
|
@@ -61,7 +61,7 @@
|
|
|
<xs:group name="control">
|
|
|
<xs:sequence>
|
|
|
<!-- 条形码 -->
|
|
|
- <xs:element name="barcode" minOccurs="0">
|
|
|
+ <xs:element name="barcode" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>显示条形码组件</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -88,7 +88,7 @@
|
|
|
</xs:element>
|
|
|
<!-- End 条形码 -->
|
|
|
<!-- 二维码 -->
|
|
|
- <xs:element name="qrcode" minOccurs="0">
|
|
|
+ <xs:element name="qrcode" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>显示二维码组件</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -130,21 +130,25 @@
|
|
|
</xs:element>
|
|
|
<!-- End 二维码 -->
|
|
|
<!-- 文字 -->
|
|
|
- <xs:element name="text" minOccurs="0">
|
|
|
+ <xs:element name="text" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>显示文字的组件</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:complexType>
|
|
|
- <xs:attributeGroup ref="directive" />
|
|
|
- <xs:attributeGroup ref="size" />
|
|
|
- <xs:attributeGroup ref="offsetGroup" />
|
|
|
- <xs:attributeGroup ref="bindingGroup" />
|
|
|
- <xs:attributeGroup ref="textGroup" />
|
|
|
+ <xs:simpleContent>
|
|
|
+ <xs:extension base="xs:string">
|
|
|
+ <xs:attributeGroup ref="directive" />
|
|
|
+ <xs:attributeGroup ref="size" />
|
|
|
+ <xs:attributeGroup ref="offsetGroup" />
|
|
|
+ <xs:attributeGroup ref="bindingGroup" />
|
|
|
+ <xs:attributeGroup ref="textGroup" />
|
|
|
+ </xs:extension>
|
|
|
+ </xs:simpleContent>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
<!-- End 文字 -->
|
|
|
<!-- 线条 -->
|
|
|
- <xs:element name="line" minOccurs="0">
|
|
|
+ <xs:element name="line" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>显示线条的组件</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -156,7 +160,7 @@
|
|
|
</xs:element>
|
|
|
<!-- End 线条 -->
|
|
|
<!-- 纵向排列 -->
|
|
|
- <xs:element name="column" minOccurs="0">
|
|
|
+ <xs:element name="column" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>从上往下排列组件, 子组件的y属性代表相对上一个子组件的位置</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -169,7 +173,7 @@
|
|
|
</xs:element>
|
|
|
<!-- End 纵向排列 -->
|
|
|
<!-- 横向排列 -->
|
|
|
- <xs:element name="row" minOccurs="0">
|
|
|
+ <xs:element name="row" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>从左到右排列组件, 子组件的x属性代表相对上一个子组件的位置</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -182,7 +186,7 @@
|
|
|
</xs:element>
|
|
|
<!-- End 横向排列 -->
|
|
|
<!-- 横向排列-循环 -->
|
|
|
- <xs:element name="row-for" minOccurs="0">
|
|
|
+ <xs:element name="row-for" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>从左到右排列组件, 子组件的x属性代表相对上一个子组件的位置, 带有循环数组的功能,适用于多行渲染, y属性代表当前数据行的相对位置</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -196,7 +200,7 @@
|
|
|
</xs:element>
|
|
|
<!-- End 横向排列-循环 -->
|
|
|
<!-- 绝对布局 -->
|
|
|
- <xs:element name="stack" minOccurs="0">
|
|
|
+ <xs:element name="stack" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>绝对布局 使用子组件的x和y定位</xs:documentation>
|
|
|
</xs:annotation>
|
|
@@ -209,24 +213,28 @@
|
|
|
</xs:element>
|
|
|
<!-- End 绝对布局 -->
|
|
|
<!-- 表格 -->
|
|
|
- <xs:element name="table" minOccurs="0">
|
|
|
+ <xs:element name="table" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>表格组件, 支持纵向合并, 边框线 子组件的x和y无效 子组件只支持table-column</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
- <xs:element name="table-column">
|
|
|
+ <xs:element name="table-column" minOccurs="0" maxOccurs="unbounded">
|
|
|
<xs:complexType>
|
|
|
- <xs:attribute name="columnMerge" type="xs:boolean">
|
|
|
- <xs:annotation>
|
|
|
- <xs:documentation>
|
|
|
+ <xs:simpleContent>
|
|
|
+ <xs:extension base="xs:string">
|
|
|
+ <xs:attribute name="columnMerge" type="xs:boolean">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
是否合并
|
|
|
</xs:documentation>
|
|
|
- </xs:annotation>
|
|
|
- </xs:attribute>
|
|
|
- <xs:attributeGroup ref="bindingGroup"></xs:attributeGroup>
|
|
|
- <xs:attributeGroup ref="sizeRWidth"></xs:attributeGroup>
|
|
|
- <xs:attributeGroup ref="textGroup"></xs:attributeGroup>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:attribute>
|
|
|
+ <xs:attributeGroup ref="bindingGroup"></xs:attributeGroup>
|
|
|
+ <xs:attributeGroup ref="sizeRWidth"></xs:attributeGroup>
|
|
|
+ <xs:attributeGroup ref="textGroup"></xs:attributeGroup>
|
|
|
+ </xs:extension>
|
|
|
+ </xs:simpleContent>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|