Antony Liu
7185cf58ae
#61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytes
2 weeks ago
Antony Liu
5687de67c7
Remove some deprecated *SSF APIs
2 months ago
Antony Liu
94d2eca88b
github-52: add ExcelToHtmlConverter method that works on InputStreams. Thanks to Tony Zeng! This closes #52 .
4 months ago
JYJ
d096dcc8f4
Change stringbuilder to zstring(this time changing only what needs to be changed)
4 months ago
Marko Lahma
aa87073ddf
Make non-public API methods static where applicable
4 months ago
Marko Lahma
122d6cb5e3
Fix analyzer reported issues related to string usage
* add polyfills for older targets
4 months ago
Marko Lahma
4c23bca0f6
Replace casts with pattern variable
5 months ago
Marko Lahma
d50e141958
Add readonly modifier for suitable fields
5 months ago
Marko Lahma
3329a7d06c
Use TryGetValue instead of ContainsKey and indexing
5 months ago
Tony Qu
58f28528d3
change formatting of bReadOnly
1 year ago
ABykiev
23b929e6ab
Fix DefaultColumnWidth
This PR fixes DefaultColumnWidth type and implementation. Due to POI bug it returned baseColumnWidth, which is integer. This is a breaking change.
Fixes #943
2 years ago
Michael Croes
5df3482735
Replace Exception catches without capture with untyped catch clauses
2 years ago
Michael Croes
a3b95c26a8
Remove redundant IOException handling
Identical handling on Exception is right below.
2 years ago
Michael Croes
94ebcc7627
Remove exception rethrows (CA2200)
Also remove redundant try-catches (catching and rethrowing only).
2 years ago
KnyazSh
51169e22df
Fix WorkbookFactory for encrypted OOXML
3 years ago
yitian.chen
d055e82fc6
bugfix: ExcelToHtmlConverter throw exception when cell has background color
3 years ago
Tony Qu
be5889e8de
fix compilation issue caused by new syntax introduced by c# 6.0 and above.
5 years ago
Tony Qu
5e12ce37f6
apply InvalidFormatException and EmptyFileException to WorkbookFactory
5 years ago
Tony Qu
fe794098e8
fix test cases for WorkbookFactory and XWPFHeading
5 years ago
Tony Qu
bfc654c4b4
fix WorkbookFactory ImportOption issue
5 years ago
Tony Qu
3b0c95c5a8
fix ExcelToHtmlConverter nullexception bug
5 years ago
Tony Qu
87a212ed4b
sync copysheet from xssf examples
6 years ago
antony liu
1d5d096566
Fix test case TestWorkbookFactory.TestEmptyFile
6 years ago
antony liu
5c2594c93c
POI:bug 59833: add getFillPatternEnum and setFillPattern(FillPatternType) to CellStyle; consolidate duplicated FillPattern constants in CellStyle to FillPatternType enum
6 years ago
antony liu
43fb96c4c7
POI:Refactor some common code from the various Document-Factories into a helper class
6 years ago
antony liu
aab778c187
POI:Fix some cases where POI itself or the tests leaked file-handles
6 years ago
antony liu
777b5ee25a
POI:bug 58740: return unmodifiable list/map when exposing internal data structures
6 years ago
antony.liu
3dec7f25e6
POI:Ensure that the ThreadLocal-Biff-Password is reset correctly after each usage, we had some unit tests failing sporadically due to this
6 years ago
antony.liu
6d229633ec
POI:Bug 54938: Throw InvalidFormatException as documented instead of IllegalArgumentException in WorkbookFactory.create()
6 years ago
antony.liu
987fa81111
POI:Move more tests into base class and add a TestSXSSFBugs class to verify some things that are supported against SXSSFWorkbook as well
6 years ago
antony.liu
1ad6245e56
POI:Add WorkbookFactory.create() with a flag to allow to open files read-only, keep the current way of opening read/write as default to not break existing code.
6 years ago
antony.liu
a78ce9fa50
POI:Prevent problems reported in Bug 56574 by ensuring that Cells are properly removed when a row is overwritten by calling createRow() with it's rownum.
6 years ago
antony.liu
08973eccdb
POI:#56791 More updates from OPOIFS to NPOIFS
6 years ago
Tony Qu
4648f7264b
rollback WorkbookFactory
don't use NPOIFSFileSystem for now. it will occupy file for some reason
10 years ago
antony-liu
b2a6c65497
Add missing close() of resources in both production code and tests
Use revert() instead of close() on OCPPackage in some places to not re-write the file unnecessarily.
This should now run tests without leftover file handles when checked with file leak detector and
allows to find newly introduced cases more easily.
10 years ago
antony-liu
428f8c3be4
Add a note about file resources, see bug #56537
10 years ago
Tony Qu
16fe9c7c5a
fix WorkbookFactory occupy file issue
11 years ago
Tony Qu
2e9cd747d7
move Excel2HtmlConverter to NPOI.SS in NPOI.OOXML.dll
support xlsx2html
11 years ago
Tony Qu
7eac152cb0
fix .net 2.0 compilation issue
var issue; getter and setter body issue
13 years ago
Antony liu
e7ae1d0f8f
Allow the passing of a File object to WorkbookFactory.create, which permits lower memory processing than the InputStream version(poi-developers)
Add a NPOIFS constructor to WorkbookFactory, to match the regular POIFS one
13 years ago
Tony Qu
c6868e4190
fix LF formatting issue
done automatically by Github
13 years ago
christian.leutloff@gmail.com
669799b17b
Added an ImportOption to the WorkbookFactory to load only specific parts of the XSSF (.xlsx) file.
git-svn-id: http://npoi.googlecode.com/svn/trunk@455 3d0cb27c-5942-9f1f-b0c8-b51bd5f61ba7
13 years ago
christian.leutloff@gmail.com
24260214d0
VS10: Prepare Build to produced signed assemblies.
git-svn-id: http://npoi.googlecode.com/svn/trunk@454 3d0cb27c-5942-9f1f-b0c8-b51bd5f61ba7
13 years ago
antony.apollo@gmail.com
b1c368294a
Add test TestCellFormatPart.cs and TestWorkbookFactory.cs
git-svn-id: http://npoi.googlecode.com/svn/trunk@412 3d0cb27c-5942-9f1f-b0c8-b51bd5f61ba7
13 years ago