-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathformatworkbook.dtd
47 lines (34 loc) · 1.3 KB
/
formatworkbook.dtd
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
<!-- The DTD required for the XML demonstration program xlrd.XML -->
<!ELEMENT workbook (sheet*)>
<!ELEMENT sheet (name, row*)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT row (col*)>
<!ATTLIST row number CDATA #REQUIRED>
<!ELEMENT col (data, format?)>
<!ATTLIST col number CDATA #REQUIRED>
<!ELEMENT data (#PCDATA)>
<!ELEMENT format (font, background?, border?, format_string?)>
<!ATTLIST format wrap (true|false) "false">
<!ATTLIST format align
(general|left|centre|right|fill|justify) "general">
<!ATTLIST format valign (top|centre|bottom) "bottom">
<!ATTLIST format orientation
(horizontal|vertical|up90|down90) "horizontal">
<!ELEMENT font EMPTY>
<!ATTLIST font name CDATA #REQUIRED>
<!ATTLIST font point_size CDATA #REQUIRED>
<!ATTLIST font bold_weight CDATA #REQUIRED>
<!ATTLIST font italic (true|false) #REQUIRED>
<!ATTLIST font underline CDATA #REQUIRED>
<!ATTLIST font colour CDATA #REQUIRED>
<!ATTLIST font script (normal|super|sub) "normal">
<!ELEMENT border EMPTY>
<!ATTLIST border top CDATA "none">
<!ATTLIST border bottom CDATA "none">
<!ATTLIST border left CDATA "none">
<!ATTLIST border right CDATA "none">
<!ELEMENT background EMPTY>
<!ATTLIST background colour CDATA "default background">
<!ATTLIST background pattern CDATA "none">
<!ELEMENT format_string EMPTY>
<!ATTLIST format string CDATA "">