[−][src]Struct oox::shared::drawingml::text::bodyformatting::TextNormalAutoFit
Fields
font_scale: Option<TextFontScalePercent>
Specifies the percentage of the original font size to which each run in the text body is scaled. In order to auto-fit text within a bounding box it is sometimes necessary to decrease the font size by a certain percentage. Using this attribute the font within a text box can be scaled based on the value provided. A value of 100% scales the text to 100%, while a value of 1% scales the text to 1%. If this attribute is omitted, then a value of 100% is implied.
Defaults to 100000
line_spacing_reduction: Option<TextSpacingPercent>
Specifies the percentage amount by which the line spacing of each paragraph in the text body is reduced. The reduction is applied by subtracting it from the original line spacing value. Using this attribute the vertical spacing between the lines of text can be scaled by a percent amount. A value of 100% reduces the line spacing by 100%, while a value of 1% reduces the line spacing by one percent. If this attribute is omitted, then a value of 0% is implied.
Defaults to 0
Note
This attribute applies only to paragraphs with percentage line spacing.
Methods
impl TextNormalAutoFit
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for TextNormalAutoFit
[src]
fn clone(&self) -> TextNormalAutoFit
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextNormalAutoFit
[src]
impl Default for TextNormalAutoFit
[src]
fn default() -> TextNormalAutoFit
[src]
impl PartialEq<TextNormalAutoFit> for TextNormalAutoFit
[src]
fn eq(&self, other: &TextNormalAutoFit) -> bool
[src]
fn ne(&self, other: &TextNormalAutoFit) -> bool
[src]
impl StructuralPartialEq for TextNormalAutoFit
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextNormalAutoFit
impl Send for TextNormalAutoFit
impl Sync for TextNormalAutoFit
impl Unpin for TextNormalAutoFit
impl UnwindSafe for TextNormalAutoFit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,