[−][src]Struct oox::shared::drawingml::text::paragraphs::TextTabStop
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]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<TextTabStop>
[src]
Trait Implementations
impl Clone for TextTabStop
[src]
fn clone(&self) -> TextTabStop
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextTabStop
[src]
impl Default for TextTabStop
[src]
fn default() -> TextTabStop
[src]
impl PartialEq<TextTabStop> for TextTabStop
[src]
fn eq(&self, other: &TextTabStop) -> bool
[src]
fn ne(&self, other: &TextTabStop) -> bool
[src]
impl StructuralPartialEq for TextTabStop
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextTabStop
impl Send for TextTabStop
impl Sync for TextTabStop
impl Unpin for TextTabStop
impl UnwindSafe for TextTabStop
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>,