Commit Graph

3235 Commits

Author SHA1 Message Date
Yegor Kozlov 33fc701580 removed extra line that caused compilation error
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696762 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 18:49:08 +00:00
Yegor Kozlov caf9c54e02 patch from bug #45814: Specify RecordType for slide show Handout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696627 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 10:58:39 +00:00
Yegor Kozlov 99325ff527 fixed bug 45815: bit mask values inStyleTextPropAtom are not preserved across read-write
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696623 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 10:45:00 +00:00
Yegor Kozlov cf2c1b3c7e fixed bug #45829: HSSFPicture.getImageDimension() fails when DPI of image is zero
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696622 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 10:28:24 +00:00
Yegor Kozlov eed31d47c1 1. initial support for rich text in xssf"
2. cleaned common ooxml-ole2 interfaces, removed ole2-specific stuff
3. added new examples from the quick guide
4. misc xssf refactoring, tending to use enums intstead of final static constants
5. refactored XSSFFont
6. included test-ooxml and jar-ooxml in the dist target, they are part of release and should be there

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696584 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:42:40 +00:00
Josh Micich 159d3c265e Small tweak to NamePtg and Ref3DPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696501 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 22:35:09 +00:00
Josh Micich 9a127374b3 merged 696109,696111 from trunk - (Added junit for bug 45732)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696492 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 22:08:15 +00:00
Josh Micich a8e8ae739a should have been submitted with 696475 - merged 696075,696084 from trunk - (Fix for bug 45805 - 16-bit signed/unsigned problems in HSSFSheet.getColWidth() etc)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696488 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 22:05:20 +00:00
Nick Burch c5d3b612fb Fix jdk14 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696482 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 22:00:09 +00:00
Josh Micich b3f56e20b2 merged 696075,696084 from trunk - (Fix for bug 45805 - 16-bit signed/unsigned problems in HSSFSheet.getColWidth() etc)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696475 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 21:54:32 +00:00
Josh Micich fe820eed5c merged 696038 from trunk - (Fix for bug 45780 - update area refs during HSSFSheet.shiftRows())
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696453 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 21:23:58 +00:00
Josh Micich 3ed09846f9 Minor fixes to get junits working after r695832. Updates to align with new sample.xlsx, and moved SharedStringSource out of usermodel API.
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696415 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 19:52:55 +00:00
Josh Micich 162d9bd11d minor improvements to junits
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696401 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 19:05:39 +00:00
Yegor Kozlov 4ec0dadc6b include rich text in the unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696377 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 17:39:33 +00:00
Josh Micich 0bee424306 Swapped deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696111 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 00:03:07 +00:00
Josh Micich 4d7fb9d610 Added junit for bug 45732 (fix was earlier, probably in r694631)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 23:59:17 +00:00
Josh Micich 81c228d7f6 Reverting method name change. Taking a risk on breaking binary compatibility for method HSSFSheet. getDefaultColWidth() (follow-on from r696075 / bug 45805)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696084 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:56:36 +00:00
Josh Micich 2741d5a72f Fix for bug 45805 - 16-bit signed/unsigned problems in HSSFSheet.getColWidth() etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696075 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:38:47 +00:00
Josh Micich 02959a5b39 Fix for bug 45780 - update area refs during HSSFSheet.shiftRows()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@696038 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 20:17:30 +00:00
Yegor Kozlov cfab2f7cba unit tests for SharedStringsTable
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695833 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 12:27:05 +00:00
Yegor Kozlov 9ef957f768 Preserve rich text across read-write of SharedStringsTable, also improved performance and removed obsolete ole2-specific stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695832 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 12:25:54 +00:00
Yegor Kozlov 99008de47e utility to dump ooxml files into file system
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695828 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 12:22:55 +00:00
Nick Burch f6e96990ba Merged revisions 695649 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r695649 | nick | 2008-09-15 22:51:14 +0100 (Mon, 15 Sep 2008) | 1 line
  
  Fix inspired by bug #45804 - Update HSMF to handle Outlook 3.0 msg files, which have a different string chunk type
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695651 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 21:57:21 +00:00
Nick Burch 2ee2c75d25 Fix inspired by bug #45804 - Update HSMF to handle Outlook 3.0 msg files, which have a different string chunk type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695649 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 21:51:14 +00:00
Nick Burch febcf92fec Merged revisions 695621 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r695621 | nick | 2008-09-15 21:58:30 +0100 (Mon, 15 Sep 2008) | 1 line
  
  Make MissingCellPolicy javadocs even more explicit about iterators, as people seem not to quite get it
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695625 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 21:04:17 +00:00
Nick Burch 45c9804d3a Make MissingCellPolicy javadocs even more explicit about iterators, as people seem not to quite get it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695621 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 20:58:30 +00:00
Nick Burch 65fc4ee335 Fix bug #45518 - Fix up ColumnHelper to output valid col tags, by making 1 based and 0 based bits clearer, and using the right ones
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695620 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 20:54:49 +00:00
Nick Burch edee0621b4 Merged revisions 695264,695303,695420 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk

