NanoXLSX.Core 3.0.0-rc.5
Loading...
Searching...
No Matches
IPasswordReader.cs
1/*
2 * NanoXLSX is a small .NET library to generate and read XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3 * Copyright Raphael Stoeckli © 2026
4 * This library is licensed under the MIT License.
5 * You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
6 */
7
8using System.Xml;
9using static NanoXLSX.Enums.Password;
10
11
12
14{
18 public interface IPasswordReader : IPassword
19 {
20
26 void Init(PasswordType type, ReaderOptions readerOptions);
27
32 void ReadXmlAttributes(XmlNode node);
33 }
34}
Static class that contains shared enums for password handling, during read or write operations.
Definition Password.cs:14
The reader options define global rules, applied when loading a worksheet. The options are mainly to o...
Interface to represent a protection password, either for workbooks or worksheets. The implementations...
Definition IPassword.cs:14
Interface, used by password readers.
void ReadXmlAttributes(XmlNode node)
Reads the attributes of the passed XML node that contains password information.
void Init(PasswordType type, ReaderOptions readerOptions)
Method to initialize the password reader.