Nick Burch
dbd8b08654
Merge changes from trunk to the ooxml branch - revisions 634630 to
...
638000
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642554 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 16:41:25 +00:00
Nick Burch
cf8fde4dee
Quite a bit more xssf support for cell styles. Also, get all the ooxml tests to pass cleanly, partly by disabling broken ones
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640003 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 14:38:43 +00:00
Nick Burch
229db44d72
More create helper stuff, and some sample formatting files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637614 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 17:23:24 +00:00
Nick Burch
379e682366
Update some more documentation, and put in a workaround for needing to create a RichTextString, without wanting to know the concrete type, but Java interfaces are crap
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637607 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 16:24:23 +00:00
Nick Burch
5f7b99ac45
Tweak method signature to match changes done in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@634991 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 15:38:29 +00:00
Ugo Cei
1fc10ad669
Merged revisions 627779-634630 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r627779 | nick | 2008-02-14 16:32:49 +0100 (Thu, 14 Feb 2008) | 1 line
In the interests of sanity, stop having hssf test data files in scratchpad and main, go to just having them in main
........
r627788 | nick | 2008-02-14 17:01:10 +0100 (Thu, 14 Feb 2008) | 1 line
Big formula update from Josh from bug #44364 - support for Match, NA and SumProduct functions, and initial error support in functions
........
r627999 | nick | 2008-02-15 11:30:10 +0100 (Fri, 15 Feb 2008) | 1 line
To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
........
r628027 | nick | 2008-02-15 12:45:13 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44403 - Have mid use the third argument properly, and test
........
r628029 | nick | 2008-02-15 12:53:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44413 from Josh - Fix for circular references in INDEX, OFFSET, VLOOKUP formulas, where a cell is actually allowed to reference itself
........
r628033 | nick | 2008-02-15 13:04:42 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44417 - Improved handling of references for the need to quote the sheet name for some formulas, but not when fetching a sheet by name
........
r628035 | nick | 2008-02-15 13:13:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44421 - Update Match function to properly support Area references
........
r628044 | nick | 2008-02-15 13:59:40 +0100 (Fri, 15 Feb 2008) | 1 line
Partial fix for bug #44410 - support whole column ranges such as C:C in the formula evaluator (so SUM(D:D) will now work). However, the formula string will still be displayed wrong
........
r628065 | nick | 2008-02-15 14:50:38 +0100 (Fri, 15 Feb 2008) | 1 line
Further support for whole-column references, including formula strings and the evaluator. Also has some new tests for it
........
r628714 | nick | 2008-02-18 14:08:16 +0100 (Mon, 18 Feb 2008) | 1 line
Update notice for latest guidance on ooxml xsd licence, and update getting involved to link to the newly released binary file format docs
........
r629552 | nick | 2008-02-20 19:14:30 +0100 (Wed, 20 Feb 2008) | 1 line
Patch from Josh from bug #44403 - Further support for unusual, but valid, arguments to the Mid function
........
r629738 | nick | 2008-02-21 11:36:08 +0100 (Thu, 21 Feb 2008) | 1 line
Fix from Josh from bug #44456 - Update contrib SViewer to not fail if a HSSFRow is null
........
r629742 | nick | 2008-02-21 11:49:25 +0100 (Thu, 21 Feb 2008) | 1 line
Use the right way to figure out how many rows on a sheet, so we display the row number for all of them on the left hand side. Also, tidy up some imports
........
r629755 | nick | 2008-02-21 12:34:25 +0100 (Thu, 21 Feb 2008) | 1 line
Fix bug 38921, where HSSFPalette.findSimilar() wasn't working properly, and add tests for it
........
r629821 | nick | 2008-02-21 16:08:44 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44371 - support for OFFSET function, and various tweaks to the formula evaluator to support this
........
r629829 | nick | 2008-02-21 16:35:59 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44366 - InputStreams passed to POIFSFileSystem are now automatically closed. A warning is generated for people who might've relied on them not being closed before, and a wrapper to restore the old behaviour is supplied
........
r629831 | nick | 2008-02-21 16:40:34 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629832 | nick | 2008-02-21 16:42:06 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629837 | nick | 2008-02-21 16:48:52 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44449 - Handle SharedFormulas better, for where there are formulas for the same area on two sheets, and when the shared formula flag is set incorrectly
........
r629849 | nick | 2008-02-21 17:22:18 +0100 (Thu, 21 Feb 2008) | 1 line
Add a disabled test for a file with whacky StyleRecords that trigger an AIOOB
........
r629865 | nick | 2008-02-21 17:44:46 +0100 (Thu, 21 Feb 2008) | 1 line
At the request of legal-discuss, shuffle the ooxml xsd licence details into LICENSE from NOTICE
........
r630160 | nick | 2008-02-22 12:23:50 +0100 (Fri, 22 Feb 2008) | 1 line
Patch from Josh from bug #44450 - VLookup and HLookup support, and improvements to Lookup and Offset
........
r630164 | nick | 2008-02-22 12:40:00 +0100 (Fri, 22 Feb 2008) | 1 line
Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
........
r633114 | nick | 2008-03-03 16:01:18 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
........
r633118 | nick | 2008-03-03 16:10:46 +0100 (Mon, 03 Mar 2008) | 1 line
Fix from Yegor from bug #44491 - don't have the new style handy POIDocument property stuff break old style hpsf+hssf use
........
r633126 | nick | 2008-03-03 16:26:38 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44495 - Handle named cell ranges in formulas that have lower case parts
........
r633151 | nick | 2008-03-03 17:09:02 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44510 - Fix how DVALRecord works with dropdowns
........
r633169 | nick | 2008-03-03 17:55:00 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44508 - Fix formula evaluation with evaluateInCell on boolean formulas
........
r633205 | nick | 2008-03-03 18:47:36 +0100 (Mon, 03 Mar 2008) | 1 line
Fix indent, add more documentation, and make the error message more helpful
........
r633505 | nick | 2008-03-04 16:06:29 +0100 (Tue, 04 Mar 2008) | 1 line
Problem files from bug #44501
........
r633547 | nick | 2008-03-04 17:53:32 +0100 (Tue, 04 Mar 2008) | 1 line
Big patch from Josh from bug #44504 - lots of formula parser improvements
........
r633548 | nick | 2008-03-04 17:59:02 +0100 (Tue, 04 Mar 2008) | 1 line
Changelog update for last patch
........
r634318 | nick | 2008-03-06 16:54:06 +0100 (Thu, 06 Mar 2008) | 1 line
Change the behaviour on short last blocks to be a warning not an exception, as some people seem to have "real" valid files that trigger this. Fixed bug #28231
........
r634371 | nick | 2008-03-06 19:06:48 +0100 (Thu, 06 Mar 2008) | 1 line
Embeded files from bug #44524
........
r634372 | nick | 2008-03-06 19:13:47 +0100 (Thu, 06 Mar 2008) | 1 line
Add broken test for bug #43901
........
r634617 | nick | 2008-03-07 12:18:02 +0100 (Fri, 07 Mar 2008) | 1 line
Patch from Josh from bug #43901 - Correctly update the internal last cell number when adding and removing cells (previously sometimes off-by-one)
........
r634619 | nick | 2008-03-07 12:36:14 +0100 (Fri, 07 Mar 2008) | 1 line
Improved support for read-only recommended workbooks, fixing bug #44536
........
r634630 | nick | 2008-03-07 13:06:18 +0100 (Fri, 07 Mar 2008) | 1 line
Patch largely from Josh from bug #44539 - Support for area references in formulas of rows >= 32768
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@634936 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 11:49:00 +00:00
Ugo Cei
8191f45e44
Return a list of all pictures for a workbook. This shows a discrepancy between the way pictures are stored in OLE2 files and the way they are stored in OOXML files. In the former case, pictures are associated with the workbook, in the latter they are referred to in "drawings" which are, in turn, referred to in sheets.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@629170 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 17:34:39 +00:00
Ugo Cei
8ec2aaafd6
Merged revisions 618680-620582 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r618680 | nick | 2008-02-05 16:51:29 +0100 (Tue, 05 Feb 2008) | 1 line
Add java.lang.Iterable style methods for iterating over rows and cells, but don't actually implement that, as it wasn't in jdk 1.3 or jdk 1.4, with is rather tedious
........
r618690 | nick | 2008-02-05 17:21:21 +0100 (Tue, 05 Feb 2008) | 1 line
Tweaks to the iterator use guides for hssf
........
r618692 | nick | 2008-02-05 17:32:45 +0100 (Tue, 05 Feb 2008) | 1 line
Few tweaks to the patching guide
........
r618940 | yegor | 2008-02-06 10:47:13 +0100 (Wed, 06 Feb 2008) | 1 line
3.0.2-FINAL released
........
r619001 | nick | 2008-02-06 15:35:05 +0100 (Wed, 06 Feb 2008) | 1 line
Implement hashCode and equals for HSSFFont and HSSFCellStyle
........
r619310 | yegor | 2008-02-07 09:56:59 +0100 (Thu, 07 Feb 2008) | 1 line
support for excel hypelrinks
........
r619382 | nick | 2008-02-07 13:39:12 +0100 (Thu, 07 Feb 2008) | 1 line
Patch from bug #44373 - Have HSSFDateUtil.isADateFormat support more date formats
........
r619502 | nick | 2008-02-07 17:53:23 +0100 (Thu, 07 Feb 2008) | 1 line
Handle timezones better with cell.setCellValue(Calendar), so now 20:00-03:00, 20:00+00:00 and 20:00+03:00 will all be recorded as 20:00, and not 17:00 / 20:00 / 23:00 (pass a Date not a Calendar for old behaviour) - patch from bug #38641
........
r619509 | nick | 2008-02-07 18:12:09 +0100 (Thu, 07 Feb 2008) | 1 line
Add (disabled) failing testcase for bug #44375
........
r619848 | klute | 2008-02-08 12:55:43 +0100 (Fri, 08 Feb 2008) | 1 line
- Fixed bug 44375 - HPSF now copes with a broken dictionary in Document Summary Information stream. RuntimeExceptions that occured when trying to read bogus data are now caught. Dictionary entries up to but not including the bogus one are preserved, the rest is ignored.
........
r619849 | klute | 2008-02-08 12:56:11 +0100 (Fri, 08 Feb 2008) | 1 line
- Fixed bug 44375 - HPSF now copes with a broken dictionary in Document Summary Information stream. RuntimeExceptions that occured when trying to read bogus data are now caught. Dictionary entries up to but not including the bogus one are preserved, the rest is ignored.
........
r619851 | nick | 2008-02-08 13:02:10 +0100 (Fri, 08 Feb 2008) | 1 line
Copy Rainer's change note from changes.xml to status.xml, as it's needed in both
........
r619968 | nick | 2008-02-08 19:17:29 +0100 (Fri, 08 Feb 2008) | 1 line
Tweak layout
........
r620341 | nick | 2008-02-10 22:54:13 +0100 (Sun, 10 Feb 2008) | 1 line
Test for bug #42564 - appears to already be fixed
........
r620557 | nick | 2008-02-11 18:55:09 +0100 (Mon, 11 Feb 2008) | 1 line
Another test relating to bug #42564 - this one is still failing
........
r620582 | nick | 2008-02-11 20:14:04 +0100 (Mon, 11 Feb 2008) | 1 line
If we have a document with a hpsf stream that exists, but is of the wrong type, then log a warning but continue
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@627544 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 17:34:43 +00:00
Nick Burch
321375583d
Have iterating over rows and cells work with JDK 1.5 foreach loops through java.lang.Iterable
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@618676 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 15:41:37 +00:00
Ugo Cei
3cae9cc891
Merged revisions 615190-618235 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r615190 | nick | 2008-01-25 12:52:39 +0100 (Fri, 25 Jan 2008) | 1 line
Correctly handle the last paragraph via a fix to TableCell - patch from bug #44292
........
r615255 | nick | 2008-01-25 17:15:49 +0100 (Fri, 25 Jan 2008) | 1 line
Don't swap AreaPtg references from relative to absolute, by correctly processing the fields. Patch from bug #44293
........
r615259 | nick | 2008-01-25 17:33:59 +0100 (Fri, 25 Jan 2008) | 1 line
Add a test to show the bug #42618 appears to be incorrect
........
r615310 | yegor | 2008-01-25 20:27:56 +0100 (Fri, 25 Jan 2008) | 1 line
commented failing test42618()
........
r615315 | yegor | 2008-01-25 20:37:22 +0100 (Fri, 25 Jan 2008) | 1 line
fix bug #44296 : HSLF Not Extracting Slide Background Image
........
r615610 | yegor | 2008-01-27 15:55:32 +0100 (Sun, 27 Jan 2008) | 1 line
fix bug #44297 : IntPtg must operate with unsigned short. Reading signed short results in incorrect formula calculation.
........
r615769 | yegor | 2008-01-28 09:53:19 +0100 (Mon, 28 Jan 2008) | 1 line
start a new POI 3.1 section in the change log
........
r615859 | nick | 2008-01-28 13:18:12 +0100 (Mon, 28 Jan 2008) | 1 line
Mostly fix bug 42618 (really this time...) - can now open the file properly, but getCellFormula() is still playing up (bug #44306 opened for this)
........
r617156 | nick | 2008-01-31 17:41:53 +0100 (Thu, 31 Jan 2008) | 1 line
Lots of documentation updates, to make it clearer how the code actually works
........
r617167 | nick | 2008-01-31 18:30:16 +0100 (Thu, 31 Jan 2008) | 1 line
Convert HSSFEventFactory to using the new HSSFRecordStream, which returns fully-formed HSSFRecords. HSSFRecordStream allows for pull-style eventusermodel processing
........
r617483 | nick | 2008-02-01 13:13:08 +0100 (Fri, 01 Feb 2008) | 1 line
Tweak the javadoc so it's clearer on the overview what the getFormat method does
........
r617487 | nick | 2008-02-01 13:29:38 +0100 (Fri, 01 Feb 2008) | 1 line
Improvements to how SystemOutLogger and CommonsLogger log messages with exceptions, and avoid an infinite loop with certain log messages with exceptions - triggered by bug #44326
........
r617491 | nick | 2008-02-01 14:02:06 +0100 (Fri, 01 Feb 2008) | 1 line
Patch from bug #44336 - correctly escape sheet names in formula references, including tests for this, and fixes to old tests that were expecting the un-escaped sheet names
........
r617516 | nick | 2008-02-01 16:20:55 +0100 (Fri, 01 Feb 2008) | 1 line
Make a start on the hyperlink record support - not finished yet though, so not enabled
........
r617523 | nick | 2008-02-01 16:41:32 +0100 (Fri, 01 Feb 2008) | 1 line
Get the Hyperlink record code so that it doesn't break any existing tests, and add in (no usermodel support yet though)
........
r617555 | nick | 2008-02-01 17:52:58 +0100 (Fri, 01 Feb 2008) | 1 line
More Hyperlink support. Doesn't end up in HSSFCell just yet, as the records are in the wrong bit of the file, so don't get associated with the sheet. All tests still passing though
........
r617834 | yegor | 2008-02-02 18:06:14 +0100 (Sat, 02 Feb 2008) | 1 line
usermodel support for excel hyperlinks
........
r618230 | nick | 2008-02-04 11:48:29 +0100 (Mon, 04 Feb 2008) | 1 line
Implement CountA, CountIf, Index, Rows and Columns functions. Patch from Josh Micich in bug #44345
........
r618235 | nick | 2008-02-04 12:14:49 +0100 (Mon, 04 Feb 2008) | 1 line
Test file with hyperlinks on many sheets, of different types
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@618325 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:55:43 +00:00
Ugo Cei
86a0e470b9
Merged revisions 614878-614909 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614878 | nick | 2008-01-24 15:13:05 +0100 (Thu, 24 Jan 2008) | 1 line
Add another formula evaluation method, evaluateFormulaCell(cell), which will re-calculate the value for a formula, without affecting the formula itself. Add tests too, and update the documentation
........
r614909 | nick | 2008-01-24 17:05:27 +0100 (Thu, 24 Jan 2008) | 1 line
From bug #44254 - avoid some unread bytes warnings, and process the contents of DVALRecord
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@615185 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:39:29 +00:00
Ugo Cei
0fe7355e0b
Make HSSF* classes compile with JDK 1.4 interfaces.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614838 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:53:39 +00:00
Ugo Cei
bcceae13f0
Merged revisions 614274 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614274 | yegor | 2008-01-22 18:59:27 +0100 (Tue, 22 Jan 2008) | 1 line
extra whitespace caused the test fail on win xp. Strange, but it worked fine on *nix
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614832 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:18:21 +00:00
Ugo Cei
ceb863a1d1
Merged revisions 614211 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r614211 | nick | 2008-01-22 15:48:51 +0100 (Tue, 22 Jan 2008) | 1 line
Fix from bug #41726 - support signed offsets from relative areas and references
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614831 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:16:35 +00:00
Ugo Cei
45cb22b13a
HSSF* classes implement same interfaces as XSSF* classes.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@614830 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 10:10:55 +00:00
Ugo Cei
e421eadd57
Merged revisions 613395-613401 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r613395 | yegor | 2008-01-19 15:27:02 +0100 (Sat, 19 Jan 2008) | 1 line
use JDK 1.4 compatible constructor for IllegalStateException
........
r613396 | yegor | 2008-01-19 15:28:10 +0100 (Sat, 19 Jan 2008) | 1 line
add a check to prevent NPE in HSSFSheet.autoSizeColumn(). See Bug 44246
........
r613400 | yegor | 2008-01-19 15:44:07 +0100 (Sat, 19 Jan 2008) | 1 line
added unit tests for closed Bug 37684: Unhandled Continue Record Error
........
r613401 | yegor | 2008-01-19 15:54:06 +0100 (Sat, 19 Jan 2008) | 1 line
added a unit test for fixed bug 41139: Constructing HSSFWorkbook is failed,threw threw ArrayIndexOutOfBoundsException for creating UnknownRecord
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@613822 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 09:56:56 +00:00
Ugo Cei
1ae2752357
Fix imports, removing a dependency on XMLBeans.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@612509 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 16:55:12 +00:00
Nick Burch
33602b0c80
Patch to support UncalcedRecord and usermodel code for it, to indicate formulas on a sheet need recalculating (from bug #44233 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612445 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 13:14:31 +00:00
Nick Burch
18a4647b24
Add methods to check to see if a given InputStream has a OOXML file header, or a OLE2 file header, so that a future factory method could figure out which class to instantiate for a given InputStraeam
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612438 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 12:46:43 +00:00
Nick Burch
32a7c6ac86
Fix bug #44201 - support cloning of DVRecord, so validation enabled sheets can be cloned
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612152 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:42:44 +00:00
Nick Burch
d29590b7ab
Some more updates to the records->usermodel support for hssf shapes. Still not enough there to be useful to pretty much anyone, but at least there's now a framework in place that people can use if they want to support more, and some tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@612148 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 16:31:29 +00:00
Yegor Kozlov
ffe9ba52c1
fixed bug 44200: Sheet not cloneable when Note added to excel cell
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610855 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:04:38 +00:00
Nick Burch
ae4a40d8ba
Make a start on processing shapes on a sheet out of a record. For now, doesn't actually manage to do this, but has much of the infrastructure that'll be needed. Includes ability to get an existing HSSFPatriarch for a sheet, if there are the required records, and for the HSSFPatriarch to be in a position to be given the shapes that make it up (but this isn't done yet)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610608 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:21:35 +00:00
Nick Burch
400bfacc62
Tweak comments, layout and exceptions in IOUtils and RawDataBlock. It should now be clearer exactly what they do, and when they become unhappy. Also include a test that ensures that when reading from a slow inputstream (as per bug #42834 ), we really are ok with the data dribbling in, and do not require it to all come in in blocksize chunks at one
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610439 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:31:25 +00:00
Nick Burch
1558c1472f
Properly set the values when calling the boolean sets
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610435 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:24:28 +00:00
Nick Burch
1f691642c3
Fix bug #43008 , by deprecating setCellNum() on HSSFCell, and adding moveCell() to HSSFRow, which correctly updates all the references
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610392 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 14:27:51 +00:00
Nick Burch
0f4d8d90ed
Fix for bug #43058 - handle setting row grouping for sheets that lacked gutsrecords at that point
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610384 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:37:06 +00:00
Nick Burch
f9e5145d9c
Add clone methods to DrawingRecord and AbstractEscherHolderRecord, which allows cloning of some sheets with drawing objects on them. Fixes bug #31795
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610336 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:59:04 +00:00
Nick Burch
50e62c9bcf
Update changelog again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610329 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 10:05:03 +00:00
Nick Burch
9c2787efb4
Have autoSizeColumn skip over merged regions - bug #43902 . Patch from Paolo
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610328 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 09:55:20 +00:00
Nick Burch
1a6f87e035
Finally fix bug #42464 - Expected ExpPtg to be converted from Shared to Non-Shared Formula - tracked down to a signed vs unsigned byte issue!
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 23:01:12 +00:00
Nick Burch
852964d9d3
Support for unicode named named ranges (patch and test from bug #42033 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610082 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:49:08 +00:00
Nick Burch
d6a4075aa7
Fix bug #34023 - when shifting rows, update the any formula references to those rows to point to their new location
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610072 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:18:38 +00:00
Nick Burch
7cd8941f43
Add a new method onto AreaReference to get all the cells referenced, not just the corners. Includes tests for this
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610048 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:20:48 +00:00
Nick Burch
808d3ad9eb
Extend named range support in formulas to include non-contiguous named ranges
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610026 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:47:00 +00:00
Nick Burch
b67b9cb0ce
Fix from bug #43510 - support named ranges in formulas
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610016 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 15:08:51 +00:00
Nick Burch
32e42753ab
Patch from Ugo to get and set the sheet hidden flag (bug #43937 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609942 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:59:26 +00:00
Nick Burch
eae7142499
Fix for bug #44167 - patch from Paolo Mottadelli
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 10:36:36 +00:00
Nick Burch
9966418b86
Fix bug #44070 - patch from Gian Carlo Pace
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 14:51:37 +00:00
Nick Burch
ebc731a087
Improve the javadocs for font and fill related colourings, and add another tests to check it all works as expected
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608132 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 15:48:11 +00:00
Yegor Kozlov
d151b35bc8
fix reopen of bug 42999: incorrect AnchorHeight calculations in HSSFClientAnchor.getAnchorHeightInPoints
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606684 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 09:48:11 +00:00
Nick Burch
a14b55b6a8
Support 1904 date windowing, in addition to 1900 date windowing (patch from bug #43551 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601004 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:06:57 +00:00
Nick Burch
941bba0e15
String Continue records support (with test), from bug #41064
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600995 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 16:55:56 +00:00
Nick Burch
5163b687a4
SBAT fix from bug #11744
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600916 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:55:26 +00:00
Nick Burch
40b8f50a73
Usermodel support for the datavalidation code, and tests for it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600544 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 14:14:02 +00:00
Nick Burch
b97e94bf5c
More code from bug #27511 , now ported to the new style record code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 13:17:41 +00:00
Nick Burch
02564b5824
Start on importing validation patches from bug #27511 (DVRecord still needs more work before it can go in)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600513 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 13:00:02 +00:00
Yegor Kozlov
7fec860cd8
fixed bugs 43877 and 39512: Fix for handling mixed OBJ and CONTINUE records
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@597654 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 12:52:51 +00:00
Yegor Kozlov
9c7f6307c4
Preserve unread bytes when serializing the record
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@597653 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 12:51:44 +00:00
Nick Burch
eb65900774
Throw an IllegalArgumentException if asked to addMergeRegion with invalid data, rather than writing out a corrupt file (bug #43807 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594320 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:24:15 +00:00
Nick Burch
c1a4f1c8e8
Patch for unicode NameRecords (bug #43837 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594316 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 22:12:03 +00:00
Nick Burch
2038b4ba5b
Add support for Chart Title Format records (bug #43721 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594307 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:49:37 +00:00
Nick Burch
97b7d9d758
Fix for BOFRecord from files generated by access etc (bug #42794 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594102 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 13:13:25 +00:00
Nick Burch
daf1a974a8
Support getting and setting as int, as well as short (bug #43648 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@594097 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 12:47:34 +00:00
Yegor Kozlov
44041860e3
throw exception when the maximum number of fonts was exceeded
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@592520 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:52:52 +00:00
Yegor Kozlov
65f468498a
improved handling rotated text in HSSFSheet.autoSizeColumn
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@592519 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:52:14 +00:00
Yegor Kozlov
c93e470560
fixed a silly typo in the method signature. It should be HFFSPicture.getPreferredSize(), not HFFSPicture.getPrefferedSize()
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@591667 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 19:50:40 +00:00
Yegor Kozlov
7d858d747c
Fix for handling rotated text in HSSFSheet.autoSizeColumn. Thanks to Jeff Williams. See Bug 43751 for details.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@591666 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 19:36:10 +00:00
Nick Burch
9d3658e72f
Implement an Excel text extractor, and put all the existing text extractors under a common superclass, so they're easier to find and use
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589224 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 21:57:10 +00:00
Nick Burch
e145f417b7
In FormulaParser, add in non-static methods too for toFormulaString, which use the existing Workbook. Also tweak licence notice for hdgf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584788 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 13:48:51 +00:00
Nick Burch
c7476faf25
Allow users to get a FormulaParser armed only with a HSSFWorkbook, through a convenience method on HSSFFormulaEvaluator
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584721 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 10:34:40 +00:00
Yegor Kozlov
523c9ecabd
HSSFPicture.resize() - a handy method to reset a picture to its original width and height
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@581029 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 18:07:32 +00:00
Nick Burch
d853ae3ece
Fix True/False function arguments (from Pavel, bug #43496
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@580015 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 13:42:53 +00:00
Nick Burch
af0eef9988
Fix from Pavel Krupets for Excel Bug Date (1900/2/29)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579194 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 10:52:30 +00:00
Nick Burch
4de18a877c
Allow HSSFSheet to get at its parent workbook, and add HSSFWorkbook.getSheetIndex(HSSFSheet)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@578795 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 12:57:38 +00:00
Nick Burch
43b8f0d298
Update POIDocument to use POILogger
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577317 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 14:40:44 +00:00
Nick Burch
3365f9798b
Finish the POIDocument move, and update HSSFWorkbook to use it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577314 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 14:34:31 +00:00
Nick Burch
b5dcea2afe
Move POIDocument out of the scratchpad
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577259 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 11:56:36 +00:00
Nick Burch
9c57017f5b
Fix for cell references on rows > 32768 (bug #43399 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576939 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 15:01:15 +00:00
Nick Burch
031873f7e6
Improved Formula Parser support for ranges and exponents, from Pavel Krupets (Bug #43410 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576855 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 11:53:28 +00:00
Nick Burch
1f056652b7
Fix for rows between 32767 and 65536, don't incorrectly cast to a short ( fixes #43401 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576519 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:54:40 +00:00
Nick Burch
58eb278989
Add a note on autoSizeColumn being a somewhat slow opperation. Update the status log
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576351 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 10:29:27 +00:00
Yegor Kozlov
edf5dc307b
fixed re-open of bug #42844 . HSSFEventFactory silently skips unknown records that happen to be continued.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@575406 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 19:11:10 +00:00
Yegor Kozlov
b65d864b2c
fix broken compilation. removed a reference to a class from the scratchpad.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@574589 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 13:08:45 +00:00
Yegor Kozlov
177caeec53
Support for getting OLE objects from HSSFWorkbook. See bug 43222 for details.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@573878 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:34:10 +00:00
Yegor Kozlov
f52957b77d
initial support for WMF and EMF pictures in HSSFWorkbook.getAllPictures(). See Bug 43125 for details.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569827 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 15:26:29 +00:00
Yegor Kozlov
22350f3b21
fixed: Bug 43088: Excel file can't be loaded if comments exceed a size of 4111 characters
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569821 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 15:03:13 +00:00
Nick Burch
e518cdfbbc
Fix for bug #42844 - Include some of the crazy continue record handling that we have in RecordFactory into HSSFEventFactory, so that we can handle when records aren't immediately followed by their continue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569101 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 18:20:39 +00:00
Nick Burch
490bdc3fe6
When writing out a workbook, skip a WORKBOOK stream (if there is one), since we always write out as Workbook + test (bug #43055 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569082 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 17:40:24 +00:00
Nick Burch
3098e0474a
Patch from Trejkaz from bug #43116 - Fix for Escher handling of embeded OLE2 documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566196 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:40:02 +00:00
Nick Burch
df10c7b072
Patch from bug #43108 - when fetching system properties, use sensible defaults if we're not able to access them
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566183 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:19:08 +00:00
Yegor Kozlov
4f98781194
Bug 43090: autoSizeColumn can calculate negative sizes for the column width due to a cast from integer to short
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@564689 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 17:34:57 +00:00
Nick Burch
09bcbf7f97
Further enhancements to Font Metrics support, wrt fonts with bold/italic varients, such as dialog (plus tests)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@564263 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 16:27:16 +00:00
Nick Burch
03f738225f
If the Escher layer is asked to draw text with an invalid font, throw a much more useful error. Plus test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@564219 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 14:27:06 +00:00
Nick Burch
d03f88c96b
Have HSSFDateUtil.isCellDateFormatted make use of HSSFDateUtils.isADateFormat. A few improvements to isADateFormat, and to HSSFCellStyle to allow calling of it. Plus tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@563129 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 13:38:48 +00:00
Yegor Kozlov
0171d85885
fixed Bug 42999: HSSFPatriarch positioning problem
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@562536 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 18:09:41 +00:00
Andrew C. Oliver
222e406a69
you can now protect files with writeProtectWorkbook
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@557333 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 17:00:14 +00:00
Yegor Kozlov
9e320e3f37
keep the javadoc compiler quiet
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@552525 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:08:26 +00:00
Andrew C. Oliver
e794d7e85c
oops...forgot these
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@552522 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:02:58 +00:00
Andrew C. Oliver
b8933243ec
Now can protect sheets with a password. So everyone may cease whining about it
...
already :-)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@552425 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 08:10:28 +00:00
Nick Burch
313191f5aa
Yet more javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551914 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 15:01:01 +00:00
Nick Burch
63ca62be36
Lots more javadoc warning fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551912 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 14:48:00 +00:00
Nick Burch
aaf2c3119e
Some more fixes for javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551908 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 14:18:11 +00:00
Rainer Klute
cd3e480727
Restored the cast: JDK 1.4 needs it. :-(
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550886 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 17:58:28 +00:00
Yegor Kozlov
ada61241db
make the code compatible with JDK 1.4.2
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550726 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 08:00:37 +00:00
Rainer Klute
0191b2e01b
Removed unnecessary cast.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550566 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 17:58:28 +00:00
Rainer Klute
05347bb63d
Consistency check added when reading property set stream. An IllegalPropertyDataException is thrown if the property set stream is larger than it claims to be.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@550021 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 07:44:47 +00:00
Nick Burch
565528df7d
Add a new method on HSSFDateUtil of isADateFormat, which will cope with both internal excel date formats, and custom date formats the are for dates (plus test)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548044 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 15:27:23 +00:00
Yegor Kozlov
3f1c045b5a
replace Jakarta POI --> Apache POI in package.html files
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544742 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 06:42:17 +00:00
Nick Burch
d2a19f329c
Replace the single method JavaDoc copied from the JDK with our own documentation, which is possibly also easier to grok
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544197 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 18:22:18 +00:00
Andrew C. Oliver
1a13734e19
http://issues.apache.org/bugzilla/show_bug.cgi?id=23951
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544151 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 13:52:57 +00:00
Nick Burch
0943aed6e8
Detect, and report a meaningful error, if we come across an Office 2007 XML document
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@531419 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 10:45:49 +00:00
Yegor Kozlov
01e84ba7f0
applied the patch submitted in Bug 38976: added createPicture to HSSFShapeGroup
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529206 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 11:12:03 +00:00
Yegor Kozlov
588f61fa1e
applied the patch submitted in Bug 41223: Simple image extraction for HSSFWorkbook
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529196 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:48:20 +00:00
Yegor Kozlov
97e991ec6e
Fix for bug 41946: remember if the complex part of an array property is empty and write back the original empty data
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@527816 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 07:36:13 +00:00
Yegor Kozlov
bfc32c3190
fixed bug 41761: NPE when serializing a workbook with empty rows
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520416 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:59:29 +00:00
Yegor Kozlov
8a3e83c0df
improved work with cell comments
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@517261 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 15:43:14 +00:00
Andrew C. Oliver
5868b3f7f1
fix amateur hour coding mistake
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513609 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 03:48:55 +00:00
Andrew C. Oliver
d26d6811fd
http://issues.apache.org/bugzilla/show_bug.cgi?id=40548
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513605 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 03:13:13 +00:00
Andrew C. Oliver
89bfe86875
Allow user defined named ranges. Calling super doesn't seem to break anything and throwing the
...
exception prevents writing rationale files with user defined named ranges... Open to discussion
if anyone knows why we're being so fickle here...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513604 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 02:53:06 +00:00
Yegor Kozlov
8af09b2475
not autofit for formula cells
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@511909 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:17:26 +00:00
Yegor Kozlov
5d19ceee38
support for auto-sizing worksheet columns
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@507076 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 16:25:55 +00:00
Yegor Kozlov
d49f3d91a3
changing attributes of existing cell comments is reflected after save
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501875 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 16:14:23 +00:00
Mark Emlyn David Thomas
7b3258a456
Add standard licence header for src/java directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496526 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:46:35 +00:00
Rainer Klute
834dcb151d
License comment fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496419 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:56:52 +00:00
Nick Burch
11adac96b2
Yegor's patch from bug #41242
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:38:54 +00:00
Nick Burch
e423cc45ed
Comment support from bug 41198, patch from Yegor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:02:22 +00:00
Henri Yandell
c5b9d25328
Switching from ASL 1.1 to AL 2.0 - no one had a reason for these being this way on the mailing list
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491503 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 22:28:52 +00:00
Henri Yandell
81357fd328
Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:00:02 +00:00
Henri Yandell
094505af85
Applying dos2unix on some of the Java files. The copy2license script isn't 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
2006-12-22 20:56:04 +00:00
Henri Yandell
fca4623791
Applying the copy2license.pl script (with tiny modification to allow for 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
2006-12-22 19:18:16 +00:00
Nick Burch
b2535a5b58
When sorting the contents of a directory, do so in a way that doesn't upset 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
2006-12-12 18:21:41 +00:00
Nick Burch
3f3a52e12b
Support Excel files which contain a WORKBOOK entry, rather than the usual Workbook one. Fixes bug 40840
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480987 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 16:15:55 +00:00
Jason Height
8d29205cbd
Bug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@442183 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 11:34:49 +00:00
Jason Height
19ced80f3c
BUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a 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
2006-09-08 21:09:48 +00:00
Amol S. Deshmukh
373e9d5613
replaced use of String.contains(..) with String.indexOf(..) >= 0 to make it JDK1.4 compatible
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@438085 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 14:50:39 +00:00
Jason Height
5e3eb6beff
Just removed a bunch of unused imports etc. Reduces eclipse warnings
...
Jason
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 07:47:00 +00:00
Jason Height
d22cec2588
bug 23631: support for getting the current pane information in excel
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437930 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 03:27:11 +00:00
Jason Height
2bbff11ea5
bug 31044: Corrected parsing of references which contain double sheet names 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
2006-08-28 12:18:10 +00:00
Jason Height
1b451b3e8a
Bug 33736: Applied patch for Column Hiding. Thanks
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437526 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 04:44:32 +00:00
Jason Height
602869877e
Bug28755: CellReference will throws IllegalArgumentException when an illegal cell reference is provided.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437522 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:54:04 +00:00
Jason Height
bde0ed706b
Bug36646: Ret3dPtg to include quotes when sheetname contains a space.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437519 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:39:13 +00:00
Jason Height
c522b4ff39
Removed EXPERIMENTAL indication on the formula support.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437371 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:03:14 +00:00
Jason Height
5d8423bd13
Added explicit RecordFormatException when a FilePass record (indicating that the workbook is encrypted) is encountered.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437370 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:00:36 +00:00
Jason Height
b5ad05cdd1
Bug 38796: Check for null in PageBreakRecord
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437368 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 11:17:22 +00:00
Jason Height
b0336924a4
Throw exception rather than returning NO IDEA SHARED FORMULA
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 01:04:53 +00:00
Jason Height
6e9b265462
Forgot to reset shared formula option during conversion
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437128 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:52:24 +00:00
Jason Height
76a2ebcf6e
Found a case where the shared formula does not resolve. This was in the test 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
2006-08-26 08:23:22 +00:00
Jason Height
6759fe7790
bug 40285: Corrected index of CellIterator. In addition made CelIterator obey the Iterator contract wrt exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@436986 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 22:24:47 +00:00
Amol S. Deshmukh
c371aa983d
1. when formula parse fails, reported error now includes the "pointer"
...
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
2006-08-24 16:42:52 +00:00
Jason Height
3f82bd9b71
Bug: 40267 squashed.
...
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
2006-08-18 07:44:57 +00:00
Sean Sullivan
3e447c8572
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 05:28:45 +00:00
Amol S. Deshmukh
ab27ce3720
In setCellFormula(String) the Ptg stack in FormulaRecord is cleared before 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
2006-08-09 20:26:40 +00:00
Amol S. Deshmukh
c17abf116c
bugfix 38396: Exponential numbers are now handled by the formula parser
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430132 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:03:36 +00:00
Jason Height
6c2dba2f3d
Made a bit of a meal out of the Shared formula patch, some of our test cases 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
2006-07-27 14:15:11 +00:00
Jason Height
94429ddb32
SHARED FORMULA SUPPORT:
...
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
2006-07-25 14:30:34 +00:00
Jason Height
79d49c2b67
Bug 17890: Corrected exception text for zero byte file.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425384 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 12:19:31 +00:00
Jason Height
3ffa62ef21
Clean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with 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
2006-07-25 11:50:55 +00:00
Jason Height
4aea586fe5
Exception Chaining: Added support for java 1.4 style exception chaining. 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
2006-07-24 12:40:25 +00:00
Jason Height
f20d43c9b3
Bug 38486: Added handling of special 0x40 (64 dec) color.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425023 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:18:48 +00:00
Jason Height
8f60a2dbd8
Bug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@424685 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 06:46:06 +00:00
Nick Burch
19894ffa53
Helper method for when moving stuff about in an array, plus test
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418607 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 15:21:12 +00:00
Nick Burch
19a3fe9265
Allow fetching and changing the character set, eg to support wingdings fonts (bug #39389 )
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414842 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 14:48:09 +00:00
Nick Burch
afcd99d736
Fix for bug 39800 - if the Array size in the simple block doesn't inclde the 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
2006-06-13 16:59:34 +00:00
Nick Burch
5d14b4debb
If given an empty (but not null) byte array to get a whole string from, 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
2006-05-10 13:23:48 +00:00
Rainer Klute
ad025884e4
Forgot to check in my nit-picking grammatical changes in comments.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400278 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 09:56:19 +00:00
Rainer Klute
b495e0f3c4
Support for many, many character encodings added. Thanks to Trejkaz
...
<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
2006-05-06 09:52:19 +00:00
Glen Stampoultzis
bea0a04d24
Support for line thicknes through escher graphics 2d interface.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 00:18:16 +00:00
Glen Stampoultzis
6f7d2e3b76
Updated to support lines for the EscherGraphics2d draw() call.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@396821 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 09:36:39 +00:00
Rainer Klute
bb7ebd3492
* Writing support added to the SummaryInformation and 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
2006-03-03 16:57:55 +00:00
Shawn Laubach
a81ec9f00f
Fixed an issue with it not compiling.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 21:16:27 +00:00
Shawn Laubach
aab09332e7
Added the ability to set the default style for an individual column in a sheet.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371080 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:18 +00:00
Jason Height
84e47bd7bb
Bug37630: SQUASHED! Array Ptgs now implemented (at least the read and write functionality. No means to modify (yet!))
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@370987 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 05:40:07 +00:00
Jason Height
1d00be095e
BUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369729 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 09:08:23 +00:00
Jason Height
7758ae37db
BUG 37056 & BUG 37058 fixed
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@368554 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:19:36 +00:00
Jason Height
8e822e3baf
Multiple clone of same sheet now generates unique sheet name BUG 37416 fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@366110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:29:36 +00:00
Jason Height
b57336834b
Fixes to Unicode support. Believe that most unicode issues are now fixed. Bug 37622 & Bug 22873 squashed.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365609 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:41:36 +00:00
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
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
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