]> source.dussan.org Git - poi.git/log
poi.git
9 years agoHSSF record support for CF Iconset rules
Nick Burch [Tue, 14 Jul 2015 23:30:53 +0000 (23:30 +0000)]
HSSF record support for CF Iconset rules

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691107 13f79535-47bb-0310-9956-ffa450edef68

9 years agoLookup
Nick Burch [Tue, 14 Jul 2015 23:22:53 +0000 (23:22 +0000)]
Lookup

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691104 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore CF Icon descriptions and interfaces #58130
Nick Burch [Tue, 14 Jul 2015 22:43:22 +0000 (22:43 +0000)]
More CF Icon descriptions and interfaces #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691101 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIcon set / multi-state constants #58130
Nick Burch [Tue, 14 Jul 2015 22:33:05 +0000 (22:33 +0000)]
Icon set / multi-state constants #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691100 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore CF colour tests
Nick Burch [Tue, 14 Jul 2015 21:54:28 +0000 (21:54 +0000)]
More CF colour tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691094 13f79535-47bb-0310-9956-ffa450edef68

9 years agoStart checking the CF colours in the unit tests
Nick Burch [Tue, 14 Jul 2015 21:45:23 +0000 (21:45 +0000)]
Start checking the CF colours in the unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691092 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix javadoc warnings
Nick Burch [Tue, 14 Jul 2015 21:22:44 +0000 (21:22 +0000)]
Fix javadoc warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691084 13f79535-47bb-0310-9956-ffa450edef68

9 years ago#58138 CF Border colour getters and setters on Color objects as well as shorts
Nick Burch [Tue, 14 Jul 2015 21:19:13 +0000 (21:19 +0000)]
#58138 CF Border colour getters and setters on Color objects as well as shorts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691083 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSupport unsetting the XSSF CF pattern colours
Nick Burch [Tue, 14 Jul 2015 21:10:14 +0000 (21:10 +0000)]
Support unsetting the XSSF CF pattern colours

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691081 13f79535-47bb-0310-9956-ffa450edef68

9 years ago#58138 Color object support for HSSF CF borders
Nick Burch [Tue, 14 Jul 2015 20:52:07 +0000 (20:52 +0000)]
#58138 Color object support for HSSF CF borders

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691079 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUnset the border formattings when set to 0
Nick Burch [Tue, 14 Jul 2015 20:40:15 +0000 (20:40 +0000)]
Unset the border formattings when set to 0

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691078 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent whitespace/indents
Nick Burch [Tue, 14 Jul 2015 20:37:27 +0000 (20:37 +0000)]
Fix inconsistent whitespace/indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691076 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPrepare HSSFBorderFormatting for #58138
Nick Burch [Tue, 14 Jul 2015 20:36:10 +0000 (20:36 +0000)]
Prepare HSSFBorderFormatting for #58138

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691075 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCleaner code for checking and casting the Color objects
Nick Burch [Tue, 14 Jul 2015 19:29:18 +0000 (19:29 +0000)]
Cleaner code for checking and casting the Color objects

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691064 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent whitespace/formatting
Nick Burch [Tue, 14 Jul 2015 18:35:04 +0000 (18:35 +0000)]
Fix inconsistent whitespace/formatting

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691049 13f79535-47bb-0310-9956-ffa450edef68

9 years agoProvide format-agnostic conditional formatting patter colour getters and setters
Nick Burch [Tue, 14 Jul 2015 18:32:35 +0000 (18:32 +0000)]
Provide format-agnostic conditional formatting patter colour getters and setters

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691047 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent whitespace/formatting
Nick Burch [Tue, 14 Jul 2015 18:14:50 +0000 (18:14 +0000)]
Fix inconsistent whitespace/formatting

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691046 13f79535-47bb-0310-9956-ffa450edef68

9 years agoProvide format-agnostic conditional formatting font colour getter and setter
Nick Burch [Tue, 14 Jul 2015 18:05:28 +0000 (18:05 +0000)]
Provide format-agnostic conditional formatting font colour getter and setter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691045 13f79535-47bb-0310-9956-ffa450edef68

