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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
//
// -----------------------------------------------------------------------------
// THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//
/// Defines the ThemeFamily Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is thm15:themeFamily.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "thm15:CT_ThemeFamily/thm15:themeFamily")]
pub struct ThemeFamily {
pub xmlns: Option<String>,
pub xmlns_map: std::collections::HashMap<String, String>,
/// name
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :name
#[sdk(attr(qname = ":name"))]
pub name: crate::simple_type::StringValue,
/// id
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :id
#[sdk(attr(qname = ":id"))]
#[sdk(pattern(
source = 1u32,
regex = "\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}"
))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub id: crate::simple_type::StringValue,
/// vid
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :vid
#[sdk(attr(qname = ":vid"))]
#[sdk(pattern(
source = 1u32,
regex = "\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}"
))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub vid: crate::simple_type::StringValue,
/// _
#[sdk(child(qname = "a:CT_OfficeArtExtensionList/thm15:extLst"))]
pub office_art_extension_list: Option<OfficeArtExtensionList>,
}
/// Defines the OfficeArtExtensionList Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is thm15:extLst.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a:CT_OfficeArtExtensionList/thm15:extLst")]
pub struct OfficeArtExtensionList {
///Extension.
#[sdk(child(qname = "a:CT_OfficeArtExtension/a:ext"))]
pub extension: Vec<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::Extension>,
}
/// Defines the ThemeVariant Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is thm15:themeVariant.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "thm15:CT_ThemeVariant/thm15:themeVariant")]
pub struct ThemeVariant {
/// name
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :name
#[sdk(attr(qname = ":name"))]
pub name: crate::simple_type::StringValue,
/// vid
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :vid
#[sdk(attr(qname = ":vid"))]
#[sdk(pattern(
source = 1u32,
regex = "\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}"
))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub vid: crate::simple_type::StringValue,
/// cx
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :cx
#[sdk(attr(qname = ":cx"))]
#[sdk(number_range(
source = 1u32,
min = "-27273042329600",
max = "27273042316900",
min_inclusive = true,
max_inclusive = true
))]
pub x: crate::simple_type::Int64Value,
/// cy
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: :cy
#[sdk(attr(qname = ":cy"))]
#[sdk(number_range(
source = 1u32,
min = "-27273042329600",
max = "27273042316900",
min_inclusive = true,
max_inclusive = true
))]
pub y: crate::simple_type::Int64Value,
/// id
///
/// Available in Office2013 and above.
///
/// Represents the following attribute in the schema: r:id
#[sdk(attr(qname = "r:id"))]
pub r_id: crate::simple_type::StringValue,
/// _
#[sdk(child(qname = "a:CT_OfficeArtExtensionList/thm15:extLst"))]
pub office_art_extension_list: Option<OfficeArtExtensionList>,
}
/// Defines the ThemeVariantList Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is thm15:themeVariantLst.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "thm15:CT_ThemeVariantList/thm15:themeVariantLst")]
pub struct ThemeVariantList {
/// _
#[sdk(child(qname = "thm15:CT_ThemeVariant/thm15:themeVariant"))]
pub thm15_theme_variant: Vec<ThemeVariant>,
}