Struct spreadsheet_ods::style::FontFaceDecl [−][src]
pub struct FontFaceDecl { /* fields omitted */ }
Font declarations.
Implementations
impl FontFaceDecl
[src]
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 Clone for FontFaceDecl
[src]fn clone(&self) -> FontFaceDecl
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for FontFaceDecl
[src]
impl Default for FontFaceDecl
[src]fn default() -> FontFaceDecl
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontFaceDecl
impl RefUnwindSafe for FontFaceDecl
impl Send for FontFaceDecl
impl Send for FontFaceDecl
impl Sync for FontFaceDecl
impl Sync for FontFaceDecl
impl Unpin for FontFaceDecl
impl Unpin for FontFaceDecl
impl UnwindSafe for FontFaceDecl
impl UnwindSafe for FontFaceDecl