NanoXLSX.Reader 3.2.1
Loading...
Searching...
No Matches
NanoXLSX.Internal.Readers.DiscoveryReader Class Reference

Discovers relationship information in an OOXML package before document readers execute. More...

Inheritance diagram for NanoXLSX.Internal.Readers.DiscoveryReader:

Public Member Functions

 DiscoveryReader ()
 Initializes a new discovery reader.
void Init (ZipArchive archive, Workbook workbook, IOptions readerOptions)
 Initializes discovery with a caller-owned ZIP archive.
void Execute ()
 Discovers all valid relationship parts and prepares the temporary relationship catalog.

Properties

Workbook Workbook [get, set]
 Gets or sets the workbook that receives the temporary discovery catalog.
IOptions Options [get, set]
 Gets or sets the reader options used for discovery validation.

Detailed Description

Discovers relationship information in an OOXML package before document readers execute.

Definition at line 27 of file DiscoveryReader.cs.

Constructor & Destructor Documentation

◆ DiscoveryReader()

NanoXLSX.Internal.Readers.DiscoveryReader.DiscoveryReader ( )

Initializes a new discovery reader.

Definition at line 45 of file DiscoveryReader.cs.

Member Function Documentation

◆ Execute()

void NanoXLSX.Internal.Readers.DiscoveryReader.Execute ( )

Discovers all valid relationship parts and prepares the temporary relationship catalog.

Exceptions
IOExceptionThrown on errors during the initialization or when invalid relationship data is encountered in strict validation mode.

Definition at line 63 of file DiscoveryReader.cs.

◆ Init()

void NanoXLSX.Internal.Readers.DiscoveryReader.Init ( ZipArchive archive,
Workbook workbook,
IOptions readerOptions )

Initializes discovery with a caller-owned ZIP archive.

Definition at line 52 of file DiscoveryReader.cs.

Property Documentation

◆ Options

IOptions NanoXLSX.Internal.Readers.DiscoveryReader.Options
getset

Gets or sets the reader options used for discovery validation.

Definition at line 40 of file DiscoveryReader.cs.

◆ Workbook

Workbook NanoXLSX.Internal.Readers.DiscoveryReader.Workbook
getset

Gets or sets the workbook that receives the temporary discovery catalog.

Definition at line 35 of file DiscoveryReader.cs.


The documentation for this class was generated from the following file: