File: formatworkbook.dtd

package info (click to toggle)
jexcelapi 2.6.12-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,240 kB
  • ctags: 7,331
  • sloc: java: 43,178; xml: 129; makefile: 19; lisp: 9; sh: 8
file content (47 lines) | stat: -rwxr-xr-x 1,329 bytes parent folder | download | duplicates (5)
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 "">