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]

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

impl Clone for RowStyle[src]

impl Debug for RowStyle[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.