#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum CommentStatus {
#[sdk(rename = "active")]
#[default]
Active,
#[sdk(rename = "resolved")]
Resolved,
#[sdk(rename = "closed")]
Closed,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "a:CT_TextBody/p188:txBody")]
pub struct TextBodyType {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
#[sdk(child(qname = "a:CT_TextBodyProperties/a:bodyPr"))]
pub body_properties: std::boxed::Box<crate::schemas::a::BodyProperties>,
#[sdk(child(qname = "a:CT_TextListStyle/a:lstStyle"))]
pub list_style: Option<std::boxed::Box<crate::schemas::a::ListStyle>>,
#[sdk(child(qname = "a:CT_TextParagraph/a:p"))]
pub paragraph: Vec<crate::schemas::a::Paragraph>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(
office2021,
qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst"
)]
pub struct CommentPropertiesExtensionList {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
#[sdk(child(office2021, qname = "p188:CT_CommentPropertiesExtension/p:ext"))]
pub comment_properties_extension: Vec<crate::schemas::p::CommentPropertiesExtension>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_AuthorList/p188:authorLst")]
pub struct AuthorList {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
pub xml_header: crate::common::XmlHeaderType,
pub xml_other_attrs: Vec<(std::boxed::Box<str>, std::boxed::Box<str>)>,
#[sdk(child(office2021, qname = "p188:CT_Author/p188:author"))]
pub author: Vec<Author>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_CommentList/p188:cmLst")]
pub struct CommentList {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
pub xml_header: crate::common::XmlHeaderType,
pub xml_other_attrs: Vec<(std::boxed::Box<str>, std::boxed::Box<str>)>,
#[sdk(child(office2021, qname = "p188:CT_Comment/p188:cm"))]
pub comment: Vec<Comment>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_CommentRelationship/p188:commentRel")]
pub struct CommentRelationship {
#[sdk(attr(office2021, qname = "r:id"))]
pub r_id: crate::simple_type::StringValue,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p:CT_ExtensionList/p188:extLst")]
pub struct ExtensionList {
pub xmlns: Vec<crate::common::XmlNamespaceDecl>,
#[sdk(child(qname = "p:CT_Extension/p:ext"))]
pub extension: Vec<crate::schemas::p::Extension>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_Author/p188:author")]
pub struct Author {
#[sdk(attr(office2021, qname = ":id"))]
#[sdk(string_format(kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":name"))]
pub name: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":initials"))]
pub initials: Option<crate::simple_type::StringValue>,
#[sdk(attr(office2021, qname = ":userId"))]
pub user_id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":providerId"))]
pub provider_id: crate::simple_type::StringValue,
#[sdk(child(office2021, qname = "p:CT_ExtensionList/p188:extLst"))]
pub extension_list: Option<ExtensionList>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_CommentReply/p188:reply")]
pub struct CommentReply {
#[sdk(attr(office2021, qname = ":id"))]
#[sdk(string_format(kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":authorId"))]
#[sdk(string_format(kind = "token"))]
pub author_id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":status"))]
#[sdk(string_format(kind = "token"))]
pub status: Option<CommentStatus>,
#[sdk(attr(office2021, qname = ":created"))]
pub created: crate::simple_type::DateTimeValue,
#[sdk(attr(office2021, list, qname = ":tags"))]
pub tags: Option<Vec<crate::simple_type::StringValue>>,
#[sdk(attr(office2021, list, qname = ":likes"))]
pub likes: Option<Vec<crate::simple_type::StringValue>>,
#[sdk(child(office2021, qname = "a:CT_TextBody/p188:txBody"))]
pub text_body_type: Option<std::boxed::Box<TextBodyType>>,
#[sdk(child(
office2021,
qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst"
))]
pub comment_properties_extension_list: Option<CommentPropertiesExtensionList>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "a:CT_Point2D/p188:pos")]
pub struct Point2DType {
#[sdk(attr(qname = ":x"))]
#[sdk(number_range(range = -27273042329600..= 27273042316900))]
pub x: crate::simple_type::Int64Value,
#[sdk(attr(qname = ":y"))]
#[sdk(number_range(range = -27273042329600..= 27273042316900))]
pub y: crate::simple_type::Int64Value,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_CommentReplyList/p188:replyLst")]
pub struct CommentReplyList {
#[sdk(child(office2021, qname = "p188:CT_CommentReply/p188:reply"))]
pub comment_reply: Vec<CommentReply>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(office2021, qname = "p188:CT_Comment/p188:cm")]
pub struct Comment {
#[sdk(attr(office2021, qname = ":id"))]
#[sdk(string_format(kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":authorId"))]
#[sdk(string_format(kind = "token"))]
pub author_id: crate::simple_type::StringValue,
#[sdk(attr(office2021, qname = ":status"))]
#[sdk(string_format(kind = "token"))]
pub status: Option<CommentStatus>,
#[sdk(attr(office2021, qname = ":created"))]
pub created: crate::simple_type::DateTimeValue,
#[sdk(attr(office2021, list, qname = ":tags"))]
pub tags: Option<Vec<crate::simple_type::StringValue>>,
#[sdk(attr(office2021, list, qname = ":likes"))]
pub likes: Option<Vec<crate::simple_type::StringValue>>,
#[sdk(attr(office2021, qname = ":startDate"))]
pub start_date: Option<crate::simple_type::DateTimeValue>,
#[sdk(attr(office2021, qname = ":dueDate"))]
pub due_date: Option<crate::simple_type::DateTimeValue>,
#[sdk(attr(office2021, list, qname = ":assignedTo"))]
pub assigned_to: Option<Vec<crate::simple_type::StringValue>>,
#[sdk(attr(office2021, qname = ":complete"))]
#[sdk(number_range(range = 0..= 100000))]
pub complete: Option<crate::simple_type::Int32Value>,
#[sdk(attr(office2021, qname = ":priority"))]
#[sdk(number_range(range = 0..= 10))]
pub priority: Option<crate::simple_type::UInt32Value>,
#[sdk(attr(office2021, qname = ":title"))]
pub title: Option<crate::simple_type::StringValue>,
#[sdk(choice(
qname = "pc:CT_SlideMonikerList/pc:sldMkLst",
qname = "pc:CT_SlideLayoutMonikerList/pc:sldLayoutMkLst",
qname = "pc:CT_MainMasterMonikerList/pc:sldMasterMkLst",
qname = "oac:CT_DrawingElementMonikerList/oac:deMkLst",
qname = "oac:CT_TextBodyMonikerList/oac:txBodyMkLst",
qname = "oac:CT_TextCharRangeMonikerList/oac:txMkLst",
qname = "oac:CT_TableCellMonikerList/oac:tcMkLst",
qname = "oac:CT_TableRowMonikerList/oac:trMkLst",
qname = "oac:CT_TableColumnMonikerList/oac:gridColMkLst",
qname = "p188:CT_CommentUnknownAnchor/p188:unknownAnchor"
))]
pub comment_choice: Vec<CommentChoice>,
#[sdk(child(office2021, qname = "a:CT_Point2D/p188:pos"))]
pub point2_d_type: Option<Point2DType>,
#[sdk(child(office2021, qname = "p188:CT_CommentReplyList/p188:replyLst"))]
pub comment_reply_list: Option<CommentReplyList>,
#[sdk(child(office2021, qname = "a:CT_TextBody/p188:txBody"))]
pub text_body_type: Option<std::boxed::Box<TextBodyType>>,
#[sdk(child(
office2021,
qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst"
))]
pub comment_properties_extension_list: Option<CommentPropertiesExtensionList>,
}
#[derive(Clone, Debug, PartialEq, ooxmlsdk_derive::SdkChoice)]
pub enum CommentChoice {
SlideMonikerList(std::boxed::Box<crate::schemas::pc::SlideMonikerList>),
#[sdk(any_child(office2016, qname = "pc:CT_SlideLayoutMonikerList/pc:sldLayoutMkLst"))]
SlideLayoutMonikerList(crate::schemas::pc::SlideLayoutMonikerList),
#[sdk(any_child(office2016, qname = "pc:CT_MainMasterMonikerList/pc:sldMasterMkLst"))]
MainMasterMonikerList(crate::schemas::pc::MainMasterMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_DrawingElementMonikerList/oac:deMkLst"))]
DeMkLstDrawingElementMonikerList(crate::schemas::oac::DeMkLstDrawingElementMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_TextBodyMonikerList/oac:txBodyMkLst"))]
TextBodyMonikerList(crate::schemas::oac::TextBodyMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_TextCharRangeMonikerList/oac:txMkLst"))]
TextCharRangeMonikerList(crate::schemas::oac::TextCharRangeMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_TableCellMonikerList/oac:tcMkLst"))]
TableCellMonikerList(crate::schemas::oac::TableCellMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_TableRowMonikerList/oac:trMkLst"))]
TableRowMonikerList(crate::schemas::oac::TableRowMonikerList),
#[sdk(any_child(office2016, qname = "oac:CT_TableColumnMonikerList/oac:gridColMkLst"))]
TableColumnMonikerList(crate::schemas::oac::TableColumnMonikerList),
#[sdk(empty_child(office2021, qname = "p188:CT_CommentUnknownAnchor/p188:unknownAnchor"))]
CommentUnknownAnchor,
}