Commit Graph

226 Commits

Author SHA1 Message Date
Avik Sengupta
60ceb1d650 I know POI developers are supposed to like working with binary data,
but going thru source code with a hex editor to figure out characters
isnt my idea of fun :))
Anyways, hpsf.basic.TestWrite now runs, on both UTF-8 and US-ASCII
environments.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353488 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 16:05:02 +00:00
Rainer Klute
38d3097672 Buf fix plus testcasde: Reading property values failed with a StringIndexOutOfBoundsException on empty strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353485 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 14:25:35 +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
Rainer Klute
c93c80a275 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353463 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 21:06:57 +00:00
Rainer Klute
457091b4f9 Oops - small bug fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353462 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 20:31:57 +00:00
Rainer Klute
a914cfc17c HPSF: new testcase to check the new codepage support - plus a fix to correct a bug detected by the testcase. Hey, that's what testcases are good for!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353461 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 20:00:14 +00:00
Rainer Klute
131bb9d0bd HPSF: codepage support added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353460 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 17:46:01 +00:00
Rainer Klute
ffdfb39106 Reformatted
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353458 13f79535-47bb-0310-9956-ffa450edef68
2003-11-24 22:31:01 +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
f52aea647a bug 22195 ClassID support, by Michael Zalewski, sync from branch, pls verify
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353429 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 16:39:05 +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
Rainer Klute
8bd4b39387 - Comparing sections refined: For the dictionary (property 0) only the value (Map) is relevant. The dictionary's codepage (property 1) is disregarded.
- New sample application CopyCompare. I'll turn that into a testcase later.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353362 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 15:43:08 +00:00
Rainer Klute
61f780dba8 These changes introduce the following HPSF enhancements and fixes:
- Section dictionaries (aka custom properties) can be written now.
- Constructor MutableProperty(PropertySet) sets the class ID correctly now.
- Possible invalid section count fixed
- More testcases
- Cosmetics


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353360 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 18:56:35 +00:00
Rainer Klute
5f8f16dee1 Test cases updated/enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353350 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:32:11 +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
Rainer Klute
41fd399f9a Oh, well, let's do it like this.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353342 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:28:56 +00:00
Rainer Klute
69581f5f0d Writing: API enhanced, bugs fixed, performance improvements, code simplifications, two new testcases, more int to long promotions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353341 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:15:24 +00:00
Andrew C. Oliver
cb2c5243b4 JDK 1.3 compilation issue
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353339 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:05:03 +00:00
Rainer Klute
fe4ce38e62 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353333 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:54:23 +00:00
Rainer Klute
bc7fb9a922 Test case added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353329 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 05:50:48 +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
Rainer Klute
aeaa6a0856 Test cases for HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353320 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:11:59 +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
Rainer Klute
e25aebed37 Removed hastily added import statement.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353309 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:31:10 +00:00
Rainer Klute
4bb4a4157f - New test case to read all files from the HPSF data directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353308 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:14:39 +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
Tetsuya Kitahata
e7266f81c9 PR:18846
Obtained from:
Submitted by:	kamoshida.toshiaki@future.co.jp (Toshiaki Kamoshida)
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353304 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 14:07:40 +00:00
Rainer Klute
6881971ed3 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353291 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 20:52:25 +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
90716a5462 Slow input stream patch, bug 13478
Thanks Tony Chao and Chris Nokleberg
Added to HEAD, not fully tested, since HEAD is unstable atm.
 fully tested in Branch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353275 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:35:19 +00:00
Rainer Klute
6f0a5b9da6 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353267 13f79535-47bb-0310-9956-ffa450edef68
2003-07-28 17:01: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