Struct spreadsheet_ods::style::TableStyle[][src]

pub struct TableStyle { /* fields omitted */ }

Describes the style information for a table.

Implementations

impl TableStyle[src]

pub fn empty() -> Self[src]

empty

pub fn new<S: Into<String>>(name: S) -> Self[src]

Creates a new Style.

pub fn style_ref(&self) -> TableStyleRef[src]

Style reference.

pub fn origin(&self) -> StyleOrigin[src]

Origin of the style.

pub fn set_origin(&mut self, origin: StyleOrigin)[src]

Origin of the style.

pub fn styleuse(&self) -> StyleUse[src]

Designation of the style.

pub fn set_styleuse(&mut self, styleuse: StyleUse)[src]

Designation of the style.

pub fn name(&self) -> &str[src]

Style name

pub fn set_name<S: Into<String>>(&mut self, name: S)[src]

Style name

pub fn set_master_page_name(&mut self, name: &MasterPageRef)[src]

Sets the reference to the pageformat.

pub fn master_page_name(&self) -> Option<&String>[src]

Reference to the pageformat.

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

Access to all stored attributes.

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

Access to all stored attributes.

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

Access to all style attributes.

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

Access to all 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_with_next(&mut self, keep_with_next: TextKeep)[src]

Keep with next

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_shadow(
    &mut self,
    x_offset: Length,
    y_offset: Length,
    blur: Option<Length>,
    color: Rgb<u8>
)
[src]

Shadow

pub fn set_writing_mode(&mut self, writing_mode: WritingMode)[src]

Writing-mode

Trait Implementations

impl Clone for TableStyle[src]

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