Commit Graph

409 Commits

Author SHA1 Message Date
Andrew C. Oliver b8933243ec Now can protect sheets with a password. So everyone may cease whining about it
already :-)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@552425 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 08:10:28 +00:00
Nick Burch 565528df7d Add a new method on HSSFDateUtil of isADateFormat, which will cope with both internal excel date formats, and custom date formats the are for dates (plus test)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548044 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 15:27:23 +00:00
Nick Burch 0943aed6e8 Detect, and report a meaningful error, if we come across an Office 2007 XML document
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@531419 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 10:45:49 +00:00
Yegor Kozlov b538a0a21b testcases for bugs 38266 and 40738
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529197 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:49:47 +00:00
Yegor Kozlov 588f61fa1e applied the patch submitted in Bug 41223: Simple image extraction for HSSFWorkbook
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529196 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:48:20 +00:00
Yegor Kozlov bfc32c3190 fixed bug 41761: NPE when serializing a workbook with empty rows
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520416 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:59:29 +00:00
Yegor Kozlov 8a3e83c0df improved work with cell comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@517261 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 15:43:14 +00:00
Yegor Kozlov d49f3d91a3 changing attributes of existing cell comments is reflected after save
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501875 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 16:14:23 +00:00
Avik Sengupta adb7397d71 testcases for still unfixed bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496739 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 15:52:31 +00:00
Avik Sengupta ef6a48b79e Testcases for bugs. Thanks Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496633 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 09:23:18 +00:00
Mark Emlyn David Thomas 2c47c06087 Add standard licence header for src/testcases directory
Set svn properties where not already set

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:00:17 +00:00
Nick Burch 11adac96b2 Yegor's patch from bug #41242
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:38:54 +00:00
Nick Burch e423cc45ed Comment support from bug 41198, patch from Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:02:22 +00:00
Henri Yandell 2d415f54fa copy2license run on these (after a bit of munging)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489765 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:07:34 +00:00
Henri Yandell 81357fd328 Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:00:02 +00:00
Henri Yandell 094505af85 Applying dos2unix on some of the Java files. The copy2license script isn't picking up the dos line endings. Hopefully not a problem for anyone
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:56:04 +00:00
Henri Yandell fca4623791 Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:18:16 +00:00
Nick Burch b2535a5b58 When sorting the contents of a directory, do so in a way that doesn't upset Excel when it comes to Macros. Correct logic from Bill, and fix+test from Yegor. See bug #39234
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486265 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 18:21:41 +00:00
Nick Burch 3f3a52e12b Support Excel files which contain a WORKBOOK entry, rather than the usual Workbook one. Fixes bug 40840
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480987 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 16:15:55 +00:00
Jason Height 5e3eb6beff Just removed a bunch of unused imports etc. Reduces eclipse warnings
Jason

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 07:47:00 +00:00
Amol S. Deshmukh 8a926c028c test case that checks to see if a case of MissingArgsPtg in the formula string is handled correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434425 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 16:41:12 +00:00
Amol S. Deshmukh c17abf116c bugfix 38396: Exponential numbers are now handled by the formula parser
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430132 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:03:36 +00:00
Jason Height 6c2dba2f3d Made a bit of a meal out of the Shared formula patch, some of our test cases failed. Guess that is a good thing. Now working.
Committed patch provided in Bug 40024. Avik, sorry bet you to it.

Committed a patch to Bug 13249. HSSF will now raise an exception if a name is provided that is case-insensitive match to an existing name. In addition the getNameIndex now performs a case-insensitive search. This now matches excel behaviour.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@426082 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 14:15:11 +00:00
Nick Burch e3ba92ab99 On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414851 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:27:24 +00:00
Nick Burch 09d91e749f On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414848 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:21:30 +00:00
Glen Stampoultzis 6f7d2e3b76 Updated to support lines for the EscherGraphics2d draw() call.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@396821 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 09:36:39 +00:00
Shawn Laubach aab09332e7 Added the ability to set the default style for an individual column in a sheet.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371080 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:18 +00:00
Jason Height 84e47bd7bb Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functionality. No means to modify (yet!))
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 05:40:07 +00:00
Jason Height 1d00be095e BUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added testcase.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369729 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 09:08:23 +00:00
Jason Height 8e822e3baf Multiple clone of same sheet now generates unique sheet name BUG 37416 fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@366110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:29:36 +00:00
Jason Height b57336834b Fixes to Unicode support. Believe that most unicode issues are now fixed. Bug 37622 & Bug 22873 squashed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365609 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:41:36 +00:00
Amol S. Deshmukh f3df5ee67f Fix for Bug#28328
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353773 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 16:26:20 +00:00
Jason Height 4292bb157a Why is there always one file that gets missed??
Minor fix to correct testcase asd a result of Unicode patch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353771 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:13:15 +00:00
Jason Height 07f76e4bb6 Major landing of the following changes:
1) Full implementation of UnicodeStrings
2) exposure of RichText strings to the usermodel
3) Modification to SSTRecord to support duplicates. Fixes a few bugs
4) RecordInputStream *smart* ?? handeling of continue records!

