Excel.Interfaces.WorkbookData interface
An interface describing the data returned by calling workbook.toJSON()
.
Properties
auto |
Specifies if the workbook is in AutoSave mode. |
bindings | Represents a collection of bindings that are part of the workbook. |
calculation |
Returns a number about the version of Excel Calculation Engine. |
chart |
True if all charts in the workbook are tracking the actual data points to which they are attached. False if the charts track the index of the data points. |
custom |
Represents the collection of custom XML parts contained by this workbook. |
is |
Specifies if changes have been made since the workbook was last saved. You can set this property to |
name | Gets the workbook name. |
names | Represents a collection of workbook-scoped named items (named ranges and constants). |
pivot |
Represents a collection of PivotTables associated with the workbook. |
previously |
Specifies if the workbook has ever been saved locally or online. |
properties | Gets the workbook properties. |
protection | Returns the protection object for a workbook. |
read |
Returns |
settings | Represents a collection of settings associated with the workbook. |
styles | Represents a collection of styles associated with the workbook. |
tables | Represents a collection of tables associated with the workbook. |
use |
True if calculations in this workbook will be done using only the precision of the numbers as they're displayed. Data will permanently lose accuracy when switching this property from |
worksheets | Represents a collection of worksheets associated with the workbook. |
Property Details
autoSave
Specifies if the workbook is in AutoSave mode.
autoSave?: boolean;
Property Value
boolean
Remarks
bindings
Represents a collection of bindings that are part of the workbook.
bindings?: Excel.Interfaces.BindingData[];
Property Value
Remarks
calculationEngineVersion
Returns a number about the version of Excel Calculation Engine.
calculationEngineVersion?: number;
Property Value
number
Remarks
chartDataPointTrack
True if all charts in the workbook are tracking the actual data points to which they are attached. False if the charts track the index of the data points.
chartDataPointTrack?: boolean;
Property Value
boolean
Remarks
customXmlParts
Represents the collection of custom XML parts contained by this workbook.
customXmlParts?: Excel.Interfaces.CustomXmlPartData[];
Property Value
Remarks
isDirty
Specifies if changes have been made since the workbook was last saved. You can set this property to true
if you want to close a modified workbook without either saving it or being prompted to save it.
isDirty?: boolean;
Property Value
boolean
Remarks
name
names
Represents a collection of workbook-scoped named items (named ranges and constants).
names?: Excel.Interfaces.NamedItemData[];
Property Value
Remarks
pivotTables
Represents a collection of PivotTables associated with the workbook.
pivotTables?: Excel.Interfaces.PivotTableData[];
Property Value
Remarks
previouslySaved
Specifies if the workbook has ever been saved locally or online.
previouslySaved?: boolean;
Property Value
boolean
Remarks
properties
Gets the workbook properties.
properties?: Excel.Interfaces.DocumentPropertiesData;
Property Value
Remarks
protection
Returns the protection object for a workbook.
protection?: Excel.Interfaces.WorkbookProtectionData;
Property Value
Remarks
readOnly
Returns true
if the workbook is open in read-only mode.
readOnly?: boolean;
Property Value
boolean
Remarks
settings
Represents a collection of settings associated with the workbook.
settings?: Excel.Interfaces.SettingData[];
Property Value
Remarks
styles
Represents a collection of styles associated with the workbook.
styles?: Excel.Interfaces.StyleData[];
Property Value
Remarks
tables
Represents a collection of tables associated with the workbook.
tables?: Excel.Interfaces.TableData[];
Property Value
Remarks
usePrecisionAsDisplayed
True if calculations in this workbook will be done using only the precision of the numbers as they're displayed. Data will permanently lose accuracy when switching this property from false
to true
.
usePrecisionAsDisplayed?: boolean;
Property Value
boolean
Remarks
worksheets
Represents a collection of worksheets associated with the workbook.
worksheets?: Excel.Interfaces.WorksheetData[];
Property Value
Remarks
Office Add-ins