Struct spreadsheet_ods::style::HeaderFooter [−][src]
pub struct HeaderFooter { /* fields omitted */ }
Header/Footer data. Can be seen as three regions left/center/right or as one region. In the first case region* contains the data, in the second it’s content. Each is a TextTag of parsed XML-tags.
Implementations
impl HeaderFooter
[src]
impl HeaderFooter
[src]pub fn new() -> Self
[src]
Create
pub fn set_display(&mut self, display: bool)
[src]
Is the header displayed. Used to deactivate left side headers.
pub fn display(&self) -> bool
[src]
Display
pub fn is_empty(&self) -> bool
[src]
pub fn set_left(&mut self, txt: TextTag)
[src]
Left region.
pub fn left(&self) -> Option<&TextTag>
[src]
Left region.
pub fn left_mut(&mut self) -> &mut TextTag
[src]
Left region.
pub fn set_center(&mut self, txt: TextTag)
[src]
Center region.
pub fn center(&self) -> Option<&TextTag>
[src]
Center region.
pub fn center_mut(&mut self) -> &mut TextTag
[src]
Center region.
pub fn set_right(&mut self, txt: TextTag)
[src]
Right region.
pub fn right(&self) -> Option<&TextTag>
[src]
Right region.
pub fn right_mut(&mut self) -> &mut TextTag
[src]
Right region.
pub fn set_content(&mut self, txt: TextTag)
[src]
Header content, if there are no regions.
pub fn content(&self) -> Option<&TextTag>
[src]
Header content, if there are no regions.
pub fn content_mut(&mut self) -> &mut TextTag
[src]
Header content, if there are no regions.
Trait Implementations
impl Clone for HeaderFooter
[src]
impl Clone for HeaderFooter
[src]fn clone(&self) -> HeaderFooter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for HeaderFooter
[src]
impl Default for HeaderFooter
[src]fn default() -> HeaderFooter
[src]
Auto Trait Implementations
impl RefUnwindSafe for HeaderFooter
impl RefUnwindSafe for HeaderFooter
impl Send for HeaderFooter
impl Send for HeaderFooter
impl Sync for HeaderFooter
impl Sync for HeaderFooter
impl Unpin for HeaderFooter
impl Unpin for HeaderFooter
impl UnwindSafe for HeaderFooter
impl UnwindSafe for HeaderFooter