pub struct TableXml {Show 30 fields
pub xmlns: String,
pub id: u32,
pub name: String,
pub display_name: String,
pub comment: Option<String>,
pub reference: String,
pub table_type: Option<String>,
pub header_row_count: Option<u32>,
pub insert_row: Option<bool>,
pub insert_row_shift: Option<bool>,
pub totals_row_count: Option<u32>,
pub totals_row_shown: Option<bool>,
pub published: Option<bool>,
pub header_row_dxf_id: Option<u32>,
pub data_dxf_id: Option<u32>,
pub totals_row_dxf_id: Option<u32>,
pub header_row_border_dxf_id: Option<u32>,
pub table_border_dxf_id: Option<u32>,
pub totals_row_border_dxf_id: Option<u32>,
pub header_row_cell_style: Option<String>,
pub data_cell_style: Option<String>,
pub totals_row_cell_style: Option<String>,
pub connection_id: Option<u32>,
pub extra_attributes: Vec<(String, String)>,
pub auto_filter: Option<TableAutoFilter>,
pub sort_state: Option<XmlFragment>,
pub table_columns: TableColumnsXml,
pub table_style_info: Option<TableStyleInfoXml>,
pub ext_lst: Option<XmlFragment>,
pub source: TableSource,
}Expand description
Root element for a table definition part (xl/tables/table{N}.xml).
Fields§
§xmlns: String§id: u32§name: String§display_name: String§comment: Option<String>§reference: String§table_type: Option<String>§header_row_count: Option<u32>§insert_row: Option<bool>§insert_row_shift: Option<bool>§totals_row_count: Option<u32>§totals_row_shown: Option<bool>§published: Option<bool>§header_row_dxf_id: Option<u32>§data_dxf_id: Option<u32>§totals_row_dxf_id: Option<u32>§header_row_border_dxf_id: Option<u32>§table_border_dxf_id: Option<u32>§totals_row_border_dxf_id: Option<u32>§header_row_cell_style: Option<String>§data_cell_style: Option<String>§totals_row_cell_style: Option<String>§connection_id: Option<u32>§extra_attributes: Vec<(String, String)>Prefixed root attributes (namespace declarations, mc:Ignorable,
xr:uid). Only names listed in the serializer allow-list are written.
auto_filter: Option<TableAutoFilter>§sort_state: Option<XmlFragment>Opaque sortState element, preserved verbatim.
table_columns: TableColumnsXml§table_style_info: Option<TableStyleInfoXml>§ext_lst: Option<XmlFragment>Opaque extLst element, preserved verbatim.
source: TableSourceOriginal part text captured by parse_table_xml.
Implementations§
Source§impl TableXml
impl TableXml
Sourcepub fn unchanged_source(&self) -> Option<&str>
pub fn unchanged_source(&self) -> Option<&str>
Return the original part text when the table has not been modified
since parse_table_xml produced it; None otherwise.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TableXml
impl<'de> Deserialize<'de> for TableXml
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TableXml
Auto Trait Implementations§
impl Freeze for TableXml
impl RefUnwindSafe for TableXml
impl Send for TableXml
impl Sync for TableXml
impl Unpin for TableXml
impl UnsafeUnpin for TableXml
impl UnwindSafe for TableXml
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more