Phew This took 6 months on and off to put together. Just happy to commit somethig

Report any problems!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353769 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:06:44 +00:00
Amol S. Deshmukh 165eef331f [35799] Added testXFIndexForColumn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353754 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:51 +00:00
Amol S. Deshmukh 12b80bc7a5 added failing tests for singleCell NamedRange creation (testNamedCell_1 & testNamedCell_2).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353747 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:11:48 +00:00
Avik Sengupta ca99a60e44 bug 34575 fixed, thanks Amol
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353744 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 16:01:06 +00:00
Avik Sengupta 26c9e21e3b bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353705 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:10:47 +00:00
Avik Sengupta 99fbaec5a3 bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353704 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:03:19 +00:00
Avik Sengupta 1ae710d3db new testcase
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353703 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 18:41:19 +00:00
Avik Sengupta 3b3947a710 toString() method for HSSFCell to return
a simple string representation of the cell,
irrespective of its type.
Originally submitted by Wes Gilster as bug 19294
made some modifications, added testcase.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353693 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 09:13:14 +00:00
Avik Sengupta 7b0a3977f4 testcase for bug 34775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353692 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 15:13:04 +00:00
Avik Sengupta 668c108b82 Fix for bug 27272 : Unknown Ptg 3C and 3D
by Patrick Luby, thanks!
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:56:45 +00:00
Avik Sengupta 07c855ff2f prevent output scrolling, pls revert if needed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353690 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:33:35 +00:00
Avik Sengupta 4290d1b472 unary plus: patch by Amol Deshmukh, test added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353685 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 18:58:57 +00:00
Avik Sengupta 8f5847ee81 user API to set window pane when wb is opened
by Amol Deshmukh and Li Jianming


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353676 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:25:26 +00:00
Avik Sengupta 12c6d4bb82 testcase for 33082, which is now fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353668 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 14:34:39 +00:00
Avik Sengupta f6341e8422 unfixed testcases, so you know what to fix :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353666 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 13:23:34 +00:00
Glen Stampoultzis bac3426bd4 Moving to head
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353664 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 22:05:37 +00:00
Glen Stampoultzis b94ddd0e9f Added image support for POI. See the quick guide for details. Sponsored through superlink software.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353660 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 11:26:18 +00:00
Avik Sengupta 8b1e706aeb bug 27852 - patch by Brice Copy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353658 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 14:31:00 +00:00
Avik Sengupta 3ba0ccc9a8 additional tests for DBCS sheet name
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353655 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:44:06 +00:00
Avik Sengupta 7d1fe480a5 PR:17039 - DBCS chars in header and footer
Obtained from: kamoshida.toshiaki@future.co.jp
Tweaked and tests added by self.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353654 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:35:38 +00:00
Avik Sengupta b05501d7b9 corrected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353653 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:33:02 +00:00
Avik Sengupta 5bb531e555 testcase for bug 34021 , already worked fine
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353647 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:12:14 +00:00
Avik Sengupta 3d73fac22e new tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353646 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:04:42 +00:00
Avik Sengupta 53343d3f99 test file for bug 32822
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353642 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:14:28 +00:00
Avik Sengupta f931d7cf7e bug 33160, original patch and testcase supplied by Amol Deshmukh.. thanks. This version slightly more generic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353641 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:01:29 +00:00
Avik Sengupta 9788ef65f0 fix for not being able to name a sheet as Sheet1, with some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353639 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 07:43:22 +00:00
Glen Stampoultzis 96fe7f273b Fixed bugzilla references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353620 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 07:06:45 +00:00
Jason Height dd6a35b1bd Implemented row bounds. Will raise an IndexOutOfBoundsException if the excel limits are not observerd.
Interestingly column bounds were previouly implemented, but row bounds were not.