........
  r695264 | josh | 2008-09-14 19:55:28 +0100 (Sun, 14 Sep 2008) | 1 line
  
  Fix for bug 45978 - removed eager initialisation of SheetReferences
........
  r695303 | nick | 2008-09-14 23:19:06 +0100 (Sun, 14 Sep 2008) | 1 line
  
  Make a start on exposing the StyleRecord details into HSSFCellStyle, but not fully there yet
........
  r695420 | nick | 2008-09-15 12:02:18 +0100 (Mon, 15 Sep 2008) | 1 line
  
  Finish exposing the name of Named Cell Styles via HSSFCellStyle (normally held on the parent style though)
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695549 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 17:01:46 +00:00
Nick Burch 7bd89bc944 Finish exposing the name of Named Cell Styles via HSSFCellStyle (normally held on the parent style though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695420 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 11:02:18 +00:00
Yegor Kozlov a9623d08af refactored cell align accessors in xssf and added samples based on the quick guide
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@695411 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 10:39:37 +00:00
Nick Burch d514f9b689 Make a start on exposing the StyleRecord details into HSSFCellStyle, but not fully there yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695303 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 22:19:06 +00:00
Josh Micich 866ae7562a Fix for bug 45978 - removed eager initialisation of SheetReferences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695264 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 18:55:28 +00:00
Nick Burch 7a7295d1b9 Fix from bug #45676 - Handle very long cells in the XSSF EventUserModel example
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694949 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 14:00:53 +00:00
Nick Burch 231a27313d Update to match interface
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694948 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:56:04 +00:00
Nick Burch 1255f2e0bc Merged revisions 693591,693639,693658,693939,693941,693947,693990,694050,694065,694153,694534,694615,694619-694620,694631,694643,694877,694881 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r693591 | josh | 2008-09-09 21:25:16 +0100 (Tue, 09 Sep 2008) | 1 line
  
  Added support for parsing array constants in formulas. (Helping investigation for bug 45752)
........
  r693639 | josh | 2008-09-09 23:26:28 +0100 (Tue, 09 Sep 2008) | 1 line
  
  removed debug code accidentally submitted with r693591
........
  r693658 | josh | 2008-09-10 00:46:46 +0100 (Wed, 10 Sep 2008) | 2 lines
  
  Fixed special cases of INDEX function (single columns / single rows, and errors)
........
  r693939 | josh | 2008-09-10 20:23:43 +0100 (Wed, 10 Sep 2008) | 1 line
  
  Fixing error value handling for numeric functions. Refactored hierarchy.
........
  r693941 | josh | 2008-09-10 20:27:24 +0100 (Wed, 10 Sep 2008) | 1 line
  
  (Should have been submitted with 693939) Fixing error value handling for numeric functions. Refactored hierarchy.
........
  r693947 | josh | 2008-09-10 20:33:58 +0100 (Wed, 10 Sep 2008) | 1 line
  
  (Should have been submitted with 693939) Fixing error value handling for numeric functions. Refactored hierarchy.
........
  r693990 | josh | 2008-09-10 22:21:28 +0100 (Wed, 10 Sep 2008) | 1 line
  
  Refactored hierarchy of MultiOperandNumericFunction. Fixed error value handling.  Enabled error value check in TestFormulasFromSpreadsheet
........
  r694050 | josh | 2008-09-10 23:43:30 +0100 (Wed, 10 Sep 2008) | 1 line
  
  Refactored finance functions.
........
  r694065 | josh | 2008-09-11 00:37:22 +0100 (Thu, 11 Sep 2008) | 1 line
  
  fixed special cases of MODE function
........
  r694153 | josh | 2008-09-11 08:16:20 +0100 (Thu, 11 Sep 2008) | 1 line
  
  Refactoring MultiOperandNumericFunction - removed Ref2DEval.
........
  r694534 | josh | 2008-09-12 00:18:50 +0100 (Fri, 12 Sep 2008) | 1 line
  
  Fix for bug 45639 - cleaned up index logic inside ColumnInfoRecordsAggregate
........
  r694615 | josh | 2008-09-12 07:14:07 +0100 (Fri, 12 Sep 2008) | 1 line
  
  small tweak to unit test which was silently creating UnknownPtgs 
........
  r694619 | josh | 2008-09-12 07:58:52 +0100 (Fri, 12 Sep 2008) | 1 line
  
  Removed trailing comma from output of HexDump.toHex()
........
  r694620 | josh | 2008-09-12 08:03:00 +0100 (Fri, 12 Sep 2008) | 1 line
  
  clarification of ArrayPtg size increment
........
  r694631 | josh | 2008-09-12 08:43:20 +0100 (Fri, 12 Sep 2008) | 1 line
  
  Extended support for cached results of formula cells
........
  r694643 | josh | 2008-09-12 09:18:54 +0100 (Fri, 12 Sep 2008) | 2 lines
  
  Made HSSFFormulaEvaluator no longer require initialisation with sheet or row.
........
  r694877 | josh | 2008-09-13 06:14:26 +0100 (Sat, 13 Sep 2008) | 1 line
  
  Refactored TextFunctions. Some minor fixes - test cases added.
........
  r694881 | josh | 2008-09-13 06:43:41 +0100 (Sat, 13 Sep 2008) | 1 line
  
  Added toString methods formatAsString to CellValue. Changed deprecation on CellValue.getRichTextStringValue
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694947 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:48:27 +00:00
Nick Burch a596cc0ecd Replace some model.Sheet references with usermodel.HSSFSheet ones, to make more in keeping with xssf, and make merges easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694946 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:46:45 +00:00
Nick Burch 691a92311e Slight tidy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694939 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 13:30:52 +00:00
Josh Micich 37c905d0d3 Added toString methods formatAsString to CellValue. Changed deprecation on CellValue.getRichTextStringValue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694881 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:43:41 +00:00
Josh Micich af38292505 Refactored TextFunctions. Some minor fixes - test cases added.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694877 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 05:14:26 +00:00
Josh Micich 40ca65f97e Made HSSFFormulaEvaluator no longer require initialisation with sheet or row.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694643 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 08:18:54 +00:00
Josh Micich 21fa41ec23 Extended support for cached results of formula cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694631 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 07:43:20 +00:00
Josh Micich 9b9d63275a clarification of ArrayPtg size increment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694620 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 07:03:00 +00:00
Josh Micich 658057a44a Removed trailing comma from output of HexDump.toHex()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694619 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 06:58:52 +00:00
Josh Micich 430ba374db small tweak to unit test which was silently creating UnknownPtgs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694615 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 06:14:07 +00:00
Josh Micich f736644496 Fix for bug 45639 - cleaned up index logic inside ColumnInfoRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694534 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 23:18:50 +00:00
Yegor Kozlov 6d1b247b69 more ooxml progress from SourseSense developers
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@694288 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 15:11:57 +00:00
Josh Micich 0d06fa008e Refactoring MultiOperandNumericFunction - removed Ref2DEval.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694153 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 07:16:20 +00:00
Josh Micich 9f121af2d0 fixed special cases of MODE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694065 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 23:37:22 +00:00
Josh Micich 4135c76ee5 Refactored finance functions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@694050 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 22:43:30 +00:00
Josh Micich 562360b308 Refactored hierarchy of MultiOperandNumericFunction. Fixed error value handling. Enabled error value check in TestFormulasFromSpreadsheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693990 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:21:28 +00:00