Table of Contents

Class XlsReader

Namespace
DocWright.Spreadsheet.Xls
Assembly
DocWright.Spreadsheet.Xls.dll

Opens a legacy binary workbook (.xls, BIFF8: Excel 97 to 2003, and later Excel's "Excel 97-2003 Workbook") as an XlsxDocument (Phase 217): its sheets, cells, formulas (through their parsed tokens), number formats, fonts, fills, borders and alignment, names, merged cells, column widths, row heights and frozen panes. Every other operation of XlsxDocument works on the result, and Save(Stream, XlsxWriteSettings?) writes it as .xlsx; there is no .xls writer.

public static class XlsReader
Inheritance
XlsReader
Inherited Members

Remarks

What is not read is reported once for each sheet and kind (UnsupportedFeature): charts, drawings, notes, hyperlinks, validations, conditional formats, pivot tables, auto filters, protection, page setup, macros. A formula whose tokens have no text here is read as its last value (ExportStructureCollapsed). The input is untrusted: every record length is checked against the stream, CONTINUE chains are bounded, tokens are read in one loop, and the compound file's sector chains are cycle-checked by DocWright.Ole.

Methods

Open(Stream, XlsxReadSettings?)

Opens a binary workbook.