Commit Graph

683 Commits

Author SHA1 Message Date
Shawn Laubach
fd8f48f7d7 Fixed issue where adding builtin types pushed other formats later in the list.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353677 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 20:37:35 +00:00
Avik Sengupta
8f5847ee81 user API to set window pane when wb is opened
by Amol Deshmukh and Li Jianming


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353676 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:25:26 +00:00
Glen Stampoultzis
30f56f14bc Bug 34745 Update ddf.EscherTextboxRecord to be cleaner, and allow setting of new data
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353675 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:40:06 +00:00
Glen Stampoultzis
5c13261c93 Removed some unused initializers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353674 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:39:14 +00:00
Glen Stampoultzis
293cb49fca Keep field 6 intact
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353673 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:38:09 +00:00
Glen Stampoultzis
e88d77492c Indent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353672 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:07:58 +00:00
Glen Stampoultzis
2e3142e65c Patch from Nick. Bug 34744 Fix for ddf.DefaultRecordFactory never creating EscherTextboxRecord
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353671 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:06:06 +00:00
Avik Sengupta
ee35b34b52 refactored
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353665 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 05:26:13 +00:00
Glen Stampoultzis
f12fb6fb9b Moving to head
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353663 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 22:00:12 +00:00
Glen Stampoultzis
045e50de42 Test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353662 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 21:52:54 +00:00
Glen Stampoultzis
b94ddd0e9f Added image support for POI. See the quick guide for details. Sponsored through superlink software.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353660 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 11:26:18 +00:00
Rainer Klute
7cd8cd011c - Added support for the Korean character set MS949. Thanks again to Ralf Terdic <ralf.t@gmx.net>!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353659 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 16:58:55 +00:00
Avik Sengupta
8b1e706aeb bug 27852 - patch by Brice Copy
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353658 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 14:31:00 +00:00
Avik Sengupta
8b20b4a4db bug 34007 - DBCS cell format, patch by Alexander Litvinov
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353657 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 14:04:22 +00:00
Avik Sengupta
150a9d0475 Refactored
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353656 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 14:03:28 +00:00
Avik Sengupta
7d1fe480a5 PR:17039 - DBCS chars in header and footer
Obtained from: kamoshida.toshiaki@future.co.jp
Tweaked and tests added by self.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353654 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:35:38 +00:00
Andrew C. Oliver
3d6a9d6a48 added a main method so we can use it as a quickie utility (been meaning to do that for years)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353651 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 05:44:52 +00:00
Rainer Klute
ba11bd33fc - Added a couple of Macintosh codepage numbers to Java encoding names.
Thanks to Ralf Terdic <ralf.t@gmx.net> for providing them! However, please
  note that neither Ralf nor I were able to test all those mappings. So please post
  a bug if you encounter any problems!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353650 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 14:17:07 +00:00
