]> source.dussan.org Git - poi.git/log
poi.git
9 years agoOne more try to find out why autosize fails on the freebsd CI machine
Dominik Stadler [Fri, 17 Jul 2015 08:42:10 +0000 (08:42 +0000)]
One more try to find out why autosize fails on the freebsd CI machine

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

9 years agoStart on XSSF CF Iconset for #58130
Nick Burch [Fri, 17 Jul 2015 02:55:22 +0000 (02:55 +0000)]
Start on XSSF CF Iconset for #58130

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

9 years agoXSSF CF thresholds
Nick Burch [Fri, 17 Jul 2015 02:41:20 +0000 (02:41 +0000)]
XSSF CF thresholds

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

9 years agoFix inconsistent indents/whitespace
Nick Burch [Fri, 17 Jul 2015 01:22:39 +0000 (01:22 +0000)]
Fix inconsistent indents/whitespace

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

9 years ago#58130 more progress towards supporting other CF types
Nick Burch [Fri, 17 Jul 2015 01:20:20 +0000 (01:20 +0000)]
#58130 more progress towards supporting other CF types

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

9 years agoUpdate objects / method signatures for the new CF Thresholds, to better match what...
Nick Burch [Thu, 16 Jul 2015 21:23:54 +0000 (21:23 +0000)]
Update objects / method signatures for the new CF Thresholds, to better match what the other CF bits expose where

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

9 years agoStart on conditional formatting thresholds
Nick Burch [Thu, 16 Jul 2015 19:34:06 +0000 (19:34 +0000)]
Start on conditional formatting thresholds

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

9 years ago* Some more checks as test still fails on freebsd CI machine
Dominik Stadler [Thu, 16 Jul 2015 14:17:13 +0000 (14:17 +0000)]
* Some more checks as test still fails on freebsd CI machine

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

9 years ago* Make on unit test not fail if Fonts are not available on the machine
Dominik Stadler [Thu, 16 Jul 2015 09:06:47 +0000 (09:06 +0000)]
* Make on unit test not fail if Fonts are not available on the machine
* Refactor SheetUtil a bit to reduce code-duplication, adjust JavaDoc for -1 return values
* Add method to check if we can compute text-width
* Add unit-tests which verify some more of SheetUtil

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

9 years agoFixup printing record name in case of unknown sid
Dominik Stadler [Thu, 16 Jul 2015 03:49:44 +0000 (03:49 +0000)]
Fixup printing record name in case of unknown sid

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

9 years agoMore coverage of class EscherDump
Dominik Stadler [Thu, 16 Jul 2015 03:42:17 +0000 (03:42 +0000)]
More coverage of class EscherDump

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

9 years agoReport which actual record a failing sid represents
Dominik Stadler [Thu, 16 Jul 2015 03:42:11 +0000 (03:42 +0000)]
Report which actual record a failing sid represents

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

9 years agoAdd default cleanup-settings
Dominik Stadler [Thu, 16 Jul 2015 03:42:05 +0000 (03:42 +0000)]
Add default cleanup-settings

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

9 years agoFix some Eclipse warnings and adjust use of Generics, Comments, close()
Dominik Stadler [Thu, 16 Jul 2015 03:41:57 +0000 (03:41 +0000)]
Fix some Eclipse warnings and adjust use of Generics, Comments, close()

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

9 years agounpin externals
Andreas Beeker [Wed, 15 Jul 2015 22:43:18 +0000 (22:43 +0000)]
unpin externals

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

9 years ago3.13-beta1 prepare
Andreas Beeker [Wed, 15 Jul 2015 22:33:23 +0000 (22:33 +0000)]
3.13-beta1 prepare

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

9 years agojavadoc fix
Andreas Beeker [Wed, 15 Jul 2015 22:06:20 +0000 (22:06 +0000)]
javadoc fix

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

9 years agoFurther HSSF support towards CF IconSets #58130
Nick Burch [Wed, 15 Jul 2015 00:04:53 +0000 (00:04 +0000)]
Further HSSF support towards CF IconSets #58130

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

9 years agoStart on high-level HSSF representation of Icon CF #58130
Nick Burch [Tue, 14 Jul 2015 23:44:33 +0000 (23:44 +0000)]
Start on high-level HSSF representation of Icon CF #58130

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

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