[][src]Struct oox::shared::drawingml::text::paragraphs::TextTabStop

pub struct TextTabStop {
    pub position: Option<Coordinate32>,
    pub alignment: Option<TextTabAlignType>,
}

This element specifies a single tab stop to be used on a line of text when there are one or more tab characters present within the text. When there is more than one present than they should be utilized in increasing position order which is specified via the pos attribute.

Xml example

<p:txBody>
  …
  <a:p>
    <a:pPr …>
      <a:tabLst>
        <a:tab pos="2292350" algn="l"/>
        <a:tab pos="2627313" algn="l"/>
        <a:tab pos="2743200" algn="l"/>
        <a:tab pos="2974975" algn="l"/>
      </a:tabLst>
    </a:pPr>
    …
    <a:t>Sample Text</a:t>
    …
  </a:p>
  …
</p:txBody>

The paragraph within which this <a:tab> information resides has a total of 4 unique tab stops that should be listed in order of increasing position. Along with specifying the tab position each tab allows for the specifying of an alignment.

Fields

position: Option<Coordinate32>

Specifies the position of the tab stop relative to the left margin. If this attribute is omitted then the application default for tab stops is used.

alignment: Option<TextTabAlignType>

Specifies the alignment that is to be applied to text using this tab stop. If this attribute is omitted then the application default for the generating application.

Methods

impl TextTabStop[src]

Trait Implementations

impl Clone for TextTabStop[src]

impl Debug for TextTabStop[src]

impl Default for TextTabStop[src]

impl PartialEq<TextTabStop> for TextTabStop[src]

impl StructuralPartialEq for TextTabStop[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.