9 years agoConstant for the Office 2010 Conditional Formatting extensions namespace
Nick Burch [Tue, 14 Jul 2015 16:12:40 +0000 (16:12 +0000)]
Constant for the Office 2010 Conditional Formatting extensions namespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691015 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 58133 - Agile encryption - wrong checksum calculation
Andreas Beeker [Mon, 13 Jul 2015 22:49:59 +0000 (22:49 +0000)]
Bug 58133 - Agile encryption - wrong checksum calculation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690837 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCheck more of the complex CF cases from the test files
Nick Burch [Mon, 13 Jul 2015 20:25:52 +0000 (20:25 +0000)]
Check more of the complex CF cases from the test files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690813 13f79535-47bb-0310-9956-ffa450edef68

9 years agoConsistent whitespace/indents
Nick Burch [Mon, 13 Jul 2015 20:12:50 +0000 (20:12 +0000)]
Consistent whitespace/indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690809 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMove some test checks to using ConditionType instead of raw bytes
Nick Burch [Mon, 13 Jul 2015 20:11:47 +0000 (20:11 +0000)]
Move some test checks to using ConditionType instead of raw bytes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690808 13f79535-47bb-0310-9956-ffa450edef68

9 years agoEnable CF2007 test for XLSX too
Nick Burch [Mon, 13 Jul 2015 19:56:09 +0000 (19:56 +0000)]
Enable CF2007 test for XLSX too

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690805 13f79535-47bb-0310-9956-ffa450edef68

9 years agoProvide a Conditional Formatting type class, and deprecate the byte-based types,...
Nick Burch [Mon, 13 Jul 2015 19:47:21 +0000 (19:47 +0000)]
Provide a Conditional Formatting type class, and deprecate the byte-based types, to better work with the wider range

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690803 13f79535-47bb-0310-9956-ffa450edef68

9 years agoHave the HSSF ConditionalFormattingTable look for CF12 records as well, and begin...
Nick Burch [Mon, 13 Jul 2015 18:55:42 +0000 (18:55 +0000)]
Have the HSSF ConditionalFormattingTable look for CF12 records as well, and begin more detailed testing of the high level rules #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690796 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent indents/whitespace
Nick Burch [Mon, 13 Jul 2015 18:40:25 +0000 (18:40 +0000)]
Fix inconsistent indents/whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690794 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBegin updating the HSSF CF code to work on the base types, so it can handle both...
Nick Burch [Mon, 13 Jul 2015 18:38:15 +0000 (18:38 +0000)]
Begin updating the HSSF CF code to work on the base types, so it can handle both CF and CF12

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690793 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore clone support
Nick Burch [Mon, 13 Jul 2015 18:34:50 +0000 (18:34 +0000)]
More clone support

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690791 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent indents
Nick Burch [Mon, 13 Jul 2015 18:28:05 +0000 (18:28 +0000)]
Fix inconsistent indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690790 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix generics, and use base types
Nick Burch [Mon, 13 Jul 2015 18:27:06 +0000 (18:27 +0000)]
Fix generics, and use base types

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690789 13f79535-47bb-0310-9956-ffa450edef68

9 years agoEnable CFRule12 use #58130
Nick Burch [Mon, 13 Jul 2015 18:09:12 +0000 (18:09 +0000)]
Enable CFRule12 use #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690783 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore helpful output if a re-write test fails
Nick Burch [Mon, 13 Jul 2015 18:00:28 +0000 (18:00 +0000)]
More helpful output if a re-write test fails

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690780 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCFRule12 tests
Nick Burch [Mon, 13 Jul 2015 17:54:28 +0000 (17:54 +0000)]
CFRule12 tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690778 13f79535-47bb-0310-9956-ffa450edef68

