NanoXLSX.Reader 3.0.0-rc.5
Loading...
Searching...
No Matches
NanoXLSX.Internal.Readers.WorksheetReader Class Reference

Class representing a reader for worksheets of XLSX files. More...

Inheritance diagram for NanoXLSX.Internal.Readers.WorksheetReader:

Public Member Functions

 WorksheetReader ()
 Default constructor - Must be defined for instantiation of the plug-ins.
void Init (MemoryStream stream, Workbook workbook, IOptions readerOptions, Action< MemoryStream, Workbook, string, IOptions, int?> inlinePluginHandler)
 Initialization method (interface implementation).
void Execute ()
 Method to execute the main logic of the plug-in (interface implementation).

Properties

Workbook Workbook [get, set]
 Workbook reference where read data is stored (should not be null).
IOptions Options [get, set]
 Reader options.
Action< MemoryStream, Workbook, string, IOptions, int?> InlinePluginHandler [get, set]
 Reference to the ReaderPlugInHandler, to be used for post operations in the Execute method.
int CurrentWorksheetID [get, set]
 Gets or sets the (r)ID of the current worksheet.
List< String > SharedStrings [get, set]
 Gets or Sets the list of the shared strings. The index of the list corresponds to the index, defined in cell values.

Detailed Description

Class representing a reader for worksheets of XLSX files.

Definition at line 28 of file WorksheetReader.cs.

Constructor & Destructor Documentation

◆ WorksheetReader()

NanoXLSX.Internal.Readers.WorksheetReader.WorksheetReader ( )

Default constructor - Must be defined for instantiation of the plug-ins.

Definition at line 67 of file WorksheetReader.cs.

Member Function Documentation

◆ Execute()

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

Method to execute the main logic of the plug-in (interface implementation).

Exceptions
Exceptions.IOExceptionThrows an IOException in case of a error during reading

Definition at line 103 of file WorksheetReader.cs.

◆ Init()

void NanoXLSX.Internal.Readers.WorksheetReader.Init ( MemoryStream stream,
Workbook workbook,
IOptions readerOptions,
Action< MemoryStream, Workbook, string, IOptions, int?> inlinePluginHandler )

Initialization method (interface implementation).

Parameters
streamMemoryStream to be read
workbookWorkbook reference
readerOptionsReader options
inlinePluginHandlerReference to the a handler action, to be used for post operations in reader methods

Definition at line 80 of file WorksheetReader.cs.

Property Documentation

◆ CurrentWorksheetID

int NanoXLSX.Internal.Readers.WorksheetReader.CurrentWorksheetID
getset

Gets or sets the (r)ID of the current worksheet.

Definition at line 55 of file WorksheetReader.cs.

◆ InlinePluginHandler

Action<MemoryStream, Workbook, string, IOptions, int?> NanoXLSX.Internal.Readers.WorksheetReader.InlinePluginHandler
getset

Reference to the ReaderPlugInHandler, to be used for post operations in the Execute method.

Definition at line 51 of file WorksheetReader.cs.

◆ Options

IOptions NanoXLSX.Internal.Readers.WorksheetReader.Options
getset

Reader options.

Definition at line 47 of file WorksheetReader.cs.

◆ SharedStrings

List<String> NanoXLSX.Internal.Readers.WorksheetReader.SharedStrings
getset

Gets or Sets the list of the shared strings. The index of the list corresponds to the index, defined in cell values.

Definition at line 60 of file WorksheetReader.cs.

◆ Workbook

Workbook NanoXLSX.Internal.Readers.WorksheetReader.Workbook
getset

Workbook reference where read data is stored (should not be null).

Definition at line 43 of file WorksheetReader.cs.


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