#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkEnum)]
pub enum CommentStatus {
#[sdk(rename = "active")]
#[default]
Active,
#[sdk(rename = "resolved")]
Resolved,
#[sdk(rename = "closed")]
Closed,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentUnknownAnchor/p188:unknownAnchor")]
pub struct CommentUnknownAnchor {}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a:CT_TextBody/p188:txBody")]
pub struct TextBodyType {
#[sdk(child(qname = "a:CT_TextBodyProperties/a:bodyPr"))]
pub body_properties:
std::boxed::Box<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::BodyProperties>,
#[sdk(child(qname = "a:CT_TextListStyle/a:lstStyle"))]
pub list_style: Option<
std::boxed::Box<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::ListStyle>,
>,
#[sdk(child(qname = "a:CT_TextParagraph/a:p"))]
pub a_p: Vec<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::Paragraph>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst")]
pub struct CommentPropertiesExtensionList {
#[sdk(child(qname = "p188:CT_CommentPropertiesExtension/p:ext"))]
pub comment_properties_extension: Vec<
crate::schemas::schemas_openxmlformats_org_presentationml_2006_main::CommentPropertiesExtension,
>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_AuthorList/p188:authorLst")]
pub struct AuthorList {
pub xmlns: Option<String>,
pub xmlns_map: std::collections::HashMap<String, String>,
pub xml_header: crate::common::XmlHeaderType,
pub mc_ignorable: Option<String>,
#[sdk(child(qname = "p188:CT_Author/p188:author"))]
pub p188_author: Vec<Author>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentList/p188:cmLst")]
pub struct CommentList {
pub xmlns: Option<String>,
pub xmlns_map: std::collections::HashMap<String, String>,
pub xml_header: crate::common::XmlHeaderType,
pub mc_ignorable: Option<String>,
#[sdk(child(qname = "p188:CT_Comment/p188:cm"))]
pub p188_cm: Vec<Comment>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentRelationship/p188:commentRel")]
pub struct CommentRelationship {
#[sdk(attr(qname = "r:id"))]
pub r_id: crate::simple_type::StringValue,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p:CT_ExtensionList/p188:extLst")]
pub struct ExtensionList {
#[sdk(child(qname = "p:CT_Extension/p:ext"))]
pub extension:
Vec<crate::schemas::schemas_openxmlformats_org_presentationml_2006_main::Extension>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_Author/p188:author")]
pub struct Author {
#[sdk(attr(qname = ":id"))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":name"))]
pub name: crate::simple_type::StringValue,
#[sdk(attr(qname = ":initials"))]
pub initials: Option<crate::simple_type::StringValue>,
#[sdk(attr(qname = ":userId"))]
pub user_id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":providerId"))]
pub provider_id: crate::simple_type::StringValue,
#[sdk(child(qname = "p:CT_ExtensionList/p188:extLst"))]
pub extension_list: Option<ExtensionList>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentReply/p188:reply")]
pub struct CommentReply {
#[sdk(attr(qname = ":id"))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":authorId"))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub author_id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":status"))]
#[sdk(string_format(source = 0u32, kind = "token"))]
pub status: Option<CommentStatus>,
#[sdk(attr(qname = ":created"))]
pub created: crate::simple_type::DateTimeValue,
#[sdk(attr(qname = ":tags"))]
pub tags: Option<String>,
#[sdk(attr(qname = ":likes"))]
pub likes: Option<String>,
#[sdk(child(qname = "a:CT_TextBody/p188:txBody"))]
pub text_body_type: Option<std::boxed::Box<TextBodyType>>,
#[sdk(child(qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst"))]
pub comment_properties_extension_list: Option<CommentPropertiesExtensionList>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a:CT_Point2D/p188:pos")]
pub struct Point2DType {
#[sdk(attr(qname = ":x"))]
#[sdk(number_range(
source = 1u32,
min = "-27273042329600",
max = "27273042316900",
min_inclusive = true,
max_inclusive = true
))]
pub x: crate::simple_type::Int64Value,
#[sdk(attr(qname = ":y"))]
#[sdk(number_range(
source = 1u32,
min = "-27273042329600",
max = "27273042316900",
min_inclusive = true,
max_inclusive = true
))]
pub y: crate::simple_type::Int64Value,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_CommentReplyList/p188:replyLst")]
pub struct CommentReplyList {
#[sdk(child(qname = "p188:CT_CommentReply/p188:reply"))]
pub p188_reply: Vec<CommentReply>,
}
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "p188:CT_Comment/p188:cm")]
pub struct Comment {
#[sdk(attr(qname = ":id"))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":authorId"))]
#[sdk(string_format(source = 1u32, kind = "token"))]
pub author_id: crate::simple_type::StringValue,
#[sdk(attr(qname = ":status"))]
#[sdk(string_format(source = 0u32, kind = "token"))]
pub status: Option<CommentStatus>,
#[sdk(attr(qname = ":created"))]
pub created: crate::simple_type::DateTimeValue,
#[sdk(attr(qname = ":tags"))]
pub tags: Option<String>,
#[sdk(attr(qname = ":likes"))]
pub likes: Option<String>,
#[sdk(attr(qname = ":startDate"))]
pub start_date: Option<crate::simple_type::DateTimeValue>,
#[sdk(attr(qname = ":dueDate"))]
pub due_date: Option<crate::simple_type::DateTimeValue>,
#[sdk(attr(qname = ":assignedTo"))]
pub assigned_to: Option<String>,
#[sdk(attr(qname = ":complete"))]
#[sdk(number_range(
source = 0u32,
min = "0",
max = "100000",
min_inclusive = true,
max_inclusive = true
))]
pub complete: Option<crate::simple_type::Int32Value>,
#[sdk(attr(qname = ":priority"))]
#[sdk(number_range(
source = 0u32,
min = "0",
max = "10",
min_inclusive = true,
max_inclusive = true
))]
pub priority: Option<crate::simple_type::UInt32Value>,
#[sdk(attr(qname = ":title"))]
pub title: Option<crate::simple_type::StringValue>,
#[sdk(choice)]
pub comment_choice: Option<CommentChoice>,
#[sdk(child(qname = "a:CT_Point2D/p188:pos"))]
pub p188_pos: Option<Point2DType>,
#[sdk(child(qname = "p188:CT_CommentReplyList/p188:replyLst"))]
pub p188_reply_lst: Option<CommentReplyList>,
#[sdk(child(qname = "a:CT_TextBody/p188:txBody"))]
pub text_body_type: Option<std::boxed::Box<TextBodyType>>,
#[sdk(child(qname = "p188:CT_CommentPropertiesExtensionList/p188:extLst"))]
pub comment_properties_extension_list: Option<CommentPropertiesExtensionList>,
}
#[derive(Clone, Debug, ooxmlsdk_derive::SdkChoice)]
pub enum CommentChoice {
#[sdk(child(qname = "pc:CT_SlideMonikerList/pc:sldMkLst"))]
PcSldMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_powerpoint_2013_main_command::SlideMonikerList,
>,
),
#[sdk(child(qname = "pc:CT_SlideLayoutMonikerList/pc:sldLayoutMkLst"))]
PcSldLayoutMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_powerpoint_2013_main_command::SlideLayoutMonikerList,
>,
),
#[sdk(child(qname = "pc:CT_MainMasterMonikerList/pc:sldMasterMkLst"))]
PcSldMasterMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_powerpoint_2013_main_command::MainMasterMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_DrawingElementMonikerList/oac:deMkLst"))]
OacDeMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::DeMkLstDrawingElementMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_TextBodyMonikerList/oac:txBodyMkLst"))]
OacTxBodyMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::TextBodyMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_TextCharRangeMonikerList/oac:txMkLst"))]
OacTxMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::TextCharRangeMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_TableCellMonikerList/oac:tcMkLst"))]
OacTcMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::TableCellMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_TableRowMonikerList/oac:trMkLst"))]
OacTrMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::TableRowMonikerList,
>,
),
#[sdk(child(qname = "oac:CT_TableColumnMonikerList/oac:gridColMkLst"))]
OacGridColMkLst(
std::boxed::Box<
crate::schemas::schemas_microsoft_com_office_drawing_2013_main_command::TableColumnMonikerList,
>,
),
#[sdk(child(qname = "p188:CT_CommentUnknownAnchor/p188:unknownAnchor"))]
P188UnknownAnchor(std::boxed::Box<CommentUnknownAnchor>),
}