[−][src]Enum msoffice_shared::drawingml::TextBulletColor
Variants
FollowText
This element specifies that the color of the bullets for a paragraph should be of the same color as the text run within which each bullet is contained.
Xml example
<p:txBody>
…
<a:p>
<a:pPr …>
<a:buClrTx>
</a:pPr>
…
<a:t>Bullet 1</a:t>
…
</a:p>
…
</p:txBody>
The color of the above bullet follows the default text color of the text for the run of text shown above since no specific text color was specified.
Color(Color)
This element specifies the color to be used on bullet characters within a given paragraph. The color is specified using the numerical RGB color format.
Xml example
<p:txBody>
…
<a:p>
<a:pPr …>
<a:buClr>
<a:srgbClr val="FFFF00"/>
</a:buClr>
</a:pPr>
…
<a:t>Bullet 1</a:t>
…
</a:p>
…
</p:txBody>
The color of the above bullet does not follow the text color but instead has a yellow color specified by val="FFFF00". This color should only apply to the actual bullet character and not to the text within the bullet.
Methods
impl TextBulletColor
[src]
pub fn is_choice_member(name: &str) -> bool
[src]
pub fn from_xml_element(
xml_node: &XmlNode
) -> Result<TextBulletColor, Box<dyn Error>>
[src]
xml_node: &XmlNode
) -> Result<TextBulletColor, Box<dyn Error>>
Trait Implementations
impl Clone for TextBulletColor
[src]
fn clone(&self) -> TextBulletColor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TextBulletColor
[src]
Auto Trait Implementations
impl Send for TextBulletColor
impl Sync for TextBulletColor
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,