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

Class representing a reader for the shared strings table of XLSX files. More...

Inheritance diagram for NanoXLSX.Internal.Readers.SharedStringsReader:

Public Member Functions

 SharedStringsReader ()
 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

List< string > SharedStrings [get]
 List of shared string entries.
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.

Detailed Description

Class representing a reader for the shared strings table of XLSX files.

Definition at line 26 of file SharedStringsReader.cs.

Constructor & Destructor Documentation

◆ SharedStringsReader()

NanoXLSX.Internal.Readers.SharedStringsReader.SharedStringsReader ( )

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

Definition at line 63 of file SharedStringsReader.cs.

Member Function Documentation

◆ Execute()

void NanoXLSX.Internal.Readers.SharedStringsReader.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 94 of file SharedStringsReader.cs.

◆ Init()

void NanoXLSX.Internal.Readers.SharedStringsReader.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 78 of file SharedStringsReader.cs.

Property Documentation

◆ InlinePluginHandler

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

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

Definition at line 56 of file SharedStringsReader.cs.

◆ Options

IOptions NanoXLSX.Internal.Readers.SharedStringsReader.Options
getset

Reader options.

Definition at line 52 of file SharedStringsReader.cs.

◆ SharedStrings

List<string> NanoXLSX.Internal.Readers.SharedStringsReader.SharedStrings
get

List of shared string entries.

String entry, sorted by its internal index of the table

Definition at line 43 of file SharedStringsReader.cs.

◆ Workbook

Workbook NanoXLSX.Internal.Readers.SharedStringsReader.Workbook
getset

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

Definition at line 48 of file SharedStringsReader.cs.


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