File: shared-commonSimpleTypes.rnc

package info (click to toggle)
python-docx 1.1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,904 kB
  • sloc: xml: 25,311; python: 23,028; makefile: 176
file content (91 lines) | stat: -rw-r--r-- 2,714 bytes parent folder | download | duplicates (3)
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
82
83
84
85
86
87
88
89
90
91
namespace o = "urn:schemas-microsoft-com:office:office"
namespace s =
  "http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
namespace v = "urn:schemas-microsoft-com:vml"
namespace w10 = "urn:schemas-microsoft-com:office:word"
namespace x = "urn:schemas-microsoft-com:office:excel"

s_ST_Lang = xsd:string
s_ST_HexColorRGB = xsd:hexBinary { length = "3" }
s_ST_Panose = xsd:hexBinary { length = "10" }
s_ST_CalendarType =
  string "gregorian"
  | string "gregorianUs"
  | string "gregorianMeFrench"
  | string "gregorianArabic"
  | string "hijri"
  | string "hebrew"
  | string "taiwan"
  | string "japan"
  | string "thai"
  | string "korea"
  | string "saka"
  | string "gregorianXlitEnglish"
  | string "gregorianXlitFrench"
  | string "none"
s_ST_AlgClass = string "hash" | string "custom"
s_ST_CryptProv = string "rsaAES" | string "rsaFull" | string "custom"
s_ST_AlgType = string "typeAny" | string "custom"
s_ST_ColorType = xsd:string
s_ST_Guid =
  xsd:token {
    pattern =
      "\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}"
  }
s_ST_OnOff = xsd:boolean | s_ST_OnOff1
s_ST_OnOff1 = string "on" | string "off"
s_ST_String = xsd:string
s_ST_XmlName = xsd:NCName { minLength = "1" maxLength = "255" }
s_ST_TrueFalse =
  string "t" | string "f" | string "true" | string "false"
s_ST_TrueFalseBlank =
  string "t"
  | string "f"
  | string "true"
  | string "false"
  | string ""
  | string "True"
  | string "False"
s_ST_UnsignedDecimalNumber = xsd:unsignedLong
s_ST_TwipsMeasure =
  s_ST_UnsignedDecimalNumber | s_ST_PositiveUniversalMeasure
s_ST_VerticalAlignRun =
  string "baseline" | string "superscript" | string "subscript"
s_ST_Xstring = xsd:string
s_ST_XAlign =
  string "left"
  | string "center"
  | string "right"
  | string "inside"
  | string "outside"
s_ST_YAlign =
  string "inline"
  | string "top"
  | string "center"
  | string "bottom"
  | string "inside"
  | string "outside"
s_ST_ConformanceClass = string "strict" | string "transitional"
s_ST_UniversalMeasure =
  xsd:string { pattern = "-?[0-9]+(\.[0-9]+)?(mm|cm|in|pt|pc|pi)" }
s_ST_PositiveUniversalMeasure =
  xsd:string {
    pattern = "-?[0-9]+(\.[0-9]+)?(mm|cm|in|pt|pc|pi)"
    pattern = "[0-9]+(\.[0-9]+)?(mm|cm|in|pt|pc|pi)"
  }
s_ST_Percentage = xsd:string { pattern = "-?[0-9]+(\.[0-9]+)?%" }
s_ST_FixedPercentage =
  xsd:string {
    pattern = "-?[0-9]+(\.[0-9]+)?%"
    pattern = "-?((100)|([0-9][0-9]?))(\.[0-9][0-9]?)?%"
  }
s_ST_PositivePercentage =
  xsd:string {
    pattern = "-?[0-9]+(\.[0-9]+)?%"
    pattern = "[0-9]+(\.[0-9]+)?%"
  }
s_ST_PositiveFixedPercentage =
  xsd:string {
    pattern = "-?[0-9]+(\.[0-9]+)?%"
    pattern = "((100)|([0-9][0-9]?))(\.[0-9][0-9]?)?%"
  }