Anyhow this fixes bug 15102


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353608 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 03:38:20 +00:00
Jason Height 6ab6d0a295 PR: 19974
Obtained from:
Submitted by:
Reviewed by:

This patch fixes writeing VERY long > 8228 character strings. Existing SST serialisation had problem with calculation and writing to multiple continue records.

Also fixed some test case errors introduced by my last patch for DBCell and IndexRecords


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353607 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 03:37:56 +00:00
Glen Stampoultzis dbacc2b8f3 Centralized creation of temp files and made the default operation to delete on exit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 05:49:01 +00:00
Jason Height 49e1a3d294 Changes for my own selfish benefit of being able to run tests through jbuilder. Still works as expected elsewhere, dont know why it previously didnt work in JB
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353604 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 03:50:44 +00:00
Glen Stampoultzis 1823459ab0 Bugzilla Bug 27929 - finally :-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353599 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:26:30 +00:00
Glen Stampoultzis c6f3b914e5 Bugzilla Bug 30951
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353598 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:06:54 +00:00
Glen Stampoultzis eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Glen Stampoultzis e16b4b948d Some tests were checkin to the wrong source tree
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353550 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 10:55:45 +00:00
Glen Stampoultzis 8ed7b3777f Some fixes to the branch. Lots left to do. Boolean records aren't supported at all. Empty spreadsheets have issues but this is a start on getting things healthy again.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353549 13f79535-47bb-0310-9956-ffa450edef68
2004-04-18 13:02:48 +00:00
Glen Stampoultzis aa76cdd314 This is a much more comprehensive test suite for ValueRecordsAggregate. All these tests need to be passed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353548 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 13:46:40 +00:00
Glen Stampoultzis a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Glen Stampoultzis b1aed8ff13 Moved some tests that were added to the wrong source branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353544 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 12:22:22 +00:00
Glen Stampoultzis d335e740b6 Ported the drawing stuff from the rel_2_branch. Given the effort this took I'm really really wanting to move to subversion.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353542 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 11:45:38 +00:00
Avik Sengupta df53351856 On HEAD, checking in testcase for 25695. But it doesnt work for reason's unknown. And its not this particular issue thats the culprit. getStringValue returns blank..:(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353481 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:12:46 +00:00
Avik Sengupta 425f468924 on head, missed the testcase for the formula parser changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353480 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:11:03 +00:00
Danny Muid 9d2c36fad3 Really clone the merged regions...Thanks to Jason for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353454 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:34:06 +00:00
Danny Muid b552f42f82 The cloned reference for merged cells did not create a new collection,
so deletes cascaded to the original.
Reported by: huri@users.sourceforge.net
PR:  22720


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353452 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:17:41 +00:00
Shawn Laubach be886bc9da Fix supplied for bug 24397 where some compilation got ambiguous classes. Explicitly imports the classes. Patch supplied by Jean-Pierre Paris.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353437 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 19:29:55 +00:00
Avik Sengupta e16e9b24e1 fix for bug 16560. But the testcase in HEAD was already failing, so continues to fail even now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353427 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 18:14:55 +00:00
Avik Sengupta 58623a5194 testcase for bug 18800
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353425 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 17:20:39 +00:00
Avik Sengupta c66f42d340 Testcase for 24215. sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353423 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 16:46:43 +00:00
Avik Sengupta 003c0e8b30 Testcases for bug 19599 - sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353421 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 10:34:46 +00:00
Avik Sengupta 1e07dbc576 More double byte chars testcases. Sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353419 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:57:30 +00:00
Avik Sengupta 6fdf527896 Testcases.. Testcases! for bug 13224 and all double byte read errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353417 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:43:16 +00:00
Avik Sengupta 3c78911f82 fix for 13921, sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353412 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 02:01:21 +00:00
Jason Height dc44a8bd39 Fixed the double byte bugs in SSTDeserializer. Testcases provided in bugs 15556 and 22742 now work.
Patch for the rel 2.0 branch will follow shortly.

