[][src]Struct oox::shared::drawingml::sharedstylesheet::BaseStyles

pub struct BaseStyles {
    pub color_scheme: Box<ColorScheme>,
    pub font_scheme: FontScheme,
    pub format_scheme: Box<StyleMatrix>,
}

Fields

color_scheme: Box<ColorScheme>font_scheme: FontScheme

This element defines the font scheme within the theme. The font scheme consists of a pair of major and minor fonts for which to use in a document. The major font corresponds well with the heading areas of a document, and the minor font corresponds well with the normal text or paragraph areas.

Xml example

<fontScheme name="sample">
  <majorFont>
  ...
  </majorFont>
  <minorFont>
  ...
  </minorFont>
</fontScheme>
format_scheme: Box<StyleMatrix>

This element contains the background fill styles, effect styles, fill styles, and line styles which define the style matrix for a theme. The style matrix consists of subtle, moderate, and intense fills, lines, and effects. The background fills are not generally thought of to directly be associated with the matrix, but do play a role in the style of the overall document. Usually, a given object chooses a single line style, a single fill style, and a single effect style in order to define the overall final look of the object.

Methods

impl BaseStyles[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>[src]

Trait Implementations

impl Clone for BaseStyles[src]

impl Debug for BaseStyles[src]

impl PartialEq<BaseStyles> for BaseStyles[src]

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