Struct spreadsheet_ods::style::stylemap::StyleMap [−][src]
pub struct StyleMap { /* fields omitted */ }
One style mapping.
The rules for this are not very clear. It writes the necessary data fine, but the interpretation by LibreOffice is not very intelligible.
- The base-cell must include a table-name.
- LibreOffice always adds calcext:conditional-formats which I can’t handle.
TODO: clarify all of this.
Implementations
impl StyleMap
[src]
impl StyleMap
[src]pub fn new<S: Into<String>, T: Into<String>>(
condition: S,
applied_style: T,
cellref: CellRef
) -> Self
[src]
condition: S,
applied_style: T,
cellref: CellRef
) -> Self
pub fn condition(&self) -> &String
[src]
pub fn set_condition<S: Into<String>>(&mut self, cond: S)
[src]
pub fn applied_style(&self) -> &String
[src]
pub fn set_applied_style<S: Into<String>>(&mut self, style: S)
[src]
pub fn base_cell(&self) -> &CellRef
[src]
pub fn set_base_cell(&mut self, cellref: CellRef)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StyleMap
impl RefUnwindSafe for StyleMap
impl UnwindSafe for StyleMap
impl UnwindSafe for StyleMap