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
//
// -----------------------------------------------------------------------------
// THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum TargetMode {
#[sdk(rename = "External")]
#[default]
External,
#[sdk(rename = "Internal")]
Internal,
}
/// Relationships.
///
/// Available in Office2007 and above.
///
/// When the object is serialized out as xml, it's qualified name is Relationships.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "CT_Relationships/Relationships")]
pub struct Relationships {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
pub xml_header: crate::common::XmlHeaderType,
///Relationship
#[sdk(child(qname = "CT_Relationship/Relationship"))]
pub relationship: Vec<Relationship>,
}
/// Relationship.
///
/// Available in Office2007 and above.
///
/// When the object is serialized out as xml, it's qualified name is Relationship.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "CT_Relationship/Relationship")]
pub struct Relationship {
/// TARGET MODE
///
/// Available in Office2007 and above.
///
/// Represents the following attribute in the schema: TargetMode
#[sdk(attr(qname = "TargetMode"))]
pub target_mode: Option<TargetMode>,
/// TARGET
///
/// Available in Office2007 and above.
///
/// Represents the following attribute in the schema: Target
#[sdk(attr(qname = "Target"))]
pub target: crate::simple_type::StringValue,
/// TYPE
///
/// Available in Office2007 and above.
///
/// Represents the following attribute in the schema: Type
#[sdk(attr(qname = "Type"))]
pub r#type: crate::simple_type::StringValue,
/// ID
///
/// Available in Office2007 and above.
///
/// Represents the following attribute in the schema: Id
#[sdk(attr(qname = "Id"))]
pub id: crate::simple_type::StringValue,
}