Commit Graph

139 Commits

Author SHA1 Message Date
Jason Height
b55089d607 Added patch (along with fixes to it so that the unit tests work) for bug 37637
Bug 37622 and 30319 should be fixed. Tested that Euro DataFormat now works.

Ill provide a euro symbol/unicode unit test shortly.

Numerous minor changes so eclipse doesnt give so many warnings (incomplete)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365561 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 07:24:01 +00:00
Jason Height
b0f692b92c Performance and memory improvements:
1) using BitFieldFactory
2) HSSFCell doesnt hold onto stale UnicodeString values (gets latest from SST)
3) Default for Encoding in HSSFCell is "do nothing". This will mean duplicate copies of the UnicodeString will not be required, just to change the encoding. The default "string" encoding will be used.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353778 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:48:31 +00:00
Jason Height
a44b51ac5a Applied patch to convert LabelRecords to LabelSSTRecords from bug19053
Modified slightly so that not all of the records are checked.

Jason


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353774 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:40:34 +00:00
Amol S. Deshmukh
f3df5ee67f Fix for Bug#28328
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353773 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 16:26:20 +00:00
Jason Height
5748dfe392 Minor javadoc update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 03:44:59 +00:00
Jason Height
07f76e4bb6 Major landing of the following changes:
1) Full implementation of UnicodeStrings
2) exposure of RichText strings to the usermodel
3) Modification to SSTRecord to support duplicates. Fixes a few bugs
4) RecordInputStream *smart* ?? handeling of continue records!

Phew This took 6 months on and off to put together. Just happy to commit somethig

Report any problems!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353769 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:06:44 +00:00
Amol S. Deshmukh
c49212ff08 [35799] Used getXFIndexForColAt(short ) to get the default ExtendedFormatRecord for the cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353753 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:24 +00:00
Avik Sengupta
0cf194d83c Additional constants for background fill, by Andreas Engel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353698 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 06:18:17 +00:00
Avik Sengupta
3b3947a710 toString() method for HSSFCell to return
a simple string representation of the cell,
irrespective of its type.
Originally submitted by Wes Gilster as bug 19294
made some modifications, added testcase.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353693 13f79535-47bb-0310-9956-ffa450edef68
2005-05-20 09:13:14 +00:00
Rainer Klute
09f4225d74 Javadoc issues resolved.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353682 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 20:38:55 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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