9 years agoNew future record interface, and more CFRule12 toString output
Nick Burch [Mon, 13 Jul 2015 17:32:05 +0000 (17:32 +0000)]
New future record interface, and more CFRule12 toString output

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690773 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow dumping of null arrays
Nick Burch [Mon, 13 Jul 2015 17:31:04 +0000 (17:31 +0000)]
Allow dumping of null arrays

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690772 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFurther CFRule12 parsing
Nick Burch [Mon, 13 Jul 2015 16:07:39 +0000 (16:07 +0000)]
Further CFRule12 parsing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690742 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCFRule12 can have standard formats too, so push logic to base class #58130
Nick Burch [Mon, 13 Jul 2015 14:51:36 +0000 (14:51 +0000)]
CFRule12 can have standard formats too, so push logic to base class #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690686 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd Sheet.getMergedRegions to obtain them all as a list. Implement this for XSSF...
David North [Mon, 13 Jul 2015 13:00:35 +0000 (13:00 +0000)]
Add Sheet.getMergedRegions to obtain them all as a list. Implement this for XSSF using "deprecated" methods in XMLBeans which allow the operation to be linear in the number of regions rather than n-squared.

Fixes #57893

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690661 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 58113: Fix regression: NullPointerException when setting cell value to null
Dominik Stadler [Mon, 13 Jul 2015 12:17:52 +0000 (12:17 +0000)]
Bug 58113: Fix regression: NullPointerException when setting cell value to null
add unit tests which verifies this for all three SS-implementations

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690652 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPatch from Chris Boyle to add basic support for .xlsm (macro-enabled) workbooks....
David North [Mon, 13 Jul 2015 09:05:17 +0000 (09:05 +0000)]
Patch from Chris Boyle to add basic support for .xlsm (macro-enabled) workbooks. The binary blob containing the VBA macros may be copied from one such workbook into another.

Fixes #58036

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690593 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTemplate IDs from which CFs can be based
Nick Burch [Sun, 12 Jul 2015 21:34:18 +0000 (21:34 +0000)]
Template IDs from which CFs can be based

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690534 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd some more conditional formatted styles in the test workbooks #58130
Nick Burch [Sun, 12 Jul 2015 20:47:32 +0000 (20:47 +0000)]
Add some more conditional formatted styles in the test workbooks #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690530 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRefactor some of the CFRuleRecord logic out to CFRuleBase, and begin work on CFRule12...
Nick Burch [Sun, 12 Jul 2015 20:38:57 +0000 (20:38 +0000)]
Refactor some of the CFRuleRecord logic out to CFRuleBase, and begin work on CFRule12Record #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690527 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix formatting/indents/comments
Nick Burch [Sun, 12 Jul 2015 19:28:27 +0000 (19:28 +0000)]
Fix formatting/indents/comments

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690512 13f79535-47bb-0310-9956-ffa450edef68

9 years agoIntroduce a CFHeaderBase common parent #58130
Nick Burch [Sun, 12 Jul 2015 18:35:33 +0000 (18:35 +0000)]
Introduce a CFHeaderBase common parent #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690503 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpdate FtrHeader and CFHeader clone/create
Nick Burch [Sun, 12 Jul 2015 18:16:13 +0000 (18:16 +0000)]
Update FtrHeader and CFHeader clone/create

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690500 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore whitespace / indent updates
Nick Burch [Sun, 12 Jul 2015 18:06:34 +0000 (18:06 +0000)]
More whitespace / indent updates

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690497 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix indent/whitespace
Nick Burch [Sun, 12 Jul 2015 18:02:50 +0000 (18:02 +0000)]
Fix indent/whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690495 13f79535-47bb-0310-9956-ffa450edef68

9 years agoStart to support CF12 headers for #58130
Nick Burch [Sun, 12 Jul 2015 17:58:27 +0000 (17:58 +0000)]
Start to support CF12 headers for #58130

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690494 13f79535-47bb-0310-9956-ffa450edef68

9 years agoJavadocs, and more record names
Nick Burch [Sun, 12 Jul 2015 17:31:54 +0000 (17:31 +0000)]
Javadocs, and more record names

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690490 13f79535-47bb-0310-9956-ffa450edef68

9 years agoJavadoc and comment updates for CFs
Nick Burch [Sun, 12 Jul 2015 17:06:45 +0000 (17:06 +0000)]
Javadoc and comment updates for CFs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690486 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSome new-style conditional formattings, with gradients and icons
Nick Burch [Sat, 11 Jul 2015 21:26:11 +0000 (21:26 +0000)]
Some new-style conditional formattings, with gradients and icons

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690409 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd another Conditional Formatting example - multiple rules which overlap
Nick Burch [Sat, 11 Jul 2015 20:45:58 +0000 (20:45 +0000)]
Add another Conditional Formatting example - multiple rules which overlap

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690405 13f79535-47bb-0310-9956-ffa450edef68

