Struct spreadsheet_ods::style::ColStyle [−][src]
pub struct ColStyle { /* fields omitted */ }
Describes the style information for a table column. Hardly ever used. It’s easier to set the col_width via Sheet::set_col_width
Implementations
impl ColStyle
[src]
impl ColStyle
[src]pub fn empty() -> Self
[src]
empty
pub fn new<S: Into<String>>(name: S) -> Self
[src]
New Style.
pub fn style_ref(&self) -> ColStyleRef
[src]
Returns a reference.
pub fn origin(&self) -> StyleOrigin
[src]
Origin. Should always be Content.
pub fn set_origin(&mut self, origin: StyleOrigin)
[src]
Origin. Should always be Content.
pub fn styleuse(&self) -> StyleUse
[src]
Should always be Automatic.
pub fn set_styleuse(&mut self, styleuse: StyleUse)
[src]
Should always be Automatic.
pub fn name(&self) -> &str
[src]
Name.
pub fn set_name<S: Into<String>>(&mut self, name: S)
[src]
Name.
pub fn attrmap(&self) -> &AttrMap2
[src]
Attributes
pub fn attrmap_mut(&mut self) -> &mut AttrMap2
[src]
Attributes
pub fn colstyle(&self) -> &AttrMap2
[src]
Style attributes
pub fn colstyle_mut(&mut self) -> &mut AttrMap2
[src]
Style attributes
pub fn set_break_before(&mut self, pagebreak: PageBreak)
[src]
Pagebreak before
pub fn set_break_after(&mut self, pagebreak: PageBreak)
[src]
Pagebreak after
pub fn set_rel_col_width(&mut self, rel: f64)
[src]
Relative weights for the column width
pub fn set_col_width(&mut self, width: Length)
[src]
Column width
pub fn set_use_optimal_col_width(&mut self, opt: bool)
[src]
Override switch for the column width.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ColStyle
impl RefUnwindSafe for ColStyle
impl UnwindSafe for ColStyle
impl UnwindSafe for ColStyle