[][src]Enum oox::shared::drawingml::simpletypes::TextAnchoringType

pub enum TextAnchoringType {
    Top,
    Center,
    Bottom,
    Justified,
    Distributed,
}

This simple type specifies a list of available anchoring types for text.

Variants

Top

Anchor the text at the top of the bounding rectangle.

Center

Anchor the text at the middle of the bounding rectangle.

Bottom

Anchor the text at the bottom of the bounding rectangle.

Justified

Anchor the text so that it is justified vertically. When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to 'distrib' (special case: if only 1 line, then anchored at top). When text is vertical, then it justifies the letters vertically. This is different than anchorDistributed, because in some cases such as very little text in a line, it does not justify.

Distributed

Anchor the text so that it is distributed vertically. When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to anchorJustified (special case: if only 1 line, then anchored in middle). When text is vertical, then it distributes the letters vertically. This is different than anchorJustified, because it always forces distribution of the words, even if there are only one or two words in a line.

Trait Implementations

impl Clone for TextAnchoringType[src]

impl Copy for TextAnchoringType[src]

impl Debug for TextAnchoringType[src]

impl FromStr for TextAnchoringType[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<TextAnchoringType> for TextAnchoringType[src]

impl StructuralPartialEq for TextAnchoringType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.