PR: 15556, 22742
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353395 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 06:54:00 +00:00
Avik Sengupta fc5ca16d35 testcase for concatenate, sync from branch
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353394 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 16:46:30 +00:00
Avik Sengupta 879f01d7fc Testcase for 15375. Sync from Branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353384 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 15:21:15 +00:00
Avik Sengupta 7a9783f2a0 continuation of prev commit - testcase for 14330. Sync from branch Will fail in HEAD due to other issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353382 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:44:24 +00:00
Avik Sengupta 4c992c4534 tescase for bug 14330, syncing from branch, but testcases dont work in HEAD due to other issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353381 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:42:12 +00:00
Avik Sengupta 33be098d16 testcase for bug 14460
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353379 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:34:10 +00:00
Avik Sengupta dbe4ddf386 Testcase for bug 15353
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353375 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 10:20:33 +00:00
Avik Sengupta 6e31332cd1 testcases for bug 23094
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353370 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 18:47:12 +00:00
Danny Muid 9169b1590c Changed merged region tracking to use object pointers rather than
index pointers so we don't have to make sure the indices are up to date.
 PR: 22922	
 Submitted by:	xuemin@appresso.com (Xuemin Guan)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353344 13f79535-47bb-0310-9956-ffa450edef68
2003-09-06 19:15:53 +00:00
Avik Sengupta 2245df361f Sync to REL_2_BR: HSSFCell.getStringValue now returns the formula result if it is a string.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353327 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:19:41 +00:00
Avik Sengupta e785cbdd46 Syncing to REL_2_BR: Macro functions and related fixes, by Paul Krause bug id:21444
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353326 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:16:57 +00:00
Avik Sengupta a86adc3f6f Add protect record to sheet. Sync from REL_2_BRANCH ..Thanks Rick Berman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353311 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:01:52 +00:00
Shawn Laubach 306976c259 Updates for the display of gridlines, formulas, and such because I forgot to do this when I added it to the release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353305 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 17:21:20 +00:00
Avik Sengupta ed6a27c2be Testcase for bug 13769 .. thanks michael tosdevin
the bug has already been fixed in 2.0pre3


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353279 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 20:00:03 +00:00
Avik Sengupta 8f5f1f96e7 MERGE from REL_2_BRANCH: bug 15228 and related fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353261 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 19:15:16 +00:00
Shawn Laubach df218dd45e Adding changes recently added to release 2. Includes rewrite of margin code, fixes for duplicate DataFormat, and cleanup of files I noticed that was 1 line.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353242 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 13:39:08 +00:00
Shawn Laubach 28d24b7126 Test case to check that the correct header and footer is found (reference bug #21439).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353198 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:18:56 +00:00
Danny Muid 886390a3da When shifting rows, added ability to shift the merged regions entirely
defined in that batch of rows.  If two cells are merged in a row, they
should still be merged after they're shifted.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353169 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:57:58 +00:00
Danny Muid fb6c7e85de Round 2 with removing merged regions. The MergedRecords array would be emptied
when removing all the regions but the merged pointer was still being preserved.
Kill the pointer if the record is removed from the list so things are golden again.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353166 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:04:28 +00:00
Danny Muid 1c2ae742fd When removing one MergedRegion, the record was removed before it was ready,
causing a IndexOutOfBoundsException.  Shifted the remove after the get to fix
this.  TestCase should verify old functionality hasn't been broken.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353164 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 21:59:46 +00:00
Danny Muid dd33a37b2a Fixed support for Cloning SharedFormulas and FormulaAggregates leaving
out other values after it.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353115 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 02:47:44 +00:00
Danny Muid 779e381000 Fixed NameRecord deserialization when additional information (description) was specified
PR: 19862
Submitted by:
     lloydj@us.ibm.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353105 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 18:32:42 +00:00
Danny Muid 929dcf3fd5 Fixes AreaReference when a Sheet name is provided
PR: 19888
Submitted by:
     brett.knights@tanner.com
Test Case Provided by:
     Arne.Clauss@gedas.de


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353104 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 17:53:38 +00:00
Danny Muid 97fcb16032 Made sure all row records for the sheet are aggregated since rows are skipped
if a formula yields a String.
PR: 15062


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353095 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 12:39:08 +00:00
Danny Muid bc5c1ff0b2 Add the new testcase to the testsuite.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353091 13f79535-47bb-0310-9956-ffa450edef68
2003-05-08 14:28:25 +00:00
Danny Muid b0d1df10d3 Patch to support reading in Shared Formulas
1) Added new Record: SharedFormulaRecord that is basically a storage area
2) Enabled ExpPtg to store and serialize data for repeating formulas
3) Updated the aggregates to store the SharedFormulaRecord appropriately


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353090 13f79535-47bb-0310-9956-ffa450edef68
2003-05-08 00:02:03 +00:00
Danny Muid b693562626 FormulaParser patch to address:
1) embedded ifs
2) GreaterEqual, LessEqual, NotEqual
3) Refactored stringliteral detection
BR: 19079
Submitted By: fred at stsci dot edu


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353089 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 03:40:52 +00:00
Avik Sengupta ffe20f3e80 PR 13292, size of FuncPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353088 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 15:37:10 +00:00
Andrew C. Oliver 7374603552 removed non-multiplatform/1.3.x unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353085 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 12:41:37 +00:00
Avik Sengupta b59b8abe8e Addition of GreaterThan and LessThan in formulas (IF Functions)
Originally submitted by Cameron Riley (PR 16392). Thanks.
Added simple tests at high and low level, more complicated cases to be tested
<= and >= probably still wont work!
Had to apply diff by hand, one horrible line at a time (yikes!!)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353081 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 18:22:09 +00:00
Andrew C. Oliver 5b16f75117 line feeds are good
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353074 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 13:00:46 +00:00
Glen Stampoultzis 64967ec532 Changed copyright from 2002 to 2003
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353070 13f79535-47bb-0310-9956-ffa450edef68
2003-04-30 04:39:21 +00:00
Andrew C. Oliver 470fbc4620 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18947
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353065 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 16:39:01 +00:00
Andrew C. Oliver 07912d07d5 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18090
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353056 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 02:58:23 +00:00
Danny Muid 81230699e2 FuncPtg stores 2 bytes of data where AbstractFuncPtg says it is 4 bytes long. Store the other 2 bytes when reading an excel file so that the "Warning: Data may have been lost" prompt is avoided after serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353043 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 04:34:42 +00:00
Danny Muid 247157f3d3 FormulaRecord patch (and testcase) to preserve Excel's NaN representation when dealing with NaN formula value. We currently have NaN support in LittleEndian but the constant for NaN seems to change so we need to preserve the original bits on fill fields. Thanks Glen for your input!
PR: 18114, 18155
Submitted by:	Additional bug report submitted by jsun@teloptica.com (Jerry Sun)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353037 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 19:59:38 +00:00
Avik Sengupta 0fcc9507a7 Add clone() to FormulaRecordAggregate
Original patch supplied by Henning Boeger
Changed to make it deeper clone, added clone to StringRecord in the process
Also added a test.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353033 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 20:01:17 +00:00
Avik Sengupta cd1a9a6452 Further to bug 17491:set sheet order - now made accessible from usermodel, rudimentary testcase added. Testcase to be enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353032 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:26:12 +00:00
Danny Muid 83b4c947da Support for the SUMIF formula and non-alpha string literals
PR:
 Also fixes Bug #17582
