[][src]Enum oox::shared::drawingml::text::bullet::TextBulletTypeface

pub enum TextBulletTypeface {
    FollowText,
    Font(TextFont),
}

Variants

FollowText

This element specifies that the font of the bullets for a paragraph should be of the same font as the text run within which each bullet is contained.

Xml example

<p:txBody>
  …
  <a:p>
    <a:pPr …>
      <a:buFontTx>
    </a:pPr>
    …
    <a:t>Bullet 1</a:t>
    …
  </a:p>
  …
</p:txBody>

The font of the above bullet follows the default text font of the text for the run of text shown above since no specific text font was specified.

Font(TextFont)

This element specifies the font to be used on bullet characters within a given paragraph. The font is specified using the typeface that it is registered as within the generating application.

Xml example

<p:txBody>
  …
  <a:p>
    <a:pPr …>
      <a:buFont typeface="Arial"/>
      <a:buChar char="g"/>
    </a:pPr>
    …
    <a:t>Bullet 1</a:t>
    …
  </a:p>
  …
</p:txBody>

The font of the above bullet does not follow the text font but instead has Arial font specified by typeface="Arial". This font should only apply to the actual bullet character and not to the text within the bullet.

Trait Implementations

impl Clone for TextBulletTypeface[src]

impl Debug for TextBulletTypeface[src]

impl PartialEq<TextBulletTypeface> for TextBulletTypeface[src]

impl StructuralPartialEq for TextBulletTypeface[src]

impl XsdChoice for TextBulletTypeface[src]

impl XsdType for TextBulletTypeface[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.