9 years agoOOXMLPrettyPrint: Populate the standalone-attribute always to avoid differences in...
Dominik Stadler [Wed, 8 Jul 2015 05:57:32 +0000 (05:57 +0000)]
OOXMLPrettyPrint: Populate the standalone-attribute always to avoid differences in the resulting XML files from Excel and POI

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689794 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd some missing close(), reduce output in unit tests and remove some other Eclipse...
Dominik Stadler [Tue, 7 Jul 2015 07:44:11 +0000 (07:44 +0000)]
Add some missing close(), reduce output in unit tests and remove some other Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689590 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow Eclipse to add some additional compiler warning settings added by newer Eclipse...
Dominik Stadler [Tue, 7 Jul 2015 07:39:44 +0000 (07:39 +0000)]
Allow Eclipse to add some additional compiler warning settings added by newer Eclipse versions, mostly Java 8 so not overly useful for us currently anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689589 13f79535-47bb-0310-9956-ffa450edef68

9 years agoWhen writing the mini-stream, set the size of it on the root property #58061
Nick Burch [Mon, 6 Jul 2015 21:39:42 +0000 (21:39 +0000)]
When writing the mini-stream, set the size of it on the root property #58061

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689505 13f79535-47bb-0310-9956-ffa450edef68

9 years agoHelper method to report the number of blocks used in a BAT
Nick Burch [Mon, 6 Jul 2015 21:15:57 +0000 (21:15 +0000)]
Helper method to report the number of blocks used in a BAT

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1689504 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57744: Fix parsing the email submission data when id contains a hyphen
Dominik Stadler [Fri, 3 Jul 2015 11:04:52 +0000 (11:04 +0000)]
Bug 57744: Fix parsing the email submission data when id contains a hyphen

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688998 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57678: Apply patch to better handle years in mail-messages between 1980 and 1999.
Dominik Stadler [Fri, 3 Jul 2015 10:32:53 +0000 (10:32 +0000)]
Bug 57678: Apply patch to better handle years in mail-messages between 1980 and 1999.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688993 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix OPOIFS generics warnings
Nick Burch [Thu, 2 Jul 2015 22:36:45 +0000 (22:36 +0000)]
Fix OPOIFS generics warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688920 13f79535-47bb-0310-9956-ffa450edef68

9 years agoTo better match OPOIFS, pad to the end of a block with 0xFF/-1
Nick Burch [Wed, 1 Jul 2015 00:43:33 +0000 (00:43 +0000)]
To better match OPOIFS, pad to the end of a block with 0xFF/-1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688543 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMore NPOIFS ministream tests
Nick Burch [Tue, 30 Jun 2015 23:50:35 +0000 (23:50 +0000)]
More NPOIFS ministream tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688534 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAllow optional dumping of the raw ministream as well
Nick Burch [Tue, 30 Jun 2015 23:25:41 +0000 (23:25 +0000)]
Allow optional dumping of the raw ministream as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688533 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRevert to state before running unit-tests to not have arbitrary test-changes applied...
Dominik Stadler [Mon, 29 Jun 2015 07:12:27 +0000 (07:12 +0000)]
Revert to state before running unit-tests to not have arbitrary test-changes applied to the sample file.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688095 13f79535-47bb-0310-9956-ffa450edef68

9 years agoSupport optionally dumping the properties stream
Nick Burch [Mon, 29 Jun 2015 06:05:42 +0000 (06:05 +0000)]
Support optionally dumping the properties stream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688091 13f79535-47bb-0310-9956-ffa450edef68

