[−][src]Struct msoffice_shared::drawingml::FontScheme
Fields
name: String
The name of the font scheme shown in the user interface.
major_font: Box<FontCollection>
This element defines the set of major fonts which are to be used under different languages or locals.
Xml example
<majorFont>
<latin typeface="Calibri"/>
<ea typeface="Arial"/>
<cs typeface="Arial"/>
<font script="Jpan" typeface="MS Pゴシック "/>
<font script="Hang" typeface="HY중고딕"/>
<font script="Hans" typeface="隶 书"/>
<font script="Hant" typeface="微軟正黑體 "/>
<font script="Arab" typeface="Traditional Arabic"/>
<font script="Hebr" typeface="Arial"/>
<font script="Thai" typeface="Cordia New"/>
<font script="Ethi" typeface="Nyala"/>
<font script="Beng" typeface="Vrinda"/>
<font script="Gujr" typeface="Shruti"/>
<font script="Khmr" typeface="DaunPenh"/>
<font script="Knda" typeface="Tunga"/>
</majorFont>
In this example, we see the latin, east asian, and complex script fonts defined along with many fonts for different locals.
minor_font: Box<FontCollection>
This element defines the set of minor fonts that are to be used under different languages or locals.
<minorFont>
<latin typeface="Calibri"/>
<ea typeface="Arial"/>
<cs typeface="Arial"/>
<font script="Jpan" typeface="MS Pゴシック "/>
<font script="Hang" typeface="HY중고딕"/>
<font script="Hans" typeface="隶 书"/>
<font script="Hant" typeface="微軟正黑體 "/>
<font script="Arab" typeface="Traditional Arabic"/>
<font script="Hebr" typeface="Arial"/>
<font script="Thai" typeface="Cordia New"/>
<font script="Ethi" typeface="Nyala"/>
<font script="Beng" typeface="Vrinda"/>
<font script="Gujr" typeface="Shruti"/>
<font script="Khmr" typeface="DaunPenh"/>
<font script="Knda" typeface="Tunga"/>
</minorFont>
In this example, we see the latin, east asian, and complex script fonts defined along with many fonts for different locals.
Methods
impl FontScheme
[src]
Trait Implementations
impl Clone for FontScheme
[src]
fn clone(&self) -> FontScheme
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FontScheme
[src]
Auto Trait Implementations
impl Send for FontScheme
impl Sync for FontScheme
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,