Struct spreadsheet_ods::style::FontFaceDecl[][src]

pub struct FontFaceDecl { /* fields omitted */ }

Font declarations.

Implementations

impl FontFaceDecl[src]

pub fn new() -> Self[src]

New, empty.

pub fn new_with_name<S: Into<String>>(name: S) -> Self[src]

New, with a name.

pub fn set_name<V: Into<String>>(&mut self, name: V)[src]

Set the name.

pub fn name(&self) -> &String[src]

Returns the name.

pub fn set_origin(&mut self, origin: StyleOrigin)[src]

Origin of the style

pub fn origin(&self) -> StyleOrigin[src]

Origin of the style

pub fn attrmap(&self) -> &AttrMap2[src]

pub fn attrmap_mut(&mut self) -> &mut AttrMap2[src]

pub fn set_font_family<S: Into<String>>(&mut self, name: S)[src]

External font family name.

pub fn set_font_family_generic<S: Into<String>>(&mut self, name: S)[src]

System generic name.

pub fn set_font_pitch(&mut self, pitch: FontPitch)[src]

Font pitch.

Trait Implementations

impl Clone for FontFaceDecl[src]

impl Debug for FontFaceDecl[src]

impl Default for FontFaceDecl[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.