Table of Contents

Namespace DocWright.Spreadsheet

Namespaces

DocWright.Spreadsheet.Rendering
DocWright.Spreadsheet.Security
DocWright.Spreadsheet.Xls

Classes

OdsWriteOptions

Options a workbook is written as OpenDocument Spreadsheet with.

OdsWriter

Writes a workbook as an OpenDocument Spreadsheet (.ods, ODF 1.3; Phase 216), as LibreOffice writes Excel's workbooks: each worksheet's cells with their values, formulas (in OpenFormula), number formats (as data styles), fonts, fills, borders, alignment and protection, column widths, row heights, hidden rows and columns, and merged cells. What ODF cannot carry here is reported, never dropped in silence: a formula with no OpenFormula form is written as its value (ExportStructureCollapsed), and each feature a sheet has that is not written (charts, pictures, conditional formats, validations and the rest) is named once (UnsupportedFeature).

XlsxAllowEditRange

A range of a protected sheet that users may edit, with its own password or none (Excel's "Allow Edit Ranges").

XlsxAllowEditRanges

A sheet's allow-edit ranges.

XlsxCalculationLimits

The bounds a calculation keeps within (Phase 207): past one, it stops with ResourceLimitExceededException.

XlsxCalculationOptions

How a workbook is calculated (Phase 207).

XlsxCalculationResult

What a calculation did (Phase 207).

XlsxCell

One cell on a worksheet.

XlsxCellMatch

One match of a search of a workbook.

XlsxCellStyle

Everything about how one cell looks: its font, its fill, its edges, its alignment and the number format its value is displayed through.

XlsxChart

A chart on a worksheet or a chart sheet (Phase 211): its type, title, series, axes and legend as its part states them, and where it is. Read from the part when the sheet's charts are listed; a chart that is not changed is saved as the bytes it was.

XlsxChartAxis

An axis of a chart (Phase 211).

XlsxChartLegend

A chart's legend (Phase 211).

XlsxChartOptions

How a new chart is made (Phase 211); each left as it is takes what Excel gives a chart inserted from a selection.

XlsxChartSeries

A series of a chart, as its part states it (Phase 211).

XlsxCharts

A sheet's charts, in the order its drawing holds them (Phase 211).

XlsxColumn

A run of columns sharing a width.

XlsxColumnFilter

The criterion one column of a sheet's filter has.

XlsxComment

One note of a sheet (Phase 200): its cell, its author, its text and whether it is shown.

XlsxComments

The notes of one sheet of an opened workbook (Phase 200): read as the file lists them, added, changed and removed as Excel's New Note, Edit Note and Delete Note do, and written the way Excel writes its own.

XlsxConditionalFormat

One conditional format rule of a sheet (Phase 202): what it checks, the cells it covers, its priority, and the format it applies. The object is live: its setters change the rule in the workbook. A rule's criteria are changed by adding a new rule and removing this one.

XlsxConditionalFormats

The conditional formats of one sheet of an opened workbook (Phase 202): listed as the file holds them, added, changed, reordered and removed as Excel's Conditional Formatting does, and written the way Excel writes its own.

XlsxConditionalOptions

Options for EffectiveStyle(int, int, XlsxConditionalOptions?) (Phase 202).

XlsxCreateSettings

Options a workbook is started with.

XlsxCsvOptions

How a sheet is written as delimited text (ToCsv(TextWriter, XlsxCsvOptions?)).

XlsxCsvReadOptions

How delimited text is read into a workbook (FromCsv(TextReader, XlsxCsvReadOptions?)).

XlsxCustomProperty

A custom property of a workbook: its name and value.

XlsxDataValidation

One data validation rule of a sheet (Phase 201): what it checks, the cells it covers, and what Excel shows. The object is live, as Excel's Data Validation dialog is: its setters change the rule in the workbook.

XlsxDataValidations

The data validation rules of one sheet of an opened workbook (Phase 201): listed as the file holds them, added, changed and removed as Excel's Data Validation does, and written the way Excel writes its own.

XlsxDefinedName

One defined name of an opened workbook (Phase 199): what it is called, the scope it belongs to, and what it stands for, which can be changed.

XlsxDefinedNames

The defined names of an opened workbook (Phase 199): read as the file lists them, added, changed and removed as Excel's Name Manager does, and written the way Excel writes its own.

XlsxDifferentialStyle

A differential format (Phase 202): what a conditional format changes about a cell's look, and nothing else. Every property is null unless the format sets it, as Excel's dxf records are.

XlsxDocument

An existing workbook, opened to be read and saved back with nothing lost.

XlsxDocumentPageSetup

How a sheet of an opened workbook says it is printed: paper, orientation, margins, scaling, what is printed and where the pages break. Read from PageSetup.

XlsxDocumentProperties

What a workbook says about itself in its core properties part: the title, the subject, the author, the keywords, the comments and the category Excel shows under File, Info.

XlsxDocumentSheet

One sheet of an opened workbook.

XlsxEffectiveStyle

What a cell looks like with the sheet's conditional formats applied (Phase 202).

XlsxEmbeddedObject

An OLE object on a sheet (Phase 218): an embedded file or document, or a link to one, as the sheet's oleObjects list, its embedding part and its drawings state it. Its payload is bytes: never opened, never run.

XlsxEmbeddedObjectOptions

How a file is embedded: what Add(Stream, string, Stream, string, XlsxEmbeddedObjectOptions?) writes beside it.

XlsxEmbeddedObjects

A sheet's OLE objects.

XlsxExportIssue

A cell an export could not give as the type that was asked for.

XlsxExportOptions

Options a range is read out of a sheet with.

XlsxFilledBlock

One block of a template that was filled.

XlsxFilterCondition

One condition of a custom filter.

XlsxFilterCriterion

What a column of a filter lets through.

XlsxFindOptions

How a search of a workbook matches.

XlsxFormControl

A form control on a sheet (Phase 214c), as the sheet's control list, its properties part and its drawing state it.

XlsxFormControlOptions

How a form control is added (Add(XlsxFormControlKind, string, XlsxFormControlOptions?)).

XlsxFormControls

A sheet's form controls.

XlsxFormatContext

What a number format needs to know that the value and the code do not say.

XlsxFormula

A formula read as its parts: its tokens, its tree, and every reference in it.

XlsxFormulaNode

One node of a formula's tree.

XlsxFormulaReference

One reference of a formula: what it points at, on which sheet, and which of its parts are absolute.

XlsxHyperlink

One hyperlink of a sheet, as the file has it (Phase 199).

XlsxHyperlinkOptions

What a hyperlink added to a workbook may point at (Phase 199).

XlsxHyperlinks

The hyperlinks of one sheet of an opened workbook (Phase 199): read as the file lists them, added and removed as Excel does, and written the way Excel writes its own.

XlsxImage

An image anchored on a worksheet.

XlsxImportColumn

One column of an import: which member it reads, the heading it gets and the number format of its cells.

XlsxImportOptions

Options data is written into a sheet with.

XlsxInsertOptions

How rows or columns are inserted.

XlsxJsonOptions

How a sheet is written as JSON (ToJson(Stream, XlsxJsonOptions?)).

XlsxMarkdownOptions

How a sheet is written as a Markdown table (ToMarkdown(TextWriter, XlsxMarkdownOptions?)).

XlsxMergeOptions

Options for Merge(XlsxDocument, XlsxMergeOptions?).

XlsxNumberFormatter

Shows a value through a number format code as Excel shows it.

XlsxPageSetup

The page setup a worksheet prints with.

XlsxPicture

One picture of a sheet (Phase 204). The object is live: it reads the picture as the workbook has it now, and its setters change it.

XlsxPictureAnchor

Where a picture is: how it is anchored, its corners on the sheet and its place in EMU from the sheet's top-left corner.

XlsxPictureOptions

What a picture added to a sheet is given: its size, how it follows the cells, its name and its alternative text.

XlsxPictures

The pictures of a sheet (Phase 204), in the order its drawing lists them.

XlsxPivotDataField

A pivot table's value field: what it summarizes and how.

XlsxPivotField

A field on a pivot table's rows, columns or filters, as the pivot table states it.

XlsxPivotTable

A pivot table on a sheet, as its definition and its cache state it (Phase 213): where it is, what it reads, its fields on rows, columns and filters, its value fields, its layout and style.

XlsxPivotTableOptions

How a new pivot table is arranged (Add(string, string, XlsxPivotTableOptions)).

XlsxPivotTables

A sheet's pivot tables.

XlsxPlaceholderOptions

How placeholders are recognized in a workbook and how their values are written.

XlsxPlaceholderResult

What filling the placeholders of a workbook did.

XlsxReadSettings

Options an existing workbook is opened with.

XlsxReplaceResult

What a replace in a workbook did.

XlsxRichText

Text formatted in parts (Phase 205): a cell's runs, each with its format. Text is the cell's text, the runs joined.

XlsxRichTextRun

A run of text in a cell and its format.

XlsxRow

One row on a worksheet.

XlsxRunFormat

The format of a run of text in a cell (Phase 205): what Excel's Characters().Font sets. A property left null is not stated, and Excel then uses the workbook's default font for it.

XlsxScenario

A scenario of a worksheet (Phase 218): a named set of values for its changing cells, as Excel's Scenario Manager keeps one in the sheet's scenarios list.

XlsxScenarioOptions

How a new scenario is made: what Add(string, string, IEnumerable<string>, XlsxScenarioOptions?) writes beside its cells and values.

XlsxScenarios

A worksheet's scenarios.

XlsxShape

A shape, text box, connector or group on a sheet (Phase 214b), as its drawing states it. Everything about it not modelled here is kept as its XML.

XlsxShapeOptions

How a shape is added (Add(string, string, XlsxShapeOptions?)).

XlsxShapes

A sheet's shapes, text boxes, connectors and groups (its pictures, charts and controls are listed apart).

XlsxSheetName

The rules a worksheet name has to follow, and a normalizer for deriving one from arbitrary text.

XlsxSheetProtection

What a protected sheet still lets a user of Excel do (Phase 215; the sheetProtection element). Excel's defaults: selecting cells is allowed, everything else is not.

XlsxSkippedCell

A cell a replace found a match in and did not change, and why.

XlsxSortKey

One column a range is sorted by.

XlsxSortOptions

How a range is sorted.

XlsxSparkline

One sparkline: the cell it is drawn in and the range it draws.

XlsxSparklineGroup

A group of sparklines (Phase 214a): the sparklines of one x14:sparklineGroup, which share a type, the points they mark and their colours.

XlsxSparklineGroups

A sheet's sparkline groups.

XlsxTable

One table of a sheet (Phase 203). The object is live: it reads the table as the workbook has it now, and its setters change it.

XlsxTableColumn

One column of a table (Phase 203).

XlsxTables

The tables of one sheet of an opened workbook (Phase 203), as Excel's Format as Table makes them: listed, added, resized, restyled and removed, and written the way Excel writes its own.

XlsxTemplateList

A list of objects for a template's block, whose members are read by name from the public properties of their type.

XlsxTemplateOptions

How a workbook template is filled: its placeholders, and its blocks of rows that repeat for a list.

XlsxTemplateResult

What filling a workbook template did.

XlsxThreadedComment

One threaded comment or reply (Phase 200), as the file has it.

XlsxThreadedComments

The threaded comments of one sheet (Phase 200), as Microsoft 365 writes them: read with their replies, and removed.

XlsxThresholdPoint

A threshold of a colour scale, a data bar or an icon set, with the colour a colour scale gives it (Phase 202).

XlsxWildcards

Excel's search wildcards: ? for any one character, * for any run of characters, ~ before either (or itself) for the character as it is.

XlsxWorkbook

A workbook: the whole of what a .xlsx file holds.

XlsxWorksheet

One worksheet in a workbook.

XlsxWriteSettings

Options a workbook is written with.

XlsxWriter

Writes an XlsxWorkbook as a SpreadsheetML package.

Structs

XlsxAnchorPoint

A corner of a picture on the sheet: the cell it is in and how far into the cell, in EMU.

XlsxBorder

One edge of a cell.

XlsxCellRange

A rectangular range of cells.

XlsxCellValue

One cell's value: the thing Excel stores, as opposed to the thing it displays.

XlsxDocumentCell

One cell of an opened workbook, as it was read.

XlsxFormattedText

The text a number format gives a value, and what the format says about showing it.

XlsxFormulaToken

One token of a formula: its kind and the characters it is.

Enums

XlsxAnchorKind

How a drawing anchors an object.

XlsxBorderStyle

How a cell's edge is drawn.

XlsxCellValueKind

What a XlsxCellValue holds.

XlsxChartAxisGroup

Which pair of axes a series is drawn against (Phase 211).

XlsxChartAxisKind

What an axis measures (Phase 211).

XlsxChartAxisPosition

The side of the plot an axis is drawn on (Phase 211).

XlsxChartType

What a chart is, as Excel names its types (Phase 211; XlChartType). Read from the chart part: the plot's element, its direction and grouping, and, where Excel tells types apart by the series' look (a line or markers), the first series'.

XlsxConditionOperator

How a cell value rule compares (Phase 202).

XlsxConditionalFormatKind

What a conditional format checks (Phase 202), as Excel's rule types name it.

XlsxCopyFormat

Where inserted rows and columns take their format from.

XlsxEmptyList

What a template's block becomes when its list has no items.

XlsxExportValues

What an export gives for a cell.

XlsxFilterKind

What kind of criterion a column of a filter has.

XlsxFilterOperator

How a condition of a filter compares a cell with its value.

XlsxFormControlKind

What a form control is (Excel's Form Controls; ActiveX controls are not these).

XlsxFormulaNodeKind

What a node of a formula's tree is.

XlsxFormulaReferenceKind

What a reference in a formula points at.

XlsxFormulaTokenKind

What a token of a formula is.

XlsxHorizontalAlignment

Horizontal alignment of a cell's content.

XlsxLegendPosition

Where a chart's legend is (Phase 211).

XlsxPageOrder

The order a sheet too large for one page is printed in.

XlsxPicturePlacement

How a picture follows the cells under it when they are resized, inserted or deleted: Excel's Placement.

XlsxPivotFunction

How a data field summarizes its values.

XlsxPivotLayout

How a pivot table lays out its row fields (Excel's report layout).

XlsxPivotSortOrder

How a field's items are ordered.

XlsxScriptPosition

Where a run of text sits against the line.

XlsxSearchIn

What a search of a workbook looks at in a cell that holds a formula.

XlsxShapeKind

What a drawing object is.

XlsxSheetKind

What a sheet of a workbook is.

XlsxSheetVisibility

Whether a sheet is shown in the workbook's tabs.

XlsxSparklineType

How a sparkline draws its values.

XlsxThresholdType

How a threshold of a colour scale, a data bar or an icon set is placed (Phase 202).

XlsxTimePeriod

The period a dates-occurring rule matches (Phase 202).

XlsxTotalsFunction

The function a table's totals row computes for a column (Phase 203), as Excel's Total Row offers them.

XlsxUnderline

How a run of text is underlined.

XlsxUnknownFunction

What a calculation does with a formula that uses a function this library does not calculate (Phase 207).

XlsxUnresolvedPlaceholder

What happens to a placeholder the data has no key for.

XlsxValidationErrorStyle

What Excel does with a value a rule refuses (Phase 201).

XlsxValidationOperator

How a value is compared with a rule's formulas (Phase 201).

XlsxValidationType

What a data validation rule checks (Phase 201). The names are Excel's Allow list.

XlsxVerticalAlignment

Vertical alignment of a cell's content.