-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File with Pivot table corrupted after saving with NPOI #419
Comments
There is a big gap in pivotTable openxml serialization. I'm scheduling a fix in NPOI 2.5.6 |
@tonyqus I would like to take a look at the issue, as I'm working with a spreadsheet containing multiple pivot tables. Currently the only package I can get to work in my case is the Microsoft Interop package for Excel which is incredibly slow. I don't have much prior experience working with OpenXML, could you maybe point me in the direction of some related documentation? |
@Syrlander thank you for your interest. Maybe OpenXML SDK is a good choice for you. But I definitely welcome you contribute some code to NPOI. I do need a hand on this project. There are some open source documents for OpenXML for you to get started with Please keep these questions in mind.
Btw, do you use telegram? Maybe you can join the NPOI user group at https://t.me/npoidevs |
Pivot table openxml code of NPOI is located at |
Hello, @tonyqus. I am actively working on solving this problem. I have already done a lot of work on adding the missing code. I anticipate that I will be submitting a PR for your review in the near future. |
Hi @KnyazSh, just tried your latest commits, unfortunately the error remains. |
Hi @solarding, No. I thought I'd already finished. Can you write more about the errors and send me an example file? |
The file it created is corrupted that excel can not open it. Portfolio2020.xlsx public void testc()
|
Hi @KnyazSh could you reproduce the problem? |
I've created the new branch Pivot-table |
@KnyazSh Hi, I'm thinking if I should involve your pivot table implementation in NPOI 2.5.6. Any thoughts? |
Hi @tonyqus and @solarding. |
Hi, do you have a date for the release of the new version with this fix please ? I try to compile NPOI 2.6.0 by myseleft but I get an error so I can't test the new version. thank you very much. |
Hello,
cannot open the file after manipulate it on my projet even if i dont do anything on it like this :
` //i get my file from the directory where it save
FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
workbook = new XSSFWorkbook(fs);
`
when i open it say
and here the error screen when i trust the source
it seems the color and theme dont load correctly but cells and sheets (even those hide) are here ...
BEFOR
After
testPivot.xlsx
The text was updated successfully, but these errors were encountered: