Struct spreadsheet_ods::style::RowStyle [−][src]
pub struct RowStyle { /* fields omitted */ }
Describes the style information for a table row. Hardly ever used. It’s easier to set the row_height via Sheet::set_row_height.
Implementations
impl RowStyle
[src]
impl RowStyle
[src]pub fn empty() -> Self
[src]
empty
pub fn new<S: Into<String>>(name: S) -> Self
[src]
New Style.
pub fn style_ref(&self) -> RowStyleRef
[src]
Reference to the style.
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]
Usage. Should always be Automatic.
pub fn set_styleuse(&mut self, styleuse: StyleUse)
[src]
Usage. 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]
General attributes.
pub fn attrmap_mut(&mut self) -> &mut AttrMap2
[src]
General attributes.
pub fn rowstyle(&self) -> &AttrMap2
[src]
Style attributes.
pub fn rowstyle_mut(&mut self) -> &mut AttrMap2
[src]
Style attributes.
pub fn set_background_color(&mut self, color: Rgb<u8>)
[src]
Background-color
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_keep_together(&mut self, keep_together: TextKeep)
[src]
Keep-together
pub fn set_min_row_height(&mut self, min_height: Length)
[src]
Minimum row-height.
pub fn set_row_height(&mut self, height: Length)
[src]
Fixed row-height.
pub fn set_use_optimal_row_height(&mut self, opt: bool)
[src]
Optimal row-height.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RowStyle
impl RefUnwindSafe for RowStyle
impl UnwindSafe for RowStyle
impl UnwindSafe for RowStyle