Struct spreadsheet_ods::style::PageStyle [−][src]
pub struct PageStyle { /* fields omitted */ }
Describes the style information for a page. For an example see MasterPage.
Implementations
impl PageStyle
[src]
impl PageStyle
[src]pub fn new<S: Into<String>>(name: S) -> Self
[src]
pub fn style_ref(&self) -> PageStyleRef
[src]
Style reference.
pub fn name(&self) -> &String
[src]
Style name
pub fn set_name<S: Into<String>>(&mut self, name: S)
[src]
Style name
pub fn headerstyle(&self) -> &HeaderFooterStyle
[src]
Attributes for header.
pub fn headerstyle_mut(&mut self) -> &mut HeaderFooterStyle
[src]
Attributes for header.
pub fn footerstyle(&self) -> &HeaderFooterStyle
[src]
Attributes for footer.
pub fn footerstyle_mut(&mut self) -> &mut HeaderFooterStyle
[src]
Attributes for footer.
pub fn style(&self) -> &AttrMap2
[src]
Access to all style attributes.
pub fn style_mut(&mut self) -> &mut AttrMap2
[src]
Access to all style attributes.
pub fn set_page_height(&mut self, height: Length)
[src]
Page Height
pub fn set_page_width(&mut self, width: Length)
[src]
Page Width
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]
&mut self,
width: Length,
border: Border,
color: Rgb<u8>
)
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]
&mut self,
width: Length,
border: Border,
color: Rgb<u8>
)
Border style.
pub fn set_border_line_width(
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
[src]
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
Widths for double borders.
pub fn set_border_line_width_bottom(
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
[src]
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
Widths for double borders.
pub fn set_border_line_width_left(
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
[src]
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
Widths for double borders.
pub fn set_border_line_width_right(
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
[src]
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
Widths for double borders.
pub fn set_border_line_width_top(
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
[src]
&mut self,
inner: Length,
spacing: Length,
outer: Length
)
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_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]
&mut self,
x_offset: Length,
y_offset: Length,
blur: Option<Length>,
color: Rgb<u8>
)
Shadow
pub fn set_height(&mut self, height: Length)
[src]
Height.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PageStyle
impl RefUnwindSafe for PageStyle
impl UnwindSafe for PageStyle
impl UnwindSafe for PageStyle