Struct spreadsheet_ods::style::HeaderFooterStyle[][src]

pub struct HeaderFooterStyle { /* fields omitted */ }

Implementations

impl HeaderFooterStyle[src]

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

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

pub fn set_background_color(&mut self, color: Rgb<u8>)[src]

Background-color

pub fn set_border(&mut self, width: Length, border: Border, color: Rgb<u8>)[src]

Border style all four sides.

pub fn set_border_bottom(
    &mut self,
    width: Length,
    border: Border,
    color: Rgb<u8>
)
[src]

Border style.

pub fn set_border_top(&mut self, width: Length, border: Border, color: Rgb<u8>)[src]

Border style.

pub fn set_border_left(&mut self, width: Length, border: Border, color: Rgb<u8>)[src]

Border style.

pub fn set_border_right(
    &mut self,
    width: Length,
    border: Border,
    color: Rgb<u8>
)
[src]

Border style.

pub fn set_border_line_width(
    &mut self,
    inner: Length,
    spacing: Length,
    outer: Length
)
[src]

Widths for double borders.

pub fn set_border_line_width_bottom(
    &mut self,
    inner: Length,
    spacing: Length,
    outer: Length
)
[src]

Widths for double borders.

pub fn set_border_line_width_left(
    &mut self,
    inner: Length,
    spacing: Length,
    outer: Length
)
[src]

Widths for double borders.

pub fn set_border_line_width_right(
    &mut self,
    inner: Length,
    spacing: Length,
    outer: Length
)
[src]

Widths for double borders.

pub fn set_border_line_width_top(
    &mut self,
    inner: Length,
    spacing: Length,
    outer: Length
)
[src]

Widths for double borders.

pub fn set_margin(&mut self, margin: Length)[src]

Margin for all sides.

pub fn set_margin_bottom(&mut self, margin: Length)[src]

Margin

pub fn set_margin_left(&mut self, margin: Length)[src]

Margin

pub fn set_margin_right(&mut self, margin: Length)[src]

Margin

pub fn set_margin_top(&mut self, margin: Length)[src]

Margin

pub fn set_min_height(&mut self, height: Length)[src]

Minimum height.

pub fn set_min_height_percent(&mut self, height: f64)[src]

Minimum height as percentage.

pub fn set_padding(&mut self, padding: Length)[src]

Padding for all sides.

pub fn set_padding_bottom(&mut self, padding: Length)[src]

Padding

pub fn set_padding_left(&mut self, padding: Length)[src]

Padding

pub fn set_padding_right(&mut self, padding: Length)[src]

Padding

pub fn set_padding_top(&mut self, padding: Length)[src]

Padding

pub fn set_dynamic_spacing(&mut self, dynamic: bool)[src]

Dynamic spacing

pub fn set_shadow(
    &mut self,
    x_offset: Length,
    y_offset: Length,
    blur: Option<Length>,
    color: Rgb<u8>
)
[src]

Shadow

pub fn set_height(&mut self, height: Length)[src]

Height.

Trait Implementations

impl Clone for HeaderFooterStyle[src]

impl Debug for HeaderFooterStyle[src]

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