Shawn Laubach
c0ba718df8 Added underline capability to the header and footer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353648 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 14:56:35 +00:00
Avik Sengupta
f61d9243ed bug 34435 , submitted by Nick Burch. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353645 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 11:16:09 +00:00
Avik Sengupta
04696951f1 remove gratuitous output
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353643 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:43:51 +00:00
Avik Sengupta
f931d7cf7e bug 33160, original patch and testcase supplied by Amol Deshmukh.. thanks. This version slightly more generic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353641 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:01:29 +00:00
Avik Sengupta
9788ef65f0 fix for not being able to name a sheet as Sheet1, with some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353639 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 07:43:22 +00:00
Avik Sengupta
c8bcb1569c Re-fixing bug 25695, testcase now passes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353638 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 13:41:18 +00:00
Rainer Klute
43271e0c5e - Support for variant type VT_R8 added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353637 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 16:33:22 +00:00
Rainer Klute
d25395a486 Bug 34247 fixed. Dictionaries are read with the specified codepage now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353636 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:58:00 +00:00
Avik Sengupta
54dc345f5d corrected doc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353631 13f79535-47bb-0310-9956-ffa450edef68
2005-02-17 05:35:50 +00:00
Rainer Klute
108dc44ab3 - Added support for the MacRoman codepage (10000). Thanks to Mikael Puittinen for the patch!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353630 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 18:35:09 +00:00
Rainer Klute
86cc0f8b98 Javadoc comments fixed so that the JDK 1.5 standard doclet doesn't
stumble over it. Folks, remember that this is HTML code and special
characters like '<', '>' or '&' must be written as entity references.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353628 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 17:17:49 +00:00
Rainer Klute
bf010cfa1b - Ironed out a whole bunch of Javadoc issues. Not that the documentation is any better now, but at least Javadoc complains no longer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353622 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 01:00:53 +00:00
Glen Stampoultzis
96fe7f273b Fixed bugzilla references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353620 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 07:06:45 +00:00
Rainer Klute
14c88d9531 - Links to outdated information deleted.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353614 13f79535-47bb-0310-9956-ffa450edef68
2004-12-29 21:14:39 +00:00
Rainer Klute
c101e83461 - Outdated links to Microsoft documentation removed.
- Link to Microsoft's MSDN library added.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353612 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:20:23 +00:00
Andrew C. Oliver
8f544c6d28 the zero height flag is now exposed via the usermodel -ACO
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353610 13f79535-47bb-0310-9956-ffa450edef68
2004-11-15 22:32:00 +00:00
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
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
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
Avik Sengupta
5aa6917b7c Merge from REL 2 BR:Added read support for unary plus and minus
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353246 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 20:11:27 +00:00
Shawn Laubach
df218dd45e Adding changes recently added to release 2. Includes rewrite of margin code, fixes for duplicate DataFormat, and cleanup of files I noticed that was 1 line.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353242 13f79535-47bb-0310-9956-ffa450edef68
2003-07-25 13:39:08 +00:00
Tetsuya Kitahata
a3c0dfd644 Fixed Weird Line Feed: Submitted by Toshiaki Kamoshida
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353239 13f79535-47bb-0310-9956-ffa450edef68
2003-07-24 16:58:09 +00:00
Andrew C. Oliver
7bf80d6965 comments
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353224 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 15:29:20 +00:00
Andrew C. Oliver
eac9314581 shared formula ***pre-support*** doesn't work yet
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353223 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 14:56:36 +00:00
Andrew C. Oliver
bdea32fe42 Beginnings of the performance-branch merge.
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353222 13f79535-47bb-0310-9956-ffa450edef68
2003-07-19 02:48:17 +00:00
Andrew C. Oliver
cd3ac5e91f DoubleList for new poi-performance changes
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353221 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 17:29:15 +00:00
Glen Stampoultzis
84cc8e8e03 Fixed some problems
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353220 13f79535-47bb-0310-9956-ffa450edef68
2003-07-18 12:20:18 +00:00
Shawn Laubach
4f7b99a548 Added reference in docs on how to get an instance of header/footer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353200 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:21:15 +00:00
Shawn Laubach
976db97d3c Applied the pertinent patch for bug #21439 by Paul Pound to get the header/footer from the sheet and not a chart.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353199 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:20:22 +00:00
Glen Stampoultzis
a3d6a57ec3 Hex reader helper stuff.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353181 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:29:05 +00:00
Glen Stampoultzis
0e07f23fb3 Fixed concurrency problem in HexDump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353179 13f79535-47bb-0310-9956-ffa450edef68
2003-06-30 12:20:55 +00:00
Danny Muid
886390a3da When shifting rows, added ability to shift the merged regions entirely
defined in that batch of rows.  If two cells are merged in a row, they
should still be merged after they're shifted.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353169 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:57:58 +00:00
Danny Muid
92bc16cca1 Fixing future bug when we support continue records for more than xxxx merged
regions.  Fetch the last merged record as the merged pointer if the current
one is killed.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353167 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:13:29 +00:00
Danny Muid
fb6c7e85de Round 2 with removing merged regions. The MergedRecords array would be emptied
when removing all the regions but the merged pointer was still being preserved.
Kill the pointer if the record is removed from the list so things are golden again.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353166 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 23:04:28 +00:00
Danny Muid
1c2ae742fd When removing one MergedRegion, the record was removed before it was ready,
causing a IndexOutOfBoundsException.  Shifted the remove after the get to fix
this.  TestCase should verify old functionality hasn't been broken.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353164 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 21:59:46 +00:00
Andrew C. Oliver
0ff1e673ab Fixed a rather nasty concurrency issue
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353161 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 22:10:54 +00:00
Glen Stampoultzis
3702367b37 Same changes as just went to the branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353160 13f79535-47bb-0310-9956-ffa450edef68
2003-06-26 13:33:47 +00:00
Tetsuya Kitahata
d768c461a6 Fixed line formatting. (2)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353148 13f79535-47bb-0310-9956-ffa450edef68
2003-06-19 13:14:14 +00:00
Tetsuya Kitahata
0efd3c5d47 Fixed line formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353147 13f79535-47bb-0310-9956-ffa450edef68
2003-06-19 13:02:30 +00:00
Glen Stampoultzis
c8cc5be1d7 Missed the license header.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353140 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 13:16:09 +00:00
Glen Stampoultzis
80c47b4471 Fixed line formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353139 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 13:06:34 +00:00
Glen Stampoultzis
6b4cc443c0 Fixing the line endings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353129 13f79535-47bb-0310-9956-ffa450edef68
2003-06-14 05:52:21 +00:00
Danny Muid
dd33a37b2a Fixed support for Cloning SharedFormulas and FormulaAggregates leaving
out other values after it.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353115 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 02:47:44 +00:00
Danny Muid
6ef0113bfa Rolled back to older version and updated Copyright.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353111 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 23:58:44 +00:00
Danny Muid
779e381000 Fixed NameRecord deserialization when additional information (description) was specified
PR: 19862
Submitted by:
     lloydj@us.ibm.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353105 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 18:32:42 +00:00
