Commit Graph

499 Commits

Author SHA1 Message Date
Glen Stampoultzis
72f6b11cf6 Turned of deserialization of escher records by default.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353609 13f79535-47bb-0310-9956-ffa450edef68
2004-10-25 10:58:48 +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
f5b0a702a7 Reapplied DBCell etc etc patch to head after it had been clobbered during the move from the rel_2_branch to head.
Refixes bug 9576


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353605 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 03:37:16 +00:00
Jason Height
abef70d455 Fix for Bugzilla Bug 31092
Slightly different to bug proposal, but fixed none the less.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353603 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 03:28:05 +00:00
Glen Stampoultzis
47d6d559c9 Javadoc fixes and cleanup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353600 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:44:52 +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
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