aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Add standard licence header for src/java directoryMark Thomas2007-01-1526-21/+455
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496526 13f79535-47bb-0310-9956-ffa450edef68
* License comment fixed.Rainer Klute2007-01-151-17/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496419 13f79535-47bb-0310-9956-ffa450edef68
* Yegor's patch from bug #41242Nick Burch2007-01-051-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
* Comment support from bug 41198, patch from YegorNick Burch2007-01-0113-7/+772
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
* Switching from ASL 1.1 to AL 2.0 - no one had a reason for these being this ↵Henri Yandell2006-12-3110-520/+150
| | | | | | way on the mailing list git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491503 13f79535-47bb-0310-9956-ffa450edef68
* Applied copy2license script to the files that were converted by dos2unix. ↵Henri Yandell2006-12-224-20/+24
| | | | | | ant jar continues to pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
* Applying dos2unix on some of the Java files. The copy2license script isn't ↵Henri Yandell2006-12-224-389/+389
| | | | | | picking up the dos line endings. Hopefully not a problem for anyone git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
* Applying the copy2license.pl script (with tiny modification to allow for ↵Henri Yandell2006-12-22412-2060/+2472
| | | | | | more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
* When sorting the contents of a directory, do so in a way that doesn't upset ↵Nick Burch2006-12-121-3/+30
| | | | | | Excel when it comes to Macros. Correct logic from Bill, and fix+test from Yegor. See bug #39234 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486265 13f79535-47bb-0310-9956-ffa450edef68
* Support Excel files which contain a WORKBOOK entry, rather than the usual ↵Nick Burch2006-11-301-1/+23
| | | | | | Workbook one. Fixes bug 40840 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480987 13f79535-47bb-0310-9956-ffa450edef68
* Bug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.Jason Height2006-09-112-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@442183 13f79535-47bb-0310-9956-ffa450edef68
* BUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a ↵Jason Height2006-09-082-19/+42
| | | | | | template excel file is loaded which does not contain PaneRecords is loaded. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@441652 13f79535-47bb-0310-9956-ffa450edef68
* replaced use of String.contains(..) with String.indexOf(..) >= 0 to make it ↵Amol S. Deshmukh2006-08-291-1/+1
| | | | | | JDK1.4 compatible git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@438085 13f79535-47bb-0310-9956-ffa450edef68
* Just removed a bunch of unused imports etc. Reduces eclipse warningsJason Height2006-08-299-21/+21
| | | | | | Jason git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
* bug 23631: support for getting the current pane information in excelJason Height2006-08-295-7/+144
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437930 13f79535-47bb-0310-9956-ffa450edef68
* bug 31044: Corrected parsing of references which contain double sheet names ↵Jason Height2006-08-281-2/+13
| | | | | | | | ie 'Sheet 1'!F1:'Sheet 1'!F10. Although i have hacked it a bit such that it gets translated to 'Sheet 1'!F1:F10 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437684 13f79535-47bb-0310-9956-ffa450edef68
* Bug 33736: Applied patch for Column Hiding. ThanksJason Height2006-08-282-0/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437526 13f79535-47bb-0310-9956-ffa450edef68
* Bug28755: CellReference will throws IllegalArgumentException when an illegal ↵Jason Height2006-08-281-1/+5
| | | | | | cell reference is provided. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437522 13f79535-47bb-0310-9956-ffa450edef68
* Bug36646: Ret3dPtg to include quotes when sheetname contains a space.Jason Height2006-08-281-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437519 13f79535-47bb-0310-9956-ffa450edef68
* Removed EXPERIMENTAL indication on the formula support.Jason Height2006-08-272-44/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437371 13f79535-47bb-0310-9956-ffa450edef68
* Added explicit RecordFormatException when a FilePass record (indicating that ↵Jason Height2006-08-276-3/+213
| | | | | | the workbook is encrypted) is encountered. (due to bug 27548) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437370 13f79535-47bb-0310-9956-ffa450edef68
* Bug 38796: Check for null in PageBreakRecordJason Height2006-08-271-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437368 13f79535-47bb-0310-9956-ffa450edef68
* Throw exception rather than returning NO IDEA SHARED FORMULAJason Height2006-08-271-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437265 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to reset shared formula option during conversionJason Height2006-08-262-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437128 13f79535-47bb-0310-9956-ffa450edef68
* Found a case where the shared formula does not resolve. This was in the test ↵Jason Height2006-08-262-24/+28
| | | | | | case for the org.apache.poi.hssf.record.formula.eval.TextEverything git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437126 13f79535-47bb-0310-9956-ffa450edef68
* bug 40285: Corrected index of CellIterator. In addition made CelIterator ↵Jason Height2006-08-251-1/+7
| | | | | | obey the Iterator contract wrt exceptions. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@436986 13f79535-47bb-0310-9956-ffa450edef68
* 1. when formula parse fails, reported error now includes the "pointer" Amol S. Deshmukh2006-08-241-1/+3
| | | | | | 2. added the case of interpreting a missing argument as MissingArgPtg git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434426 13f79535-47bb-0310-9956-ffa450edef68
* Bug: 40267 squashed.Jason Height2006-08-181-1/+1
| | | | | | Thanks Richard, good catch. Keep it up! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@432511 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 ↵Sean Sullivan2006-08-121-1/+1
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* In setCellFormula(String) the Ptg stack in FormulaRecord is cleared before ↵Amol S. Deshmukh2006-08-091-4/+11
| | | | | | filling it with new values. Prior to this fix, repeated calls to setCellFormula would keep accumulating Ptgs in the stack although only the topmost "size" number of Ptgs would ever be used. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430137 13f79535-47bb-0310-9956-ffa450edef68
* bugfix 38396: Exponential numbers are now handled by the formula parserAmol S. Deshmukh2006-08-091-5/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430132 13f79535-47bb-0310-9956-ffa450edef68
* Made a bit of a meal out of the Shared formula patch, some of our test cases ↵Jason Height2006-07-2714-362/+875
| | | | | | | | | | | failed. Guess that is a good thing. Now working. Committed patch provided in Bug 40024. Avik, sorry bet you to it. Committed a patch to Bug 13249. HSSF will now raise an exception if a name is provided that is case-insensitive match to an existing name. In addition the getNameIndex now performs a case-insensitive search. This now matches excel behaviour. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@426082 13f79535-47bb-0310-9956-ffa450edef68
* SHARED FORMULA SUPPORT:Jason Height2006-07-2517-67/+1349
| | | | | | | | | | | | Implemented my long standing (but incomplete) patch attached to Bug 26502. Now shared formula conversion is working. Tested against file attached to Bug 26502 and Bug 18311. TestValueRecordAggregate fails with the patch at the moment, too tired to look at. Will do tomorrow. Jason git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425402 13f79535-47bb-0310-9956-ffa450edef68
* Bug 17890: Corrected exception text for zero byte file.Jason Height2006-07-252-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425384 13f79535-47bb-0310-9956-ffa450edef68
* Clean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with ↵Jason Height2006-07-251-20/+4
| | | | | | the previous code, these changes are even better ;-) Squashing Bug 22456 now. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425376 13f79535-47bb-0310-9956-ffa450edef68
* Exception Chaining: Added support for java 1.4 style exception chaining. ↵Jason Height2006-07-247-12/+15
| | | | | | Believe that POI is targeted at 1.4 nowdays so this should not cause an issue. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425026 13f79535-47bb-0310-9956-ffa450edef68
* Bug 38486: Added handling of special 0x40 (64 dec) color.Jason Height2006-07-244-10/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425023 13f79535-47bb-0310-9956-ffa450edef68
* Bug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.Jason Height2006-07-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@424685 13f79535-47bb-0310-9956-ffa450edef68
* Helper method for when moving stuff about in an array, plus testNick Burch2006-07-021-1/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418607 13f79535-47bb-0310-9956-ffa450edef68
* Allow fetching and changing the character set, eg to support wingdings fonts ↵Nick Burch2006-06-161-0/+43
| | | | | | (bug #39389) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414842 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 39800 - if the Array size in the simple block doesn't inclde the ↵Nick Burch2006-06-131-2/+32
| | | | | | size of the header, make a note of this, and do the same when we write back out git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413933 13f79535-47bb-0310-9956-ffa450edef68
* If given an empty (but not null) byte array to get a whole string from, ↵Nick Burch2006-05-101-0/+2
| | | | | | return an empty string rather than an exception git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405755 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to check in my nit-picking grammatical changes in comments.Rainer Klute2006-05-061-27/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400278 13f79535-47bb-0310-9956-ffa450edef68
* Support for many, many character encodings added. Thanks to TrejkazRainer Klute2006-05-062-2/+162
| | | | | | | <trejkaz @at@ trypticon.org> for the patch! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400277 13f79535-47bb-0310-9956-ffa450edef68
* Support for line thicknes through escher graphics 2d interface.Glen Stampoultzis2006-04-292-6/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
* Updated to support lines for the EscherGraphics2d draw() call.Glen Stampoultzis2006-04-251-5/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@396821 13f79535-47bb-0310-9956-ffa450edef68
* * Writing support added to the SummaryInformation and ↵Rainer Klute2006-03-0332-271/+2138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are: ** Documentation section about writing standard properties added to the HPSF HOW-TO. ** Example application added showing how to modify the document summary information. ** Testcases added for testing modifying summary information and document summary information. ** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances. * Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document. * Improved codepage handling. * Bug fixed: Integral values were read and written as unsigned instead of signed. * Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming. * Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change! * Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section. * Support for low-level reading and writing of Variant.VT_I8 type properties added. * Unnecessary casts removed. * Poibrowser's display format changed slightly. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an issue with it not compiling.Shawn Laubach2006-01-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68
* Added the ability to set the default style for an individual column in a sheet.Shawn Laubach2006-01-213-13/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371080 13f79535-47bb-0310-9956-ffa450edef68
* Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write ↵Jason Height2006-01-217-88/+488
| | | | | | functionality. No means to modify (yet!)) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68