[−][src]Struct spreadsheet_ods::style::HeaderFooter
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]
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 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]
fn clone(&self) -> HeaderFooter[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for HeaderFooter[src]
impl Default for HeaderFooter[src]
fn default() -> HeaderFooter[src]
Auto Trait Implementations
impl RefUnwindSafe for HeaderFooter
impl Send for HeaderFooter
impl Sync for HeaderFooter
impl Unpin for HeaderFooter
impl UnwindSafe for HeaderFooter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,