ooxmlsdk 0.4.1

Open XML SDK for Rust
Documentation
//
// -----------------------------------------------------------------------------
//  THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//

/// Defines the Taskpanes Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is wetp:taskpanes.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "wetp:CT_OsfTaskpanes/wetp:taskpanes")]
pub struct Taskpanes {
  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 = "wetp:CT_OsfTaskpane/wetp:taskpane"))]
  pub wetp_taskpane: Vec<WebExtensionTaskpane>,
}
/// Defines the WebExtensionPartReference Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is wetp:webextensionref.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "we:CT_WebExtensionPartRef/wetp:webextensionref")]
pub struct WebExtensionPartReference {
  /// 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,
}
/// Defines the OfficeArtExtensionList Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is wetp:extLst.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a:CT_OfficeArtExtensionList/wetp: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 WebExtensionTaskpane Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is wetp:taskpane.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "wetp:CT_OsfTaskpane/wetp:taskpane")]
pub struct WebExtensionTaskpane {
  /// dockstate
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :dockstate
  #[sdk(attr(qname = ":dockstate"))]
  pub dock_state: crate::simple_type::StringValue,
  /// visibility
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :visibility
  #[sdk(attr(qname = ":visibility"))]
  pub visibility: crate::simple_type::BooleanValue,
  /// width
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :width
  #[sdk(attr(qname = ":width"))]
  pub width: crate::simple_type::DoubleValue,
  /// row
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :row
  #[sdk(attr(qname = ":row"))]
  pub row: crate::simple_type::UInt32Value,
  /// locked
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :locked
  #[sdk(attr(qname = ":locked"))]
  pub locked: Option<crate::simple_type::BooleanValue>,
  /// _
  #[sdk(child(qname = "we:CT_WebExtensionPartRef/wetp:webextensionref"))]
  pub web_extension_part_reference: std::boxed::Box<WebExtensionPartReference>,
  /// _
  #[sdk(child(qname = "a:CT_OfficeArtExtensionList/wetp:extLst"))]
  pub office_art_extension_list: Option<OfficeArtExtensionList>,
}