Obtained from:
Submitted by:
 Test case for non-alpha string literals provided by ext-jens.riis@nokia.com (Jens Riis)
Reviewed by:
 Thanks Avik for your FormulaParser help


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353028 13f79535-47bb-0310-9956-ffa450edef68
2003-03-17 04:47:58 +00:00
Danny Muid 9dfd573ce7 FormulaParser changes to support IF function(s)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353027 13f79535-47bb-0310-9956-ffa450edef68
2003-03-15 01:57:41 +00:00
Danny Muid 8fca746cb1 Added remove and another PrintArea setting method and documentation update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353025 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:52:37 +00:00
Avik Sengupta 16f6a467bf Fixed bug 17373 - incorrect handling of continue records after unknown records corrupting a template. Patch submitted by Csaba Nagy -- thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353024 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 15:49:04 +00:00
Danny Muid ad2d4ed3eb Print Area Patch
RFE Bug #14089
 Also Includes Name Reference refactoring to support references of the form: Sheet1!$A$1:$B$4 instead of Sheet1.$A$1:$B$4
PR:
 Bug #9632
 Bug #16411
 Bug #16315
 Bug #13775 (1.5 Bug)
Submitted by:
 testMultiNamedRange (TestNamedRange.java) Test Case Submitted by czhang@cambian.com (Chun Zhang)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353021 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 20:41:17 +00:00
