Commit Graph

485 Commits

Author SHA1 Message Date
Rainer Klute f94bad29e3 Some code and documentation cleanup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353584 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 15:20:08 +00:00
Rainer Klute fcc01e6a14 Fixed a bug where the logical comparison of two sections returned false only because one of them had property 1 (codepage) and the other had not. Now two sections are equal if their property values are equal disregarding property 1.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353583 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 13:43:35 +00:00
Rainer Klute b46136d63b Fixed a bug where a mutable section's format ID was written in the wrong byte order. Thanks to Bernd Freigang for pointing this out!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353581 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 22:38:52 +00:00
Glen Stampoultzis 7bfd22842b Empty byte array case for HexDump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353579 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 02:59:52 +00:00
Rainer Klute 3073474f48 - Fix: HPSF now ensures that string properties are always written with the type Variant.VT_LPWSTR instead of Variant.VT_LPSTR if the codepage is 1200 (Unicode).
- Code cleanup (propertyCount in MutableSection removed).
- Codepage numbers aggregated in the new class org.apache.poi.hpsf.Constants.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353561 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 16:11:39 +00:00
Glen Stampoultzis 307d2ddc32 Conditional check for logging to avoid creating too many temporary objects.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353559 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 10:18:50 +00:00
Rainer Klute 7b38e0ceb0 - Write properties sorted by property ID now. This hopefully fixes M$ Word compatibility.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353558 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 17:51:51 +00:00
Rainer Klute f1e024a6fc - Support for SJIS encoding added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353554 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 19:37:27 +00:00
Glen Stampoultzis 1235801aba Bugfix: http://issues.apache.org/bugzilla/show_bug.cgi?id=24925
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353553 13f79535-47bb-0310-9956-ffa450edef68
2004-04-29 07:16:36 +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 e85264cdfb Fixed error with HexDump.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353546 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 02:25:15 +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 0f924813a5 Some of the later tweaks ported to the head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353543 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 12:19:08 +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
Said Ryan Ackley 7553198a32 Applied patch from Piers Taylor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353533 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 11:58:35 +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 431e59d5e6 bug 24125 - date formats. sync to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353476 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 09:03:32 +00:00
Avik Sengupta 4e4596d7e6 bug 25457, formula parser fixes by Peter M Murray
sync to head


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353475 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 07:51:34 +00:00
Shawn Laubach 175a51a76e Set constants to be static.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353472 13f79535-47bb-0310-9956-ffa450edef68
2003-12-31 17:02:23 +00:00
Rainer Klute 2d858a367f More Javadoc issues fixed. "ant javadoc" now runs without any complaints. However, this does not mean the the documentation is fine. Please check your documentation!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353467 13f79535-47bb-0310-9956-ffa450edef68
2003-12-06 11:01:19 +00:00
Rainer Klute 1a3fd07f39 Removed parameter types from @param statements - Javadoc knows about the types by itself.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353466 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 21:53:03 +00:00
Rainer Klute 9d0367838a Javadoc references to empty packages are not possible. I removed them.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353465 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 20:29:06 +00:00
Rainer Klute 648f000711 Removed some of the Javadoc errors. Fellow developers, please run "ant javadocs" and see what can be improved!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353464 13f79535-47bb-0310-9956-ffa450edef68
2003-12-04 22:26:01 +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 6385296f3f Superfluous import statements removed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353459 13f79535-47bb-0310-9956-ffa450edef68
2003-11-24 22:31:36 +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
Jason Height bfc44119e9 Fix to 24519. getCustomPalette now works on the head with a newly created workbook
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353441 13f79535-47bb-0310-9956-ffa450edef68
2003-11-09 21:15:51 +00:00
Rainer Klute 71b808249b *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353439 13f79535-47bb-0310-9956-ffa450edef68
2003-11-07 19:24:29 +00:00
Shawn Laubach 582ddbf126 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@353438 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 19:29:55 +00:00
Avik Sengupta 690fc598cc getters and setters for ClassID - addendum to bug 22195, by Kirill Jacobson
sync from branch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353431 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 02:20:51 +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 947f638ba5 bug 17374 - typo in HSSFFont
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353414 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 02:40:31 +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
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