Commit Graph

490 Commits

Author SHA1 Message Date
Glen Stampoultzis
4e92118a61 Bugzilla Bug 30836
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353597 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 01:37:33 +00:00
Rainer Klute
7a9dab45a1 - A section's size is a multiple of 4 now. The Windows explorer seems to be constrained to this requirement in order to display custom properties.
- Custom properties may be written in character encodings different from Unicode.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353596 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:47:09 +00:00
Rainer Klute
18f04f5b5c - Adjusting the variant type moved to Property.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353595 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:46:41 +00:00
Rainer Klute
4827806018 - Two properties are regarded as equal now if one of them is a Variant.VT_LPWSTR and the other is a Variant.VT_LPSTR but their values are equal.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353594 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:45:00 +00:00
Rainer Klute
740965126b - Bug 30954 fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353593 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:42:12 +00:00
Rainer Klute
14a93bb98a - Bug 30953 fixed: Method toString() now delivers all sections instead of the first one multiple times.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353592 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 17:59:49 +00:00
Glen Stampoultzis
550682d2b3 Bugzilla Bug 29976 [PATCH] HSSF hyperlink formula size problem
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353589 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 03:17:56 +00:00
Glen Stampoultzis
51655ccda2 Pier's other HWPF patch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353588 13f79535-47bb-0310-9956-ffa450edef68
2004-08-24 12:54:01 +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
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