blob: feb7234e83c0dd6ffb45c3023aeee6bba9895f2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsd:schema version="0.9"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://jfreereport.sourceforge.net/namespaces/engine/openoffice/stylemapper"
targetNamespace="http://jfreereport.sourceforge.net/namespaces/engine/openoffice/stylemapper"
attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>
This schema describes the format of the stylemapper definition file.
The stylemapper declares what style-families are referenced by an element.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="styleNameRefType">
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="styleNameRef"/>
<xsd:enumeration value="styleNameRefs"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="styleFamilyType">
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="paragraph"/>
<xsd:enumeration value="text"/>
<xsd:enumeration value="section"/>
<xsd:enumeration value="table"/>
<xsd:enumeration value="table-column"/>
<xsd:enumeration value="table-row"/>
<xsd:enumeration value="table-cell"/>
<xsd:enumeration value="table-page"/>
<xsd:enumeration value="chart"/>
<xsd:enumeration value="default"/>
<xsd:enumeration value="drawing-page"/>
<xsd:enumeration value="graphic"/>
<xsd:enumeration value="presentation"/>
<xsd:enumeration value="control"/>
<xsd:enumeration value="ruby"/>
<xsd:enumeration value="custom-shape"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="mapping">
<xsd:complexType>
<xsd:attribute name="element-namespace" use="required" type="xsd:anyURI"/>
<xsd:attribute name="element-name" use="required" type="xsd:NCName"/>
<xsd:attribute name="attribute-namespace" use="required" type="xsd:anyURI"/>
<xsd:attribute name="attribute-name" use="required" type="xsd:NCName"/>
<xsd:attribute name="type" use="required" type="styleNameRefType"/>
<xsd:attribute name="style-family" use="required" type="styleFamilyType"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="style-mapper-definition">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="xsd:anyType">
<xsd:sequence>
<xsd:element ref="mapping" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
|