Struct spreadsheet_ods::style::TableStyle [−][src]
pub struct TableStyle { /* fields omitted */ }
Describes the style information for a table.
Implementations
impl TableStyle
[src]
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]
&mut self,
x_offset: Length,
y_offset: Length,
blur: Option<Length>,
color: Rgb<u8>
)
Shadow
pub fn set_writing_mode(&mut self, writing_mode: WritingMode)
[src]
Writing-mode
Trait Implementations
impl Clone for TableStyle
[src]
impl Clone for TableStyle
[src]fn clone(&self) -> TableStyle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for TableStyle
impl RefUnwindSafe for TableStyle
impl Send for TableStyle
impl Send for TableStyle
impl Sync for TableStyle
impl Sync for TableStyle
impl Unpin for TableStyle
impl Unpin for TableStyle
impl UnwindSafe for TableStyle
impl UnwindSafe for TableStyle