Danny Muid
929dcf3fd5 Fixes AreaReference when a Sheet name is provided
PR: 19888
Submitted by:
     brett.knights@tanner.com
Test Case Provided by:
     Arne.Clauss@gedas.de


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353104 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 17:53:38 +00:00
Shawn Laubach
7b6ec9633e Added ability to copy row height during shift. Also gave the ability to reset the row height on a shift for the original rows.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353100 13f79535-47bb-0310-9956-ffa450edef68
2003-05-16 16:30:46 +00:00
Danny Muid
97fcb16032 Made sure all row records for the sheet are aggregated since rows are skipped
if a formula yields a String.
PR: 15062


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353095 13f79535-47bb-0310-9956-ffa450edef68
2003-05-09 12:39:08 +00:00
Danny Muid
b0d1df10d3 Patch to support reading in Shared Formulas
1) Added new Record: SharedFormulaRecord that is basically a storage area
2) Enabled ExpPtg to store and serialize data for repeating formulas
3) Updated the aggregates to store the SharedFormulaRecord appropriately


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353090 13f79535-47bb-0310-9956-ffa450edef68
2003-05-08 00:02:03 +00:00
Danny Muid
b693562626 FormulaParser patch to address:
1) embedded ifs
2) GreaterEqual, LessEqual, NotEqual
3) Refactored stringliteral detection
BR: 19079
Submitted By: fred at stsci dot edu


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353089 13f79535-47bb-0310-9956-ffa450edef68
2003-05-07 03:40:52 +00:00
Avik Sengupta
a1d25d01ea PR 13292, size of FuncPtg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353087 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 15:30:52 +00:00
Avik Sengupta
e35ddf54f2 Aid debugging unknown ptgs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353086 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 13:08:08 +00:00
Avik Sengupta
3bcff21ed0 recognise new ptg
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353084 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 15:35:39 +00:00
Avik Sengupta
c730219f01 new ptg, doesnt do much yet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353083 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 15:33:14 +00:00
Avik Sengupta
17bb993bcd PR 19634: Compiling error in jdk1.3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353082 13f79535-47bb-0310-9956-ffa450edef68
2003-05-05 06:20:28 +00:00
Avik Sengupta
b59b8abe8e Addition of GreaterThan and LessThan in formulas (IF Functions)
Originally submitted by Cameron Riley (PR 16392). Thanks.
Added simple tests at high and low level, more complicated cases to be tested
<= and >= probably still wont work!
Had to apply diff by hand, one horrible line at a time (yikes!!)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353081 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 18:22:09 +00:00
Andrew C. Oliver
444672612e Font names can sometimes be null.. We now accept this and can move on with
our serialization life.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353078 13f79535-47bb-0310-9956-ffa450edef68
2003-05-02 14:30:03 +00:00
Andrew C. Oliver
8d9e0a821d fixed. Check for reversions.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353073 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:50:06 +00:00
Andrew C. Oliver
09cd3214c7 unf*ck'd it. please stop doing this
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353072 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:43:37 +00:00
Andrew C. Oliver
424ff3e132 unf*cking it...whoever is doing this please stop
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353071 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 12:40:37 +00:00
Glen Stampoultzis
64967ec532 Changed copyright from 2002 to 2003
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353070 13f79535-47bb-0310-9956-ffa450edef68
2003-04-30 04:39:21 +00:00
Andrew C. Oliver
2dafc6e092 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18947
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353064 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 16:29:43 +00:00
Andrew C. Oliver
07912d07d5 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18090
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353056 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 02:58:23 +00:00
Danny Muid
81230699e2 FuncPtg stores 2 bytes of data where AbstractFuncPtg says it is 4 bytes long. Store the other 2 bytes when reading an excel file so that the "Warning: Data may have been lost" prompt is avoided after serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353043 13f79535-47bb-0310-9956-ffa450edef68
2003-04-08 04:34:42 +00:00
Danny Muid
247157f3d3 FormulaRecord patch (and testcase) to preserve Excel's NaN representation when dealing with NaN formula value. We currently have NaN support in LittleEndian but the constant for NaN seems to change so we need to preserve the original bits on fill fields. Thanks Glen for your input!
PR: 18114, 18155
Submitted by:	Additional bug report submitted by jsun@teloptica.com (Jerry Sun)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353037 13f79535-47bb-0310-9956-ffa450edef68
2003-03-29 19:59:38 +00:00
Danny Muid
978c2a0491 Fixed spelling of UNKNOWN for unknown record types and fixed accordingly in the chart documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353036 13f79535-47bb-0310-9956-ffa450edef68
2003-03-27 22:14:48 +00:00
Avik Sengupta
0fcc9507a7 Add clone() to FormulaRecordAggregate
Original patch supplied by Henning Boeger
Changed to make it deeper clone, added clone to StringRecord in the process
Also added a test.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353033 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 20:01:17 +00:00
Avik Sengupta
cd1a9a6452 Further to bug 17491:set sheet order - now made accessible from usermodel, rudimentary testcase added. Testcase to be enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353032 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:26:12 +00:00
Avik Sengupta
57eb57fb35 Added license!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353031 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:10:25 +00:00
Avik Sengupta
3048751bca Added new class per bug 13478, to read data from low performance input streams.
Patch submitted by Jens Gerhard - thanks.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353030 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 18:58:43 +00:00
Danny Muid
83b4c947da Support for the SUMIF formula and non-alpha string literals
PR:
 Also fixes Bug #17582
