ooxmlsdk 0.4.1

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

#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkEnum)]
pub enum TargetScreenSize {
  #[sdk(rename = "544x376")]
  #[default]
  Sz544x376,
  #[sdk(rename = "640x480")]
  Sz640x480,
  #[sdk(rename = "720x512")]
  Sz720x512,
  #[sdk(rename = "800x600")]
  Sz800x600,
  #[sdk(rename = "1024x768")]
  Sz1024x768,
  #[sdk(rename = "1152x882")]
  Sz1152x882,
  #[sdk(rename = "1152x900")]
  Sz1152x900,
  #[sdk(rename = "1280x1024")]
  Sz1280x1024,
  #[sdk(rename = "1600x1200")]
  Sz1600x1200,
  #[sdk(rename = "1800x1440")]
  Sz1800x1440,
  #[sdk(rename = "1920x1200")]
  Sz1920x1200,
}
/// Defines the BackgroundProperties Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is a15:backgroundPr.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a15:CT_BackgroundPr/a15:backgroundPr")]
pub struct BackgroundProperties {
  /// bwMode
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :bwMode
  #[sdk(attr(qname = ":bwMode"))]
  #[sdk(string_format(source = 0u32, kind = "token"))]
  pub mode:
    Option<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::BlackWhiteModeValues>,
  /// bwPure
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :bwPure
  #[sdk(attr(qname = ":bwPure"))]
  #[sdk(string_format(source = 0u32, kind = "token"))]
  pub pure:
    Option<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::BlackWhiteModeValues>,
  /// bwNormal
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :bwNormal
  #[sdk(attr(qname = ":bwNormal"))]
  #[sdk(string_format(source = 0u32, kind = "token"))]
  pub normal:
    Option<crate::schemas::schemas_openxmlformats_org_drawingml_2006_main::BlackWhiteModeValues>,
  /// targetScreenSize
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :targetScreenSize
  #[sdk(attr(qname = ":targetScreenSize"))]
  #[sdk(string_format(source = 0u32, kind = "token"))]
  pub target_screen_size: Option<TargetScreenSize>,
}
/// Defines the NonVisualGroupProperties Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is a15:nonVisualGroupProps.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a15:CT_NonVisualGroupProps/a15:nonVisualGroupProps")]
pub struct NonVisualGroupProperties {
  /// isLegacyGroup
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :isLegacyGroup
  #[sdk(attr(qname = ":isLegacyGroup"))]
  pub is_legacy_group: Option<crate::simple_type::BooleanValue>,
}
/// Defines the ObjectProperties Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is a15:objectPr.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a15:CT_ObjectPr/a15:objectPr")]
pub struct ObjectProperties {
  /// objectId
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :objectId
  #[sdk(attr(qname = ":objectId"))]
  pub id: Option<crate::simple_type::StringValue>,
  /// isActiveX
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :isActiveX
  #[sdk(attr(qname = ":isActiveX"))]
  pub is_active_x: Option<crate::simple_type::BooleanValue>,
  /// linkType
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :linkType
  #[sdk(attr(qname = ":linkType"))]
  pub link_type: Option<crate::simple_type::StringValue>,
}
/// Defines the SignatureLine Class.
///
/// Available in Office2013 and above.
///
/// When the object is serialized out as xml, it's qualified name is a15:signatureLine.
#[derive(Clone, Debug, Default, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "a15:CT_SignatureLine/a15:signatureLine")]
pub struct SignatureLine {
  /// isSignatureLine
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :isSignatureLine
  #[sdk(attr(qname = ":isSignatureLine"))]
  pub is_signature_line: Option<crate::simple_type::BooleanValue>,
  /// id
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :id
  #[sdk(attr(qname = ":id"))]
  #[sdk(pattern(
    source = 0u32,
    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 = 0u32, kind = "token"))]
  pub id: Option<crate::simple_type::StringValue>,
  /// provId
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :provId
  #[sdk(attr(qname = ":provId"))]
  #[sdk(pattern(
    source = 0u32,
    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 = 0u32, kind = "token"))]
  pub provider_id: Option<crate::simple_type::StringValue>,
  /// signingInstructionsSet
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :signingInstructionsSet
  #[sdk(attr(qname = ":signingInstructionsSet"))]
  pub signing_instructions_set: Option<crate::simple_type::BooleanValue>,
  /// allowComments
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :allowComments
  #[sdk(attr(qname = ":allowComments"))]
  pub allow_comments: Option<crate::simple_type::BooleanValue>,
  /// showSignDate
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :showSignDate
  #[sdk(attr(qname = ":showSignDate"))]
  pub show_sign_date: Option<crate::simple_type::BooleanValue>,
  /// suggestedSigner
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :suggestedSigner
  #[sdk(attr(qname = ":suggestedSigner"))]
  pub suggested_signer: Option<crate::simple_type::StringValue>,
  /// suggestedSigner2
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :suggestedSigner2
  #[sdk(attr(qname = ":suggestedSigner2"))]
  pub suggested_signer2: Option<crate::simple_type::StringValue>,
  /// suggestedSignerEmail
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :suggestedSignerEmail
  #[sdk(attr(qname = ":suggestedSignerEmail"))]
  pub suggested_signer_email: Option<crate::simple_type::StringValue>,
  /// signingInstructions
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :signingInstructions
  #[sdk(attr(qname = ":signingInstructions"))]
  pub signing_instructions: Option<crate::simple_type::StringValue>,
  /// addlXml
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :addlXml
  #[sdk(attr(qname = ":addlXml"))]
  pub additional_xml: Option<crate::simple_type::StringValue>,
  /// sigProvUrl
  ///
  /// Available in Office2013 and above.
  ///
  /// Represents the following attribute in the schema: :sigProvUrl
  #[sdk(attr(qname = ":sigProvUrl"))]
  pub signature_provider_url: Option<crate::simple_type::StringValue>,
}