10using NanoXLSX.Interfaces;
11using NanoXLSX.Interfaces.Reader;
12using NanoXLSX.Registry;
13using NanoXLSX.Registry.Attributes;
22 [NanoXlsxPlugIn(PlugInUUID = PlugInUUID.RelationshipReader)]
23 [Obsolete(
"Will be removed with the next major version")]
26 private Stream stream;
62 public void Init(Stream stream,
Workbook workbook, IOptions readerOptions, Action<Stream, Workbook, string, IOptions, int?> inlinePluginHandler)
65 this.Workbook = workbook;
66 this.Options = readerOptions;
67 this.InlinePluginHandler = inlinePluginHandler;
76 if (stream ==
null)
return;
RelationshipReader()
Default constructor - Must be defined for instantiation of the plug-ins.
void Execute()
Executes legacy relationship inline plug-ins without duplicating discovery parsing.
IOptions Options
Reader options.
Action< Stream, Workbook, string, IOptions, int?> InlinePluginHandler
Reference to the ReaderPlugInHandler, to be used for post operations in the Execute method.
void Init(Stream stream, Workbook workbook, IOptions readerOptions, Action< Stream, Workbook, string, IOptions, int?> inlinePluginHandler)
Initialization method (interface implementation).
Workbook Workbook
Workbook reference where read data is stored (should not be null).