Obtained from:
Submitted by:
 Test case for non-alpha string literals provided by ext-jens.riis@nokia.com (Jens Riis)
Reviewed by:
 Thanks Avik for your FormulaParser help


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353028 13f79535-47bb-0310-9956-ffa450edef68
2003-03-17 04:47:58 +00:00
Danny Muid
9dfd573ce7 FormulaParser changes to support IF function(s)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353027 13f79535-47bb-0310-9956-ffa450edef68
2003-03-15 01:57:41 +00:00
Danny Muid
8fca746cb1 Added remove and another PrintArea setting method and documentation update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353025 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:52:37 +00:00
Avik Sengupta
16f6a467bf Fixed bug 17373 - incorrect handling of continue records after unknown records corrupting a template. Patch submitted by Csaba Nagy -- thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353024 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 15:49:04 +00:00
Danny Muid
f956d04130 Fixes NullPointerException for getMergedRegionAt(index) when the index provided is valid (ie, 2 merged regions, request for index 0 would return null).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353023 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 21:40:35 +00:00
Danny Muid
ad2d4ed3eb Print Area Patch
RFE Bug #14089
 Also Includes Name Reference refactoring to support references of the form: Sheet1!$A$1:$B$4 instead of Sheet1.$A$1:$B$4
PR:
 Bug #9632
 Bug #16411
 Bug #16315
 Bug #13775 (1.5 Bug)
Submitted by:
 testMultiNamedRange (TestNamedRange.java) Test Case Submitted by czhang@cambian.com (Chun Zhang)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353021 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 20:41:17 +00:00
Avik Sengupta
b390fc6d80 fix for bug 14729 - cant merge more than 1027 times.
fix submitted by tony poppleton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353020 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:56:55 +00:00
Avik Sengupta
09b1b6e909 Support for changing sheet order submitted by Ruel Loehr. Probably should also add access to this in usermodel?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353018 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:32:26 +00:00
Avik Sengupta
e378cb0b2d fixed clone sheet bug. Thanks to:
Alessandro Vernet for a patch thats part of this commit
Toshiaki Kamoshida for a testcase and lots of debugging
Dennis Doubleday & Henning Boeger for reporting the bugs
Jason Height who wrote cloneSheet in the first place.
Sorry it took so long to patch.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353017 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 14:27:43 +00:00