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.
Implementations§
Source§impl BaseStyles
impl BaseStyles
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
Trait Implementations§
Source§impl Clone for BaseStyles
impl Clone for BaseStyles
Source§fn clone(&self) -> BaseStyles
fn clone(&self) -> BaseStyles
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more