[−][src]Enum oox::shared::drawingml::text::bullet::TextBulletSize
Variants
This element specifies that the size of the bullets for a paragraph should be of the same point size as the text run within which each bullet is contained.
Xml example
<p:txBody>
…
<a:p>
<a:pPr …>
<a:buSzTx>
</a:pPr>
…
<a:t>Bullet 1</a:t>
…
</a:p>
…
</p:txBody>
The size of the above bullet follows the default text size of the text for the run of text shown above since no specific text size was specified.
Percent(TextBulletSizePercent)
This element specifies the size in percentage of the surrounding text to be used on bullet characters within a given paragraph.
Xml example
<p:txBody>
…
<a:p>
<a:pPr …>
<a:buSzPct val="111%"/>
</a:pPr>
…
<a:t>Bullet 1</a:t>
…
</a:p>
…
</p:txBody>
The size of the above bullet follows the text size in that it is always rendered at 111% the size of the text within the given text run. This is specified by val="111%", with a restriction on the values not being less than 25% or more than 400%. This percentage size should only apply to the actual bullet character and not to the text within the bullet.
Point(TextFontSize)
This element specifies the size in points to be used on bullet characters within a given paragraph. The size is specified using the points where 100 is equal to 1 point font and 1200 is equal to 12 point font.
Xml example
<p:txBody>
…
<a:p>
<a:pPr …>
<a:buSzPts val="1400"/>
</a:pPr>
…
<a:t>Bullet 1</a:t>
…
</a:p>
…
</p:txBody>
The size of the above bullet does not follow the text size of the text within the given text run. The bullets size is specified by val="1400", which corresponds to a point size of 14. This bullet size should only apply to the actual bullet character and not to the text within the bullet.
Trait Implementations
impl Clone for TextBulletSize
[src]
fn clone(&self) -> TextBulletSize
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextBulletSize
[src]
impl PartialEq<TextBulletSize> for TextBulletSize
[src]
fn eq(&self, other: &TextBulletSize) -> bool
[src]
fn ne(&self, other: &TextBulletSize) -> bool
[src]
impl StructuralPartialEq for TextBulletSize
[src]
impl XsdChoice for TextBulletSize
[src]
fn is_choice_member<T: AsRef<str>>(name: T) -> bool
[src]
fn try_from_xml_element(
xml_node: &XmlNode
) -> Option<Result<Self, Box<dyn Error>>>
[src]
xml_node: &XmlNode
) -> Option<Result<Self, Box<dyn Error>>>
impl XsdType for TextBulletSize
[src]
fn from_xml_element(xml_node: &XmlNode) -> Result<TextBulletSize>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextBulletSize
impl Send for TextBulletSize
impl Sync for TextBulletSize
impl Unpin for TextBulletSize
impl UnwindSafe for TextBulletSize
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>,