Andreas Beeker
f7fe4b0d59
#63955 - HMEFContentsExtractor fails to extract content from winmail.dat
...
added example file - optimized junit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872480 13f79535-47bb-0310-9956-ffa450edef68
2020-01-08 00:49:39 +00:00
Dominik Stadler
4aa8334e3b
Fix some additional file-handle-leaks reported by unit-tests via an enhanced version of the file-leak-detector
...
Also add a test for Bug 64045
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872287 13f79535-47bb-0310-9956-ffa450edef68
2020-01-03 13:11:41 +00:00
Dominik Stadler
9f35db4f51
Bug 63940: Avoid endless loop/out of memory on string-replace with empty search string
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872145 13f79535-47bb-0310-9956-ffa450edef68
2019-12-31 16:52:55 +00:00
Dominik Stadler
821e164041
Bug 63700: Make D* functions work with numeric result column
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872136 13f79535-47bb-0310-9956-ffa450edef68
2019-12-31 10:41:43 +00:00
Dominik Stadler
bc0dcdf369
Fix bug 63984: AND / OR should treat missing parameters as FALSE
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872125 13f79535-47bb-0310-9956-ffa450edef68
2019-12-30 19:57:11 +00:00
PJ Fanning
4c034f0e20
[github-164] Fix Bug in XSSFTable.setCellReferences when table is single cell. Thanks to Travis Russell. This closes #164
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871185 13f79535-47bb-0310-9956-ffa450edef68
2019-12-11 20:07:25 +00:00
Dominik Stadler
00a2a87097
XWPF: Insert newlines between multiple paragraphs in comments.
...
Closes PR #161 on GitHub
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868978 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:36 +00:00
PJ Fanning
e81a348864
add null check for XSLFShape
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868318 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 07:30:56 +00:00
PJ Fanning
06f28db213
Bug 63768: Adjust handling of SchemaFactory
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867484 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 18:33:37 +00:00
Dominik Stadler
2f1da7bc43
Adjust reproducer test-case for bug 59322 to not print to stdout and close resources
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866186 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 05:15:57 +00:00
Dominik Stadler
be52865b38
Fix bug #61490 , for some tables in documents, we should not remove the last cell
...
Check the expected number of cells to see if the last cell should be removed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866055 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 05:16:05 +00:00
PJ Fanning
f74a8f9abb
[github-149] improve MAPIMessage.guess7BitEncoding, improve MAPIMessage.getHtmlBody. Thanks to Dominik Hölzl. This closes #149
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860043 13f79535-47bb-0310-9956-ffa450edef68
2019-05-26 09:43:59 +00:00
Andreas Beeker
ea0e01acc1
Bug 60656 - EMF image support in slideshows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858625 13f79535-47bb-0310-9956-ffa450edef68
2019-05-04 23:01:53 +00:00
Andreas Beeker
27399cec83
#54803 - Error opening XLSX after saving with a Drawing using POI
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857671 13f79535-47bb-0310-9956-ffa450edef68
2019-04-17 06:19:51 +00:00
Tim Allison
a5278ccad9
bug 63327 allow retrieval of wmf data embedded in emf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857136 13f79535-47bb-0310-9956-ffa450edef68
2019-04-08 19:53:21 +00:00
Greg Woolsey
30851e44a6
#63302 Formula evaluation of names with offset or row function is incorrect
...
thanks to John Lincoln White for the patch, including new unit tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856644 13f79535-47bb-0310-9956-ffa450edef68
2019-03-30 18:14:14 +00:00
Greg Woolsey
edd1f4c75e
pre-release maintenance:
...
* add my key to the KEYS file
* update year in NOTICE (first release of 2019)
* remove svn:executable flag from random test data files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855799 13f79535-47bb-0310-9956-ffa450edef68
2019-03-19 00:35:09 +00:00
Greg Woolsey
82f9c29258
#60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variations
...
The function still doesn't deal with auto-filtering, but it now handles variations that should skip hidden rows.
Taught the evaluation framework to know about hidden rows similar to what was already there for skipping subtotals within subtotal ranges.
Added unit test cases.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855789 13f79535-47bb-0310-9956-ffa450edef68
2019-03-18 19:09:11 +00:00
Yegor Kozlov
6ef332b48e
Bug 61472: Convert date/time strings to numbers when evaluating formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855662 13f79535-47bb-0310-9956-ffa450edef68
2019-03-16 15:41:46 +00:00
Dominik Stadler
a9b2a8b2bd
Bug 63200: Avoid NullPointerException in XSLFShape.selectPaint() and check some more in integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854639 13f79535-47bb-0310-9956-ffa450edef68
2019-03-02 12:28:19 +00:00
Yegor Kozlov
c438465b08
Bug 62980: Make D* functions ignore case in headings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853268 13f79535-47bb-0310-9956-ffa450edef68
2019-02-09 13:00:09 +00:00
Dominik Stadler
c376d662f9
Bug 60405: Add initial support for cetab functions so some macros can be
...
parsed
Add some function-definitions for Excel 4 Macros and missing functions
found in regression tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852277 13f79535-47bb-0310-9956-ffa450edef68
2019-01-27 09:57:39 +00:00
Yegor Kozlov
698d8eb006
follow-up to Bug 62904. More tests and improved evaluation of IF in array mode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851263 13f79535-47bb-0310-9956-ffa450edef68
2019-01-14 14:48:21 +00:00
Dominik Stadler
88b9e48287
Add reproducer for bug 60355
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851208 13f79535-47bb-0310-9956-ffa450edef68
2019-01-13 17:13:57 +00:00
Yegor Kozlov
0cdc0ee985
Bug 63054: updated formulas in test spreadsheet to keep build happy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850772 13f79535-47bb-0310-9956-ffa450edef68
2019-01-08 16:36:34 +00:00
Yegor Kozlov
b85437ee88
Bug 63054: improved evaluation of array formulas with error in arguments
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850742 13f79535-47bb-0310-9956-ffa450edef68
2019-01-08 12:54:39 +00:00
Yegor Kozlov
81033fbad0
Bug 62904: Support array arguments in IF and logical IS*** functions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850646 13f79535-47bb-0310-9956-ffa450edef68
2019-01-07 14:34:19 +00:00
Dominik Stadler
85d6f81076
Bug 60460: Handle null workbook or sheet names and emit #REF as Excel does
...
instead of throwing NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850008 13f79535-47bb-0310-9956-ffa450edef68
2018-12-30 22:44:40 +00:00
Andreas Beeker
c039da1b94
#63028 - Provide font embedding for slideshows
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849898 13f79535-47bb-0310-9956-ffa450edef68
2018-12-28 23:43:31 +00:00
Dominik Stadler
3c99c70acf
Add test which verifies that bug 61605 is already fixed
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849878 13f79535-47bb-0310-9956-ffa450edef68
2018-12-28 19:52:46 +00:00
Dominik Stadler
825418d520
Adjust test to not require src/documentation to be available
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849837 13f79535-47bb-0310-9956-ffa450edef68
2018-12-28 11:17:52 +00:00
Dominik Stadler
d3dc9b0338
Bug 62629: Allow to handle files with invalid content types for pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849814 13f79535-47bb-0310-9956-ffa450edef68
2018-12-27 20:51:48 +00:00
Andreas Beeker
6c5a2de640
#62886 - Regression extracting text from corrupted docx files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849252 13f79535-47bb-0310-9956-ffa450edef68
2018-12-18 23:55:58 +00:00
Andreas Beeker
17ce79b69c
#63011 - Multiple digital signature in excel file broke first signature
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848974 13f79535-47bb-0310-9956-ffa450edef68
2018-12-15 00:51:10 +00:00
Andreas Beeker
dc3c437d14
#62953 - Rendering of FreeformShapes with formula fails
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848492 13f79535-47bb-0310-9956-ffa450edef68
2018-12-09 01:06:15 +00:00
Andreas Beeker
32375d0f44
Fix exception for old powerpoint documents without the usual stream name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847487 13f79535-47bb-0310-9956-ffa450edef68
2018-11-26 20:54:43 +00:00
Andreas Beeker
aad955d3bf
Fix exception for old powerpoint documents without the usual stream name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847442 13f79535-47bb-0310-9956-ffa450edef68
2018-11-25 23:01:54 +00:00
Andreas Beeker
d2cf03d353
#62949 - SlideShow rendering - keyframe fractions must be increasing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847428 13f79535-47bb-0310-9956-ffa450edef68
2018-11-25 19:25:35 +00:00
Tim Allison
8e427c1806
bug 60316 -- skip the glossary document, not the template document.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847263 13f79535-47bb-0310-9956-ffa450edef68
2018-11-23 13:32:22 +00:00
PJ Fanning
96308eb512
[bug-62929] add null check for blip fill. Thanks to Mate Borcsok
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847004 13f79535-47bb-0310-9956-ffa450edef68
2018-11-20 14:15:14 +00:00
Yegor Kozlov
9aabade3f0
Bug 62836: Implementation of Excel TREND function
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845586 13f79535-47bb-0310-9956-ffa450edef68
2018-11-02 13:34:28 +00:00
Tim Allison
341f456ef7
bug 60316 -- until we can implement it properly, gracefully skip the glossary document in XWPF.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845517 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01 21:14:03 +00:00
Tim Allison
5ecbaf5563
bug 62625 -- add special handling for REFERENCE_NAME record that may only
...
contain an ascii string, against the spec in VBAMacroReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845238 13f79535-47bb-0310-9956-ffa450edef68
2018-10-30 13:25:20 +00:00
Tim Allison
b5653e8829
bug 62624 -- fix npe by adding processing of module name mapping in VBAMacroReader
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845138 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 15:48:44 +00:00
Tim Allison
af9142e4b7
bug 62859 -- fix two potential NPEs when initializing XWPFSDTContent
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844920 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 19:06:18 +00:00
Greg Woolsey
6b433ae8b3
#62834 FormulaEvaluator.evaluateInCell() throws Exception
...
added cell type = formula check when looping through the shared formula range, to ignore any non-formula cells.
Also refactored a bit to enable passing in the evaluation context, as getCellFormula() uses it behind the scenes when evaluating a shared formula cell (has to shift the formula references based on the master cell). Review of these changes is welcome, as always.
Checked all other code referencing the "SHARED" enum, and didn't see anything else that dealt with formula cell values and thus would need to notice non-formula cells.
Added unit test based on the failing file from Bugzilla. Test failed until the fixed code was in place.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844295 13f79535-47bb-0310-9956-ffa450edef68
2018-10-19 01:11:47 +00:00
Tim Allison
870c1b2cf5
62815 -- some numeric values not correctly extracted from xlsb
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1843553 13f79535-47bb-0310-9956-ffa450edef68
2018-10-11 14:14:07 +00:00
Alain Béarez
5199f75fe3
extract valuable code from 54470 submitted patch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842548 13f79535-47bb-0310-9956-ffa450edef68
2018-10-01 19:27:32 +00:00
PJ Fanning
43c57c26c2
[bug-62736] Relations on XSLFPictureShape are removed unconditionally. Thanks to Mate Borcsok
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842055 13f79535-47bb-0310-9956-ffa450edef68
2018-09-26 21:42:21 +00:00
Tim Allison
9ae7bdd2cd
bug 62591 -- revert to ignoring place holders even if they contain metroblobs in ppt
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1837742 13f79535-47bb-0310-9956-ffa450edef68
2018-08-09 15:50:34 +00:00