pub struct WorkbookSettings {Show 17 fields
pub date1904: Option<bool>,
pub filter_privacy: Option<bool>,
pub default_theme_version: Option<u32>,
pub show_objects: Option<String>,
pub code_name: Option<String>,
pub check_compatibility: Option<bool>,
pub auto_compress_pictures: Option<bool>,
pub backup_file: Option<bool>,
pub save_external_link_values: Option<bool>,
pub update_links: Option<String>,
pub hide_pivot_field_list: Option<bool>,
pub show_pivot_chart_filter: Option<bool>,
pub allow_refresh_query: Option<bool>,
pub publish_items: Option<bool>,
pub show_border_unselected_tables: Option<bool>,
pub prompted_solutions: Option<bool>,
pub show_ink_annotation: Option<bool>,
}Expand description
High-level workbook properties (maps to the WorkbookPr XML element).
All fields are optional; None means the attribute is omitted from the XML.
Fields§
§date1904: Option<bool>Use 1904 date system instead of 1900.
filter_privacy: Option<bool>Filter privacy setting.
default_theme_version: Option<u32>Default theme version.
show_objects: Option<String>Show objects mode (e.g. “all”, “placeholders”, “none”).
code_name: Option<String>Code name for VBA.
check_compatibility: Option<bool>Check compatibility on save.
auto_compress_pictures: Option<bool>Auto compress pictures.
backup_file: Option<bool>Backup file setting.
save_external_link_values: Option<bool>Save external link values.
update_links: Option<String>Update links mode.
hide_pivot_field_list: Option<bool>Hide pivot field list.
show_pivot_chart_filter: Option<bool>Show pivot chart filter.
allow_refresh_query: Option<bool>Allow refresh query.
publish_items: Option<bool>Publish items.
show_border_unselected_tables: Option<bool>Show border on unselected tables.
prompted_solutions: Option<bool>Prompted solutions.
show_ink_annotation: Option<bool>Show ink annotation.
Implementations§
Source§impl WorkbookSettings
impl WorkbookSettings
Sourcepub fn to_workbook_pr(&self) -> WorkbookPr
pub fn to_workbook_pr(&self) -> WorkbookPr
Convert to the XML-level WorkbookPr struct.
Trait Implementations§
Source§impl Clone for WorkbookSettings
impl Clone for WorkbookSettings
Source§fn clone(&self) -> WorkbookSettings
fn clone(&self) -> WorkbookSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkbookSettings
impl Debug for WorkbookSettings
Source§impl Default for WorkbookSettings
impl Default for WorkbookSettings
Source§fn default() -> WorkbookSettings
fn default() -> WorkbookSettings
Returns the “default value” for a type. Read more
Source§impl From<&WorkbookPr> for WorkbookSettings
impl From<&WorkbookPr> for WorkbookSettings
Source§fn from(pr: &WorkbookPr) -> Self
fn from(pr: &WorkbookPr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkbookSettings
impl RefUnwindSafe for WorkbookSettings
impl Send for WorkbookSettings
impl Sync for WorkbookSettings
impl Unpin for WorkbookSettings
impl UnwindSafe for WorkbookSettings
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