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

Class representing a reader for style definitions of XLSX files. More...

Inheritance diagram for NanoXLSX.Internal.Readers.StyleReader:

Public Member Functions

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

Properties

virtual string DocumentType [get]
 Gets the relationship type URI of a style document.
Workbook Workbook [get, set]
 Workbook reference where read data is stored (should not be null).
IOptions Options [get, set]
 Reader options.
Action< Stream, 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 style definitions of XLSX files.

Definition at line 34 of file StyleReader.cs.

Constructor & Destructor Documentation

◆ StyleReader()

NanoXLSX.Internal.Readers.StyleReader.StyleReader ( )

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

Definition at line 65 of file StyleReader.cs.

Member Function Documentation

◆ Execute()

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

◆ Init()

void NanoXLSX.Internal.Readers.StyleReader.Init ( Stream stream,
Workbook workbook,
IOptions readerOptions,
Action< Stream, 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 79 of file StyleReader.cs.

Property Documentation

◆ DocumentType

virtual string NanoXLSX.Internal.Readers.StyleReader.DocumentType
get

Gets the relationship type URI of a style document.

Definition at line 45 of file StyleReader.cs.

◆ InlinePluginHandler

Action<Stream, Workbook, string, IOptions, int?> NanoXLSX.Internal.Readers.StyleReader.InlinePluginHandler
getset

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

Definition at line 58 of file StyleReader.cs.

◆ Options

IOptions NanoXLSX.Internal.Readers.StyleReader.Options
getset

Reader options.

Definition at line 54 of file StyleReader.cs.

◆ Workbook

Workbook NanoXLSX.Internal.Readers.StyleReader.Workbook
getset

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

Definition at line 50 of file StyleReader.cs.


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