Commit Graph

558 Commits

Author SHA1 Message Date
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 d462aa3f80 UnicodeString now does not do the peculiar new String(getBytes("Unicode"),"Unicode") when serializing.
I doubt that this will have an effect on the serialization on non UTF8 platforms, but not having one of these to test on i dont know for 100%.

Please if anyone can try this with their code with a non-8bit character set please do and let us know of any issues


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353777 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:41:40 +00:00
Jason Height c51554457f Added a factory implementation for BitFields. Will save a bit of memory.
Patch to change all fields to use the factory comming soon.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353776 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:27:43 +00:00
Jason Height c436edb4d4 Removed the containsLabels variable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:45:55 +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
Amol S. Deshmukh 482c71e61a [35799] getXFIndexForColAt(short ) added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353752 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:11:38 +00:00
Amol S. Deshmukh 60a05ad411 Fix for issue# 35716: additional check added in method hasRange to detect cellrange over a single cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353748 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:12:39 +00:00
Avik Sengupta 3a1dcb4a85 trivial edit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353742 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:19:53 +00:00
Amol S. Deshmukh 88f091b93e fix for issues 34575 and 35527 { fillFields(..) modified }
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353739 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 22:01:13 +00:00
Avik Sengupta 0ac5c6ef94 New formula eval stuff - added functions and refactored, by Amol
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353714 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:34:57 +00:00
Avik Sengupta 26c9e21e3b bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353705 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:10:47 +00:00
Avik Sengupta 99fbaec5a3 bug 35084, reported by Stefano Rocca. fixed in Sheet.java
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353704 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:03:19 +00:00
Avik Sengupta 9c84d7211c check for short EscherClientAnchor Records. Bug 34787 : by Nick Burch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353700 13f79535-47bb-0310-9956-ffa450edef68
2005-05-25 15:37:21 +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
Avik Sengupta 668c108b82 Fix for bug 27272 : Unknown Ptg 3C and 3D
by Patrick Luby, thanks!
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:56:45 +00:00
Avik Sengupta 7b53ba7211 better diagnostic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353689 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 14:32:46 +00:00
Avik Sengupta 4290d1b472 unary plus: patch by Amol Deshmukh, test added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353685 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 18:58:57 +00:00
Rainer Klute c71b3635a9 - Improved the build process' with respect to its dependencies on JUnit, JDepend and an XSLT processor.
- Included DDF in the generated javadoc API documentation.
- Excluded the obsolete HDF from the generated javadoc API documentation.
- Included the CLASSPATH environment variable in the javadoc classpath so that references to third-party packages can be resolved.
- Removed all explicit references to Xalan and changed the HSSF record generator to use any XSLT processor. However, that stuff seems to be very much out of date: The XSL stylesheet won't compile even after an obvious fix. Thus my modifications are untested but that stuff won't work anyway. I doubt it is important.
- Did some beautifications on the build.xml file.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353683 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 21:39:22 +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
Avik Sengupta a3c885ca46 StringUtil javadocs, supplied by Nick Burch, thanks. bug 34922
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353681 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 14:44:37 +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 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