Commit Graph

443 Commits

Author SHA1 Message Date
Rainer Klute
e237bc3edd - Added Robert Flaherty's method getCustomProperties() (refactored)
- Got rid of the PropertySet instance variable sectionCount. Use getSectionCount() instead!
- Minor fixes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353409 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 20:44:24 +00:00
Jason Height
1e9a8a1b07 Dont forget to set the palette pos of the new palette record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353403 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 23:18:03 +00:00
Jason Height
32b0e0b541 Fix on head for custom palettes.
Resolves 16559


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353402 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 22:50:48 +00:00
Jason Height
f7a6f8320c Fix for big strings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353399 13f79535-47bb-0310-9956-ffa450edef68
2003-10-14 07:57:10 +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
Jason Height
16144a5849 Trivial patch to remove unused factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353373 13f79535-47bb-0310-9956-ffa450edef68
2003-09-26 02:34:42 +00:00
Jason Height
227008a3b1 ExtSST serialization pacth to fix corruption when there are a large number of strings in the SST record.
It seems that only 128 buckets can be serialized. This patch addresses this excel oddity.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353371 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 07:18:08 +00:00
Jason Height
5bd3bb8e28 Small fix for when the start row didnt contain any cells.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353364 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 22:11:56 +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
Jason Height
b4ee3b8498 StringRecords are inValueSection.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353358 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 05:21:33 +00:00
Jason Height
f45313717f Based on my trials and Tetsuya's email i have changed this to use getFromUnicodeLE
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353357 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 03:44:56 +00:00
Jason Height
e418e8688e Fixed ExtSST serialization (length not calculated correctly)
Implemented DBCellRecord and IndexRecord serialization

Can now import into MS Access. Cool! Both of the above fixes were required to make this work.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353356 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 02:10:50 +00:00
Jason Height
dc4dd18965 Fixed zero length Label string reading
Fixed incorrect offset for uncompressed unicode


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353355 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 05:34:29 +00:00
Rainer Klute
9d22984e3d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353354 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 15:59:06 +00:00
Rainer Klute
17da836e85 - PropertySetFactory.create(InputStream) no longer throws an UnexpectedPropertySetTypeException.
- HPSFRuntimeException is thrown when the application tries to read a non-integer property with Section.getPropertyIntValue(long).
- Package description updated.
- ClassIDhashCode() implemented.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353349 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:31:28 +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
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
Rainer Klute
495dfa3eb7 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353340 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 20:10:52 +00:00
Glen Stampoultzis
8c4f5bb8a3 Same changes but to the head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353335 13f79535-47bb-0310-9956-ffa450edef68
2003-09-04 03:50:04 +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
3aabec7f22 Property ID handling fixed (long vs. int).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353332 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:53:28 +00:00
Rainer Klute
0f1a7a40b6 New method toInputStream() added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353331 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:51:08 +00:00
Rainer Klute
1a25977197 Bug fixed in writing Unicode strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353328 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 05:45:36 +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
f85ef3c94e HPSF writing capability added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353321 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:13:53 +00:00
Rainer Klute
79f4e5f844 Hex dump with byte positions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353319 13f79535-47bb-0310-9956-ffa450edef68
2003-08-30 09:05:19 +00:00
Rainer Klute
b48213a4a4 Apache license added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353317 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:46:00 +00:00
Rainer Klute
917ef14acc No longer needed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353316 13f79535-47bb-0310-9956-ffa450edef68
2003-08-25 19:42:13 +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
4e855eadb1 - Fixed a bug that occured when reading a section with properties that are not stored with ascending offsets in the property list.
- An error message is printed to standard error now when an unsupported variant type occurs. The data bytes are still available.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353307 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 15:12:22 +00:00
Rainer Klute
f3bb5efecf Added a method for a formatted hex dump.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353306 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 14:49:35 +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
5819887172 Writing preparations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353285 13f79535-47bb-0310-9956-ffa450edef68
2003-08-03 20:16:46 +00:00
Rainer Klute
7e303c76c2 Javadoc, formatting and style improvements
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353280 13f79535-47bb-0310-9956-ffa450edef68
2003-08-02 19:02:28 +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
Avik Sengupta
38bd509f7f bug 19961, John Lloyd
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353274 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 19:01:47 +00:00
Avik Sengupta
42ea21bdca apply to head: bug id 21674: Javadoc changes. Submitted by Eric Ladner. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353273 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 17:55:36 +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
Avik Sengupta
22cd7c3015 MERGE from REL_2_BRANCH: Bug id 21086
incorrect comparison of RGB values in HSSFPalette
  submitted by Tobias Haubner


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353260 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:53:53 +00:00
Avik Sengupta
385be78c67 MERGE from REL_2_BRANCH: Bug id 20696
Workbook.getSheetIndex() needs to ignore case.
  Submitted by Eric Lander


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353259 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:52:24 +00:00
Avik Sengupta
942a0ea929 MERGE from REL_2_BRANCH: Bug id 21027
Patch to fix misc clone issues, submitted by Nial Pemberton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353258 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:49:52 +00:00
Avik Sengupta
96f3f74ba3 MERGE from REL_2_BRANCH: Spell Check
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353257 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:26:34 +00:00
Avik Sengupta
ca39e877a8 MERGE from REL_2_BRANCH: for better diffing during debugging, implement a toString method in Ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353256 13f79535-47bb-0310-9956-ffa450edef68
2003-07-27 18:24:33 +00:00
Rainer Klute
959277eee5 Bug 21775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353251 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 21:17:17 +00:00
Rainer Klute
203b9dcd5e *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353250 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 21:14:39 +00:00
Tetsuya Kitahata
9af1ac7f8a Rewinded: StringUtil.java: Sync to REL_2 BRANCH
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353249 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 08:53:22 +00:00
Rainer Klute
89c66423b4 Bug 21775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353247 13f79535-47bb-0310-9956-ffa450edef68
2003-07-26 06:57:33 +00:00