Avik Sengupta b390fc6d80 fix for bug 14729 - cant merge more than 1027 times.
fix submitted by tony poppleton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353020 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:56:55 +00:00
Avik Sengupta 163938a466 testcase for changing sheet order
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353019 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:55:36 +00:00
Avik Sengupta e378cb0b2d fixed clone sheet bug. Thanks to:
Alessandro Vernet for a patch thats part of this commit
Toshiaki Kamoshida for a testcase and lots of debugging
Dennis Doubleday & Henning Boeger for reporting the bugs
Jason Height who wrote cloneSheet in the first place.
Sorry it took so long to patch.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353017 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 14:27:43 +00:00
Shawn Laubach 8ca979d116 Fix for bug #15019. NullPointerException in shiftRows. Added the test case and moved the other test case into the file. Put Toshiaki Kamoshida as an author of the test case. Test failed. Added patch. Test worked.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353004 13f79535-47bb-0310-9956-ffa450edef68
2003-02-09 21:12:35 +00:00
Glen Stampoultzis 8d97fa765a Support for freezepanes / split panes / header rows and columns on printouts... see documentation for details.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353002 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 10:29:45 +00:00
Avik Sengupta 30e58e3952 PR: 16145 - tests delete their output files
Submitted by: Brian Sanders


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352988 13f79535-47bb-0310-9956-ffa450edef68
2003-01-26 20:34:39 +00:00
Avik Sengupta 1f65eb415b added new files for custom palette patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352979 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 15:09:15 +00:00
Avik Sengupta 9183c10d33 PR 15743: Add support for custom palettes: Submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352978 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 11:17:57 +00:00
Avik Sengupta 5052940511 PR:15677
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352975 13f79535-47bb-0310-9956-ffa450edef68
2003-01-01 09:24:39 +00:00
Glen Stampoultzis 04e78aae67 Some reformatting only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352965 13f79535-47bb-0310-9956-ffa450edef68
2002-12-26 23:14:09 +00:00
Avik Sengupta babbf9384f PR:15324- styles in formula cells; submitted by Danny Mui
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352961 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:36:05 +00:00
Avik Sengupta edad0e388a PR:15537 - set active cell in sheet; submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352960 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:27:08 +00:00
Rainer Klute 88fd2b81ed Resubmitted test data file with -kb set.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352947 13f79535-47bb-0310-9956-ffa450edef68
2002-12-20 18:29:47 +00:00
Rainer Klute d9fde7aa8c File was checked in without -kb. I will check it back in in a second.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352946 13f79535-47bb-0310-9956-ffa450edef68
2002-12-20 18:23:13 +00:00
Avik Sengupta 737b732f1a PR:15037 - Unit Tests for 1904 date windowing; submitted by Dan Sherman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352937 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 09:02:26 +00:00
Andrew C. Oliver c8a34f8af0 test for ModelFactory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352922 13f79535-47bb-0310-9956-ffa450edef68
2002-11-23 19:00:46 +00:00
Andrew C. Oliver 8351737023 event record factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352913 13f79535-47bb-0310-9956-ffa450edef68
2002-11-11 01:34:01 +00:00
Andrew C. Oliver d90d9ab19a javadoc'd fixed the email address (whoops)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352912 13f79535-47bb-0310-9956-ffa450edef68
2002-11-10 16:46:48 +00:00
Andrew C. Oliver 85f5e2fd89 new testsuite for HSSF
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352911 13f79535-47bb-0310-9956-ffa450edef68
2002-11-10 16:45:17 +00:00
Andrew C. Oliver 9c206deed3 unit test for date formula
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352898 13f79535-47bb-0310-9956-ffa450edef68
2002-10-24 02:14:29 +00:00
Glen Stampoultzis 7cbb071a62 'AI' record support.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352897 13f79535-47bb-0310-9956-ffa450edef68
2002-10-20 06:16:34 +00:00
Andrew C. Oliver 8801e51f7e javadoc'd it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352893 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 20:38:00 +00:00
Andrew C. Oliver 4805961e1a totally needs some javadoc (working on it now) .. This is TestHSSFCell
which I wrote for the upcoming commercial version of POI called SOA Workbook.
This just tests that boolean and error cells are supported.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352891 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 19:45:23 +00:00
Glen Stampoultzis a46e6bdc12 Some changes to record generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352885 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 00:05:55 +00:00
Shawn Laubach 4119cfbcc4 Added ability to shift rows in a sheet.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352881 13f79535-47bb-0310-9956-ffa450edef68
2002-10-07 16:26:24 +00:00
Shawn Laubach 89e9ee6890 Added test case to ensure that user defined formats get written to the file and then read back properly. Helps ensure bugs like http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13248 does not reoccur.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352879 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 20:33:22 +00:00
Andrew C. Oliver 7ee81420f4 Bool formulas http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13078
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352865 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 17:37:47 +00:00
Andrew C. Oliver e8a78447ac http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12349
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352841 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 02:30:43 +00:00
Andrew C. Oliver 32543e4e8c *read only* support for optimized ifs. meaning "if(A1=A3,A1,A2)" and stuff.
This optimized if has the conceptual clarity of a featherweight elephant
carrier used as a pizza topping.  This concludes my therapy session.  I love
this project :-).  Next week I'll try and get write support underway unless
someone beats me to it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352839 13f79535-47bb-0310-9956-ffa450edef68
2002-09-06 03:56:47 +00:00
Andrew C. Oliver a7b2c9fb69 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11721 clone for sheets
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352836 13f79535-47bb-0310-9956-ffa450edef68
2002-09-05 00:26:28 +00:00
Andrew C. Oliver 72965e9a0d Added (test first) test case for if formulas
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352833 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 16:13:48 +00:00
Andrew C. Oliver 0cb31a8d4d http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11010 - great patch by
sergei.... if he'd learn to do diff -u patches instead of the nasty kind I'd be
loving his work alot right now ;-)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352831 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 02:11:16 +00:00
Andrew C. Oliver 147a6b82e6 oops it was ME that forgot to commit the added test data.... I must be flogged with
a wet noodle....  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11068
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352829 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 00:54:48 +00:00
Andrew C. Oliver 9f435bb6e8 custom data formats patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11068
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352825 13f79535-47bb-0310-9956-ffa450edef68
2002-08-15 14:13:34 +00:00
Avik Sengupta 3b6f854e14 writing string formulas now work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352822 13f79535-47bb-0310-9956-ffa450edef68
2002-08-03 18:16:54 +00:00
Glen Stampoultzis 4d7e207efd String record added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352815 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 13:25:46 +00:00
Glen Stampoultzis 54018b5b18 Test case for bound sheet record... it seems okay.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352809 13f79535-47bb-0310-9956-ffa450edef68
2002-07-27 01:45:43 +00:00
Glen Stampoultzis 9102bc3f39 More refactoring of SST
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352777 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 14:18:03 +00:00
Glen Stampoultzis 7076f5c4d8 More testing... you can never have enough... :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352774 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 13:22:50 +00:00
Andrew C. Oliver cb6ef3869f test case for the sheetreferences class
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352770 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:36:07 +00:00
Andrew C. Oliver f69f32a679 moved to o.a.p.h.model package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352769 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:19:41 +00:00
Andrew C. Oliver c83b61e246 moved from o.a.p.h.record.formula package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352768 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 00:18:48 +00:00
Avik Sengupta a6974eddf4 Refactoring for names, and tests. More to follow. Only publicly viewable change is setSheetName in HSSFName is now private, since it was dangerous.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352736 13f79535-47bb-0310-9956-ffa450edef68
2002-07-01 17:29:31 +00:00
Glen Stampoultzis 9a940f370e Somes tests for the record size calculation class... My initial attempt and trying to understand the record size calculation stuff. BTW, I still don't get it. :(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352729 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 13:17:12 +00:00
Avik Sengupta 70c361f9dd better support for sheet functions.... more refactoring after i have written tests for named range. Inclueds a fix for bug 9632
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352725 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 18:05:40 +00:00
Avik Sengupta 3d30c55466 first cut support for sheet references. Writing works fine, reading also works except for bug 9632 .. which means that the formula string retrieved is incorrect. will fix soon
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352723 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 08:35:16 +00:00
Avik Sengupta 1ef8d27a1e fix for bug 9802, we write simple sum ptg, tho we can also read attr ptg. trying to write an attr ptg messes up the class change algo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352687 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 12:40:03 +00:00
Glen Stampoultzis b05947a181 A testcase that I should have added before.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352683 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 09:07:51 +00:00
Glen Stampoultzis 1f61f0058b Split out SSTDeserializer specific classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352682 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:33:44 +00:00
Glen Stampoultzis 8f149403cc Use the new 'sections' feature
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352681 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:24:12 +00:00
Glen Stampoultzis a5259b1fa2 Refinement of test data
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352680 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 08:23:36 +00:00
Avik Sengupta 44fc02cd84 compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352677 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 07:50:29 +00:00
Avik Sengupta 7e29ec9141 not needed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352671 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 21:05:09 +00:00
Avik Sengupta ecc283b69d updated tests without ReferenceUtil
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352669 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:20:41 +00:00
Glen Stampoultzis 5140e0261d Merged from 1.5 (SST fixes).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352665 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 12:48:34 +00:00
Glen Stampoultzis 7b23ccd114 Merged from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352660 13f79535-47bb-0310-9956-ffa450edef68
2002-06-02 07:30:40 +00:00
Avik Sengupta 7077f9e2e4 test for parsing strings, submitted by Werner Froidevaux
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352654 13f79535-47bb-0310-9956-ffa450edef68
2002-05-28 12:41:17 +00:00
Avik Sengupta 2072902e33 Framework to set the class of a token
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352651 13f79535-47bb-0310-9956-ffa450edef68
2002-05-27 21:00:12 +00:00
Avik Sengupta 4b0501381f sorry, license!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352647 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 18:36:40 +00:00
Avik Sengupta 5fef5940be fix for bug 9114, reported and fix pointed by Tal Moshaiov
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352646 13f79535-47bb-0310-9956-ffa450edef68
2002-05-21 18:28:35 +00:00
Andrew C. Oliver f75fb848ba Fixed tests for legend and implemented testresult for bitfields
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352645 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 21:40:59 +00:00
Andrew C. Oliver a743c4248d new test for new graphing record
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352644 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 18:53:18 +00:00
Andrew C. Oliver a108d90329 new Test for plot area record
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352635 13f79535-47bb-0310-9956-ffa450edef68
2002-05-19 15:53:53 +00:00
Andrew C. Oliver 23bcf0f5b9 New object link record (graphing) -- unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352629 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 16:22:55 +00:00
Andrew C. Oliver 70ff48aa8a finally figured out how to get the strings in here to work... Excel has an ENTIRELY different (I think this makes like 3 or 4) to write strings for this record. Many Microsoft sucks at this programming stuff.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352625 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 15:56:21 +00:00
Andrew C. Oliver d2672d5e76 implemented tick record (grphing thing) --
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352617 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 19:06:04 +00:00
Andrew C. Oliver 2dea29ad21 see the src/records/definitions/axis_options_record.xml for the details
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352616 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 17:23:48 +00:00
Andrew C. Oliver b7511eba7a great patch by craig@adaptivetrade.com (Craig Kelley) --
Now rows are interperated properly as ushorts versus shorts  (java ints)


PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352609 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 03:01:11 +00:00
Andrew C. Oliver 324dbe8839 New record for charts and corresponding BIFFViewer and unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352606 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 01:46:11 +00:00
Andrew C. Oliver e475ccfe2c Added SC window magnification...fixed error on res001 that has been bugging me.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352605 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 00:22:33 +00:00
Andrew C. Oliver 15617dc8c9 created unit test for sup book record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352601 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 22:50:22 +00:00
Avik Sengupta 65aa73beb4 committing patches supplied by Matthew McClain for bug 8757. This will handle most cases, since majority formulas expect value class params. Ptgs to be refactored for full functionality
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352600 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:23:24 +00:00