Skip to main content

WorkbookSettings

Struct WorkbookSettings 

Source
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

Source

pub fn to_workbook_pr(&self) -> WorkbookPr

Convert to the XML-level WorkbookPr struct.

Trait Implementations§

Source§

impl Clone for WorkbookSettings

Source§

fn clone(&self) -> WorkbookSettings

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WorkbookSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WorkbookSettings

Source§

fn default() -> WorkbookSettings

Returns the “default value” for a type. Read more
Source§

impl From<&WorkbookPr> for WorkbookSettings

Source§

fn from(pr: &WorkbookPr) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.