9 years agoOpen file read-only in test to avoid making it dirty during running unit tests
Dominik Stadler [Sun, 28 Jun 2015 19:55:56 +0000 (19:55 +0000)]
Open file read-only in test to avoid making it dirty during running unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688045 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPut the properties table at block 0, with the first BAT at block 1, to hopefully...
Nick Burch [Sun, 28 Jun 2015 18:53:21 +0000 (18:53 +0000)]
Put the properties table at block 0, with the first BAT at block 1, to hopefully solve #58061

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688038 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPrint mini stream information, and property entries
Nick Burch [Sun, 28 Jun 2015 18:51:50 +0000 (18:51 +0000)]
Print mini stream information, and property entries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688037 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix inconsistent whitespace
Nick Burch [Sun, 28 Jun 2015 17:54:20 +0000 (17:54 +0000)]
Fix inconsistent whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688031 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRefactor the small block reader creation, so that POIFSHeaderDumper can dump the...
Nick Burch [Sun, 28 Jun 2015 17:53:24 +0000 (17:53 +0000)]
Refactor the small block reader creation, so that POIFSHeaderDumper can dump the sbat structure too

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1688030 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 54332 - WMF extraction failing in Tika for older PowerPoint Files
Andreas Beeker [Wed, 24 Jun 2015 23:34:03 +0000 (23:34 +0000)]
Bug 54332 - WMF extraction failing in Tika for older PowerPoint Files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687398 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFix test to find the exception-text in all cases
Dominik Stadler [Wed, 24 Jun 2015 08:53:25 +0000 (08:53 +0000)]
Fix test to find the exception-text in all cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687212 13f79535-47bb-0310-9956-ffa450edef68

9 years agoshow full exception stack-trace if zip-bomb detection test fails
Dominik Stadler [Wed, 24 Jun 2015 08:33:06 +0000 (08:33 +0000)]
show full exception stack-trace if zip-bomb detection test fails

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687197 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemoved Java7 calls
Andreas Beeker [Wed, 24 Jun 2015 07:06:01 +0000 (07:06 +0000)]
Removed Java7 calls

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687176 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56865 - Limit number of bytes (by counting them) while opening office docs
Andreas Beeker [Tue, 23 Jun 2015 23:39:07 +0000 (23:39 +0000)]
Bug 56865 - Limit number of bytes (by counting them) while opening office docs
Bug 50090 - 'zip' bomb prevention

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687148 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 58069 - Biff8RC4 xorShort returns wrong value for unsigned shorts
Andreas Beeker [Tue, 23 Jun 2015 23:06:23 +0000 (23:06 +0000)]
Bug 58069 - Biff8RC4 xorShort returns wrong value for unsigned shorts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1687146 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd public key of Dominik Stadler (centic)
Dominik Stadler [Mon, 22 Jun 2015 20:28:18 +0000 (20:28 +0000)]
Add public key of Dominik Stadler (centic)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686929 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 58040 - Log Forging
Andreas Beeker [Sun, 21 Jun 2015 19:06:32 +0000 (19:06 +0000)]
Bug 58040 - Log Forging
and marked POILogger/POILogFactory internal

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686748 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57923: Fix check for tokens in NameRecord.getExternSheetNumber() to avoid ArrayOu...
Dominik Stadler [Sun, 21 Jun 2015 06:56:45 +0000 (06:56 +0000)]
Bug 57923: Fix check for tokens in NameRecord.getExternSheetNumber() to avoid ArrayOutOfBoundsException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686689 13f79535-47bb-0310-9956-ffa450edef68

9 years agofixed javadoc links after imports have been organized
Andreas Beeker [Sat, 20 Jun 2015 15:08:42 +0000 (15:08 +0000)]
fixed javadoc links after imports have been organized

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686636 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56655: Fix Sumifs for cases where the criteria is in error.
Dominik Stadler [Sat, 20 Jun 2015 13:10:28 +0000 (13:10 +0000)]
Bug 56655: Fix Sumifs for cases where the criteria is in error.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686610 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 56420: Fix possible NullPointerException when empty cell is included in Sumif...
Dominik Stadler [Sat, 20 Jun 2015 11:29:14 +0000 (11:29 +0000)]
Bug 56420: Fix possible NullPointerException when empty cell is included in Sumif calculation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686564 13f79535-47bb-0310-9956-ffa450edef68

