Comments (13)
Hi, can you please explain in details the issue. NPOI hasn't direct dependency on this library
https://www.nuget.org/packages/NPOI/#dependencies-body-tab
from npoi.
Hi,
it's enum.net issue,i have post it to its github site. but now i have another issue, how to open an password protected excel for reading? Is it possible for the 2.7 version?
code:
fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
WorkbookFactory.Create(fs, true);
exception: “RemoveDataValidation” has not been implemented
from npoi.
Password protection is only available for xlsx files:
IWorkbook workbook = WorkbookFactory.Create("encryped.xlsx", "password");
from npoi.
don't know password
from npoi.
in addition, the enums.net lib author seems doesn't maintian any more :
from npoi.
don't know password
I you don't know the password, you can't open such file.
from npoi.
don't know password
This is illegal. We don't provide this kind of feature.
from npoi.
@softboy99 I checked Enums.NET nuget just now. The last version is just released 3 month ago. Why do you say it's not maintained anymore? Any clues?
from npoi.
Only one question in one issue. If you have other question, please open a new issue. Thanks
from npoi.
在 System.MemoryExtensions.AsSpan(String text)
在 NPOI.SS.Util.CellReference..ctor(String cellRef) 在 C:\Users\ander\Downloads\npoi-master\main\SS\Util\CellReference.cs 中: 第 84 行
在 NPOI.XSSF.UserModel.XSSFCell..ctor(XSSFRow row, CT_Cell cell) 在 C:\Users\ander\Downloads\npoi-master\ooxml\XSSF\UserModel\XSSFCell.cs 中: 第 93 行
在 NPOI.XSSF.UserModel.XSSFRow..ctor(CT_Row row, XSSFSheet sheet) 在 C:\Users\ander\Downloads\npoi-master\ooxml\XSSF\UserModel\XSSFRow.cs 中: 第 285 行
在 NPOI.XSSF.UserModel.XSSFSheet.InitRows(CT_Worksheet worksheetParam) 在 C:\Users\ander\Downloads\npoi-master\ooxml\XSSF\UserModel\XSSFSheet.cs 中: 第 4054 行
在 NPOI.XSSF.UserModel.XSSFSheet.Read(Stream is1) 在 C:\Users\ander\Downloads\npoi-master\ooxml\XSSF\UserModel\XSSFSheet.cs 中: 第 1221 行
在 NPOI.XSSF.UserModel.XSSFSheet.OnDocumentRead() 在 C:\Users\ander\Downloads\npoi-master\ooxml\XSSF\UserModel\XSSFSheet.cs 中: 第 1201 行
from npoi.
from npoi.
Can you create a single console project and reproduce the issue? I'm afraid the issue you are encountering is somewhat related to your package reference in your project.
According to the call stack, this issue is caused by AsSpan method. It's nothing to do with Enums.NET.
from npoi.
@softboy99, check the binding redirects for System.Runtime.CompilerServices.Unsafe
from npoi.
Related Issues (20)
- XSSFSheet.CopySheet doesn't support cloning charts
- i cannot open a file with npoi HOT 5
- The npoi package conflicts with the Magicodes.IE package HOT 2
- 'Object reference not set to an instance of an object' in XSSFCell.ToString() HOT 4
- npoi will inexplicably digitize some cells with formulas HOT 5
- excel file damaged after adding images and saving HOT 1
- Unable to rotate image manually in DOCX
- Looking for a new job in Asia
- "Do you want us to try to recover as much as we can?" error message when opnening file when using 2.7.0 version HOT 1
- SXSSFWorkbook, it does not compress files which are saved on my local temp file HOT 1
- nsid is generated incorrectly for abstract num HOT 7
- NPOI corrupts a workbook with a simple calculation HOT 1
- Using unsafe package HOT 1
- Broken xlsx file created by SXSSFWorkbook - Open with Excel 2007 HOT 3
- Use of legacy .Signed MathNet.Numerics package causing build issues HOT 2
- fixed "Cannot add more than 65535 shapes" HOT 10
- fixed AutoFilter record size with multibyte strings. HOT 1
- fixed System.ArgumentException: 'Invalid CellReference: 'Sheet1' HOT 2
- Validation cannot handle double quote
- fixed System.InvalidOperationException: 'The hyperlink for cell A1 references relation rId1, but that didn't exist!'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npoi.