pub struct CT_TextCharacterProperties {Show 15 fields
pub font_size: Option<i32>,
pub bold: Option<bool>,
pub italic: Option<bool>,
pub all_caps: Option<bool>,
pub underline: Option<TextUnderline>,
pub strike: Option<TextStrike>,
pub spacing: Option<TextPointValue>,
pub baseline: Option<String>,
pub fill: Option<Fill>,
pub latin: Option<TextFont>,
pub east_asian: Option<TextFont>,
pub complex_script: Option<TextFont>,
pub symbol: Option<TextFont>,
pub hyperlink_click: Option<TextHyperlink>,
pub hyperlink_mouse_over: Option<TextHyperlink>,
/* private fields */
}Expand description
DrawingML character properties shared by runs, breaks, fields, and defaults.
Fields§
§font_size: Option<i32>§bold: Option<bool>§italic: Option<bool>§all_caps: Option<bool>§underline: Option<TextUnderline>§strike: Option<TextStrike>§spacing: Option<TextPointValue>§baseline: Option<String>§fill: Option<Fill>§latin: Option<TextFont>§east_asian: Option<TextFont>§complex_script: Option<TextFont>§symbol: Option<TextFont>§hyperlink_click: Option<TextHyperlink>§hyperlink_mouse_over: Option<TextHyperlink>Implementations§
Source§impl CT_TextCharacterProperties
impl CT_TextCharacterProperties
Sourcepub fn from_xml(xml: &[u8]) -> Result<Self>
pub fn from_xml(xml: &[u8]) -> Result<Self>
Parses one complete character-property element with any prefix.
Sourcepub fn write_xml<W: Write>(
&self,
writer: &mut Writer<W>,
tag: &str,
) -> Result<()>
pub fn write_xml<W: Write>( &self, writer: &mut Writer<W>, tag: &str, ) -> Result<()>
Writes character properties with a caller-selected fixed a: tag.
pub fn raw_children(&self) -> &OrderedRawChildren
Trait Implementations§
Source§impl Clone for CT_TextCharacterProperties
impl Clone for CT_TextCharacterProperties
Source§fn clone(&self) -> CT_TextCharacterProperties
fn clone(&self) -> CT_TextCharacterProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CT_TextCharacterProperties
impl Debug for CT_TextCharacterProperties
Source§impl Default for CT_TextCharacterProperties
impl Default for CT_TextCharacterProperties
Source§fn default() -> CT_TextCharacterProperties
fn default() -> CT_TextCharacterProperties
Returns the “default value” for a type. Read more
impl Eq for CT_TextCharacterProperties
impl StructuralPartialEq for CT_TextCharacterProperties
Auto Trait Implementations§
impl Freeze for CT_TextCharacterProperties
impl RefUnwindSafe for CT_TextCharacterProperties
impl Send for CT_TextCharacterProperties
impl Sync for CT_TextCharacterProperties
impl Unpin for CT_TextCharacterProperties
impl UnsafeUnpin for CT_TextCharacterProperties
impl UnwindSafe for CT_TextCharacterProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more