Table of Contents

Class XlsxReadSettings

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Options an existing workbook is opened with.

public sealed class XlsxReadSettings
Inheritance
XlsxReadSettings
Inherited Members

Constructors

XlsxReadSettings()

Creates settings with the defaults: limits on, no diagnostics sink, not strict.

Properties

Diagnostics

Gets or sets where diagnostics are reported, or null to discard them.

HonorProtection

Gets or sets whether edits honour sheet protection (Phase 215): on a protected sheet a locked cell's value or formula is refused, and so is a change of look unless the sheet allows formatting cells, with InvalidOperationException. False by default: protection is a flag for Excel's interface, not security, and the library edits a protected sheet as Excel's object model does after unprotecting it.

Limits

Gets or sets the resource limits the package is read under. The default is a new ResourceLimits, whose defaults are on; null removes every limit that can be removed and is for input the caller already trusts.

StrictMode

Gets or sets whether a workbook that refers to something it does not define - a shared string, a cell format, a shared formula - is refused with InvalidDocumentException instead of read with that reference left out and a diagnostic.