9 years agoComment out writing to file in c:/temp which breaks the build now
Dominik Stadler [Wed, 17 Jun 2015 20:41:08 +0000 (20:41 +0000)]
Comment out writing to file in c:/temp which breaks the build now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686106 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMove more tests into base class and add a TestSXSSFBugs class to verify some things...
Dominik Stadler [Wed, 17 Jun 2015 14:53:38 +0000 (14:53 +0000)]
Move more tests into base class and add a TestSXSSFBugs class to verify some things that are supported against SXSSFWorkbook as well

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686035 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMake setLandscape(false) and setLeftToRight(false) do what one would expect
Dominik Stadler [Wed, 17 Jun 2015 14:26:31 +0000 (14:26 +0000)]
Make setLandscape(false) and setLeftToRight(false) do what one would expect

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1686019 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd settings for the Eclipse plugin "moreunit"
Dominik Stadler [Wed, 17 Jun 2015 08:31:13 +0000 (08:31 +0000)]
Add settings for the Eclipse plugin "moreunit"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685939 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 57963: Add a task to the integration-test build which verifies that most examples...
Dominik Stadler [Tue, 16 Jun 2015 05:42:36 +0000 (05:42 +0000)]
Bug 57963: Add a task to the integration-test build which verifies that most examples can be built without scratchpad.jar

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685705 13f79535-47bb-0310-9956-ffa450edef68

9 years agoremove some older jacoco jars from the lib-directories to avoid loading outdated...
Dominik Stadler [Tue, 16 Jun 2015 05:32:22 +0000 (05:32 +0000)]
remove some older jacoco jars from the lib-directories to avoid loading outdated 3rd party code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685702 13f79535-47bb-0310-9956-ffa450edef68

9 years agoWhitespace seems to be confusing the license header check; try pasting one off anothe...
David North [Mon, 15 Jun 2015 09:44:12 +0000 (09:44 +0000)]
Whitespace seems to be confusing the license header check; try pasting one off another file.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685523 13f79535-47bb-0310-9956-ffa450edef68

9 years agoOne more file with missing license header
Dominik Stadler [Mon, 15 Jun 2015 09:38:29 +0000 (09:38 +0000)]
One more file with missing license header

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685522 13f79535-47bb-0310-9956-ffa450edef68

9 years agoadd missing license header
Dominik Stadler [Mon, 15 Jun 2015 08:17:08 +0000 (08:17 +0000)]
add missing license header

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685506 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd explicit test for NPE only caught by other tests. Test '97 fallback behaviour...
David North [Fri, 12 Jun 2015 15:29:20 +0000 (15:29 +0000)]
Add explicit test for NPE only caught by other tests. Test '97 fallback behaviour generally.

https://bz.apache.org/bugzilla/show_bug.cgi?id=56328

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685104 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMy own patch to fix #56328
David North [Fri, 12 Jun 2015 15:20:10 +0000 (15:20 +0000)]
My own patch to fix #56328

Add tests for initial patch applied by Nick in r1582892

Fix and test AreaReference#isWholeColumnReference to take account of the prevailing spreadsheet version. Fixing all users of this is a big undertaking, so for now I've left a fallback on the original behaviour for some cases.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1685101 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd my PGP key to the list.
David North [Wed, 3 Jun 2015 13:09:20 +0000 (13:09 +0000)]
Add my PGP key to the list.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1683317 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUse a different arbitrary value for the ID of the comment shape type. This appears...
David North [Wed, 3 Jun 2015 12:50:10 +0000 (12:50 +0000)]
Use a different arbitrary value for the ID of the comment shape type. This appears to prevent Excel >= 2010 from turning POI-written comments into the wrong shape (giant curved arrow).

Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=55410

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1683315 13f79535-47bb-0310-9956-ffa450edef68

9 years agoBug 53109: Correctly handle unicode strings in NameCommentRecord
Dominik Stadler [Mon, 1 Jun 2015 20:49:53 +0000 (20:49 +0000)]
Bug 53109: Correctly handle unicode strings in NameCommentRecord

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682999 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPatch from René Scheibe from bug #57512 - Fix potential NPE in DateUtil for invalid...
Nick Burch [Sun, 31 May 2015 21:18:11 +0000 (21:18 +0000)]
Patch from RenĂ© Scheibe from bug #57512 - Fix potential NPE in DateUtil for invalid dates

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682796 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdd missing license header
Dominik Stadler [Sun, 31 May 2015 21:02:39 +0000 (21:02 +0000)]
Add missing license header

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1682794 13f79535-47bb-0310-9956-ffa450edef68