Commit Graph

397 Commits

Author SHA1 Message Date
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
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
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
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
e9107b8aca Further font size tweaks for autosizing test (macs are even odder...)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610496 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 18:38:44 +00:00
Nick Burch
a4caea39b5 Font sizes can vary slightly between machines, so use small ranges not absolute numbers when testing column autosizing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610481 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:47:00 +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
dc0a0b867a Add a further test to TestHSSFRow which verifies that bug #43901 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610340 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 11:12:16 +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
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
26f6e5a716 Add un-fixable testcase for bug 43493
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610097 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 19:11:22 +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
a4ae0c47c7 New tests for setLandscape, which seems to indicate that the problem reported in bug #43693 is incorrect
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609968 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 13:28:19 +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
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
b1b95ddf08 Stub out sheet hiding tests, so we have a framework for when sheet hiding is supported (bug #43937)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601288 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 10:51:20 +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
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
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
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
Yegor Kozlov
0ca5301ede fixed failing test. The patch provided in Bug 43489
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579730 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 17:43:52 +00:00
Yegor Kozlov
1d53f29662 commented out a failing test until we find the reason.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579546 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 09:55:31 +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
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
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
1998bb30a5 Add in missing copyright headers to a couple of new testcases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566198 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:41:46 +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
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
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
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
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
b538a0a21b testcases for bugs 38266 and 40738
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@529197 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:49:47 +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
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
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
Avik Sengupta
adb7397d71 testcases for still unfixed bugs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496739 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 15:52:31 +00:00
Avik Sengupta
ef6a48b79e Testcases for bugs. Thanks Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496633 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 09:23:18 +00:00
Mark Emlyn David Thomas
2c47c06087 Add standard licence header for src/testcases directory
Set svn properties where not already set

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496532 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:00:17 +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
2d415f54fa copy2license run on these (after a bit of munging)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489765 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:07:34 +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
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
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
Amol S. Deshmukh
8a926c028c test case that checks to see if a case of MissingArgsPtg in the formula string is handled correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434425 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 16:41:12 +00:00
Nick Burch
e3ba92ab99 On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414851 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:27:24 +00:00
Nick Burch
09d91e749f On some JVMs, the problem family dialog has a capital D - change the skips to also skip on Dialog (should hopefully fix gump errors)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414848 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:21:30 +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
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
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
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
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
12b80bc7a5 added failing tests for singleCell NamedRange creation (testNamedCell_1 & testNamedCell_2).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353747 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:11:48 +00:00
Avik Sengupta
ca99a60e44 bug 34575 fixed, thanks Amol
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353744 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 16:01:06 +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
1ae710d3db new testcase
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353703 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 18:41:19 +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
7b0a3977f4 testcase for bug 34775
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353692 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 15:13:04 +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
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
Avik Sengupta
12c6d4bb82 testcase for 33082, which is now fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353668 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 14:34:39 +00:00
Avik Sengupta
f6341e8422 unfixed testcases, so you know what to fix :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353666 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 13:23:34 +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
3ba0ccc9a8 additional tests for DBCS sheet name
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353655 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:44:06 +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
Avik Sengupta
b05501d7b9 corrected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353653 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 13:33:02 +00:00
Avik Sengupta
5bb531e555 testcase for bug 34021 , already worked fine
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353647 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:12:14 +00:00
Avik Sengupta
3d73fac22e new tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353646 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:04:42 +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
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
Jason Height
dd6a35b1bd Implemented row bounds. Will raise an IndexOutOfBoundsException if the excel limits are not observerd.
Interestingly column bounds were previouly implemented, but row bounds were not.

Anyhow this fixes bug 15102


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353608 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 03:38:20 +00:00
Glen Stampoultzis
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
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
eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Glen Stampoultzis
8ed7b3777f Some fixes to the branch. Lots left to do. Boolean records aren't supported at all. Empty spreadsheets have issues but this is a start on getting things healthy again.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353549 13f79535-47bb-0310-9956-ffa450edef68
2004-04-18 13:02:48 +00:00
Glen Stampoultzis
a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Glen Stampoultzis
b1aed8ff13 Moved some tests that were added to the wrong source branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353544 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 12:22:22 +00:00
Glen Stampoultzis
d335e740b6 Ported the drawing stuff from the rel_2_branch. Given the effort this took I'm really really wanting to move to subversion.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353542 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 11:45:38 +00:00
Avik Sengupta
df53351856 On HEAD, checking in testcase for 25695. But it doesnt work for reason's unknown. And its not this particular issue thats the culprit. getStringValue returns blank..:(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353481 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:12:46 +00:00
Shawn Laubach
be886bc9da 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@353437 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 19:29:55 +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
58623a5194 testcase for bug 18800
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353425 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 17:20:39 +00:00
Avik Sengupta
c66f42d340 Testcase for 24215. sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353423 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 16:46:43 +00:00
Avik Sengupta
003c0e8b30 Testcases for bug 19599 - sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353421 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 10:34:46 +00:00
Avik Sengupta
1e07dbc576 More double byte chars testcases. Sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353419 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:57:30 +00:00
Avik Sengupta
6fdf527896 Testcases.. Testcases! for bug 13224 and all double byte read errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353417 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:43:16 +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
Avik Sengupta
879f01d7fc Testcase for 15375. Sync from Branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353384 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 15:21:15 +00:00
Avik Sengupta
7a9783f2a0 continuation of prev commit - testcase for 14330. Sync from branch Will fail in HEAD due to other issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353382 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:44:24 +00:00
Avik Sengupta
33be098d16 testcase for bug 14460
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353379 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 17:34:10 +00:00
Avik Sengupta
dbe4ddf386 Testcase for bug 15353
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353375 13f79535-47bb-0310-9956-ffa450edef68
2003-10-06 10:20:33 +00:00
Avik Sengupta
6e31332cd1 testcases for bug 23094
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353370 13f79535-47bb-0310-9956-ffa450edef68
2003-09-23 18:47:12 +00:00
Avik Sengupta
2245df361f Sync to REL_2_BR: HSSFCell.getStringValue now returns the formula result if it is a string.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353327 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:19:41 +00:00
Avik Sengupta
e785cbdd46 Syncing to REL_2_BR: Macro functions and related fixes, by Paul Krause bug id:21444
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353326 13f79535-47bb-0310-9956-ffa450edef68
2003-08-31 06:16:57 +00:00
Avik Sengupta
a86adc3f6f Add protect record to sheet. Sync from REL_2_BRANCH ..Thanks Rick Berman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353311 13f79535-47bb-0310-9956-ffa450edef68
2003-08-23 19:01:52 +00:00
Shawn Laubach
306976c259 Updates for the display of gridlines, formulas, and such because I forgot to do this when I added it to the release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353305 13f79535-47bb-0310-9956-ffa450edef68
2003-08-22 17:21:20 +00:00
Avik Sengupta
ed6a27c2be Testcase for bug 13769 .. thanks michael tosdevin
the bug has already been fixed in 2.0pre3


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353279 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 20:00:03 +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
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
Shawn Laubach
28d24b7126 Test case to check that the correct header and footer is found (reference bug #21439).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353198 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:18:56 +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
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
7374603552 removed non-multiplatform/1.3.x unit test
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353085 13f79535-47bb-0310-9956-ffa450edef68
2003-05-06 12:41:37 +00:00
Avik Sengupta
b59b8abe8e Addition of GreaterThan and LessThan in formulas (IF Functions)
Originally submitted by Cameron Riley (PR 16392). Thanks.
Added simple tests at high and low level, more complicated cases to be tested
<= and >= probably still wont work!
Had to apply diff by hand, one horrible line at a time (yikes!!)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353081 13f79535-47bb-0310-9956-ffa450edef68
2003-05-04 18:22:09 +00:00
Andrew C. Oliver
5b16f75117 line feeds are good
PR:
Obtained from:
Submitted by:
Reviewed by:


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


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353065 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 16:39:01 +00:00
Avik Sengupta
cd1a9a6452 Further to bug 17491:set sheet order - now made accessible from usermodel, rudimentary testcase added. Testcase to be enhanced.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353032 13f79535-47bb-0310-9956-ffa450edef68
2003-03-18 19:26:12 +00:00
Danny Muid
83b4c947da Support for the SUMIF formula and non-alpha string literals
PR:
 Also fixes Bug #17582
Obtained from:
Submitted by:
 Test case for non-alpha string literals provided by ext-jens.riis@nokia.com (Jens Riis)
Reviewed by:
 Thanks Avik for your FormulaParser help


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353028 13f79535-47bb-0310-9956-ffa450edef68
2003-03-17 04:47:58 +00:00
Danny Muid
9dfd573ce7 FormulaParser changes to support IF function(s)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353027 13f79535-47bb-0310-9956-ffa450edef68
2003-03-15 01:57:41 +00:00
Danny Muid
8fca746cb1 Added remove and another PrintArea setting method and documentation update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353025 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 21:52:37 +00:00
Danny Muid
ad2d4ed3eb Print Area Patch
RFE Bug #14089
 Also Includes Name Reference refactoring to support references of the form: Sheet1!$A$1:$B$4 instead of Sheet1.$A$1:$B$4
PR:
 Bug #9632
 Bug #16411
 Bug #16315
 Bug #13775 (1.5 Bug)
Submitted by:
 testMultiNamedRange (TestNamedRange.java) Test Case Submitted by czhang@cambian.com (Chun Zhang)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353021 13f79535-47bb-0310-9956-ffa450edef68
2003-03-06 20:41:17 +00:00
Avik Sengupta
163938a466 testcase for changing sheet order
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353019 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 17:55:36 +00:00
Avik Sengupta
e378cb0b2d fixed clone sheet bug. Thanks to:
Alessandro Vernet for a patch thats part of this commit
Toshiaki Kamoshida for a testcase and lots of debugging
Dennis Doubleday & Henning Boeger for reporting the bugs
Jason Height who wrote cloneSheet in the first place.
Sorry it took so long to patch.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353017 13f79535-47bb-0310-9956-ffa450edef68
2003-03-01 14:27:43 +00:00
Shawn Laubach
8ca979d116 Fix for bug #15019. NullPointerException in shiftRows. Added the test case and moved the other test case into the file. Put Toshiaki Kamoshida as an author of the test case. Test failed. Added patch. Test worked.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353004 13f79535-47bb-0310-9956-ffa450edef68
2003-02-09 21:12:35 +00:00
Glen Stampoultzis
8d97fa765a Support for freezepanes / split panes / header rows and columns on printouts... see documentation for details.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353002 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 10:29:45 +00:00
Avik Sengupta
30e58e3952 PR: 16145 - tests delete their output files
Submitted by: Brian Sanders


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352988 13f79535-47bb-0310-9956-ffa450edef68
2003-01-26 20:34:39 +00:00
Avik Sengupta
1f65eb415b added new files for custom palette patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352979 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 15:09:15 +00:00
Avik Sengupta
5052940511 PR:15677
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352975 13f79535-47bb-0310-9956-ffa450edef68
2003-01-01 09:24:39 +00:00
Glen Stampoultzis
04e78aae67 Some reformatting only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352965 13f79535-47bb-0310-9956-ffa450edef68
2002-12-26 23:14:09 +00:00
Avik Sengupta
babbf9384f PR:15324- styles in formula cells; submitted by Danny Mui
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352961 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:36:05 +00:00
Avik Sengupta
edad0e388a PR:15537 - set active cell in sheet; submitted by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352960 13f79535-47bb-0310-9956-ffa450edef68
2002-12-25 17:27:08 +00:00
Avik Sengupta
737b732f1a PR:15037 - Unit Tests for 1904 date windowing; submitted by Dan Sherman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352937 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 09:02:26 +00:00
Andrew C. Oliver
9c206deed3 unit test for date formula
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352898 13f79535-47bb-0310-9956-ffa450edef68
2002-10-24 02:14:29 +00:00
Andrew C. Oliver
8801e51f7e javadoc'd it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352893 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 20:38:00 +00:00
Andrew C. Oliver
4805961e1a totally needs some javadoc (working on it now) .. This is TestHSSFCell
which I wrote for the upcoming commercial version of POI called SOA Workbook.
This just tests that boolean and error cells are supported.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352891 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 19:45:23 +00:00
Glen Stampoultzis
a46e6bdc12 Some changes to record generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352885 13f79535-47bb-0310-9956-ffa450edef68
2002-10-09 00:05:55 +00:00
Shawn Laubach
4119cfbcc4 Added ability to shift rows in a sheet.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352881 13f79535-47bb-0310-9956-ffa450edef68
2002-10-07 16:26:24 +00:00
Shawn Laubach
89e9ee6890 Added test case to ensure that user defined formats get written to the file and then read back properly. Helps ensure bugs like http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13248 does not reoccur.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352879 13f79535-47bb-0310-9956-ffa450edef68
2002-10-04 20:33:22 +00:00
Andrew C. Oliver
7ee81420f4 Bool formulas http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13078
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352865 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 17:37:47 +00:00
Andrew C. Oliver
e8a78447ac http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12349
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352841 13f79535-47bb-0310-9956-ffa450edef68
2002-09-11 02:30:43 +00:00
Andrew C. Oliver
32543e4e8c *read only* support for optimized ifs. meaning "if(A1=A3,A1,A2)" and stuff.
This optimized if has the conceptual clarity of a featherweight elephant
carrier used as a pizza topping.  This concludes my therapy session.  I love
this project :-).  Next week I'll try and get write support underway unless
someone beats me to it.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352839 13f79535-47bb-0310-9956-ffa450edef68
2002-09-06 03:56:47 +00:00
Andrew C. Oliver
a7b2c9fb69 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11721 clone for sheets
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352836 13f79535-47bb-0310-9956-ffa450edef68
2002-09-05 00:26:28 +00:00
Andrew C. Oliver
72965e9a0d Added (test first) test case for if formulas
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352833 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 16:13:48 +00:00
Andrew C. Oliver
0cb31a8d4d http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11010 - great patch by
sergei.... if he'd learn to do diff -u patches instead of the nasty kind I'd be
loving his work alot right now ;-)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352831 13f79535-47bb-0310-9956-ffa450edef68
2002-09-02 02:11:16 +00:00
Andrew C. Oliver
9f435bb6e8 custom data formats patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11068
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352825 13f79535-47bb-0310-9956-ffa450edef68
2002-08-15 14:13:34 +00:00
Avik Sengupta
3b6f854e14 writing string formulas now work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352822 13f79535-47bb-0310-9956-ffa450edef68
2002-08-03 18:16:54 +00:00
Avik Sengupta
a6974eddf4 Refactoring for names, and tests. More to follow. Only publicly viewable change is setSheetName in HSSFName is now private, since it was dangerous.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352736 13f79535-47bb-0310-9956-ffa450edef68
2002-07-01 17:29:31 +00:00
Avik Sengupta
70c361f9dd better support for sheet functions.... more refactoring after i have written tests for named range. Inclueds a fix for bug 9632
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352725 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 18:05:40 +00:00
Avik Sengupta
3d30c55466 first cut support for sheet references. Writing works fine, reading also works except for bug 9632 .. which means that the formula string retrieved is incorrect. will fix soon
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352723 13f79535-47bb-0310-9956-ffa450edef68
2002-06-25 08:35:16 +00:00
Avik Sengupta
1ef8d27a1e fix for bug 9802, we write simple sum ptg, tho we can also read attr ptg. trying to write an attr ptg messes up the class change algo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352687 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 12:40:03 +00:00
Avik Sengupta
ecc283b69d updated tests without ReferenceUtil
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352669 13f79535-47bb-0310-9956-ffa450edef68
2002-06-11 20:20:41 +00:00
Avik Sengupta
2072902e33 Framework to set the class of a token
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352651 13f79535-47bb-0310-9956-ffa450edef68
2002-05-27 21:00:12 +00:00
Andrew C. Oliver
b7511eba7a great patch by craig@adaptivetrade.com (Craig Kelley) --
Now rows are interperated properly as ushorts versus shorts  (java ints)


PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352609 13f79535-47bb-0310-9956-ffa450edef68
2002-05-10 03:01:11 +00:00
Avik Sengupta
65aa73beb4 committing patches supplied by Matthew McClain for bug 8757. This will handle most cases, since majority formulas expect value class params. Ptgs to be refactored for full functionality
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352600 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:23:24 +00:00
Avik Sengupta
9a6fc596dd absolute refs in area references, plus some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352599 13f79535-47bb-0310-9956-ffa450edef68
2002-05-05 16:55:41 +00:00
Avik Sengupta
94998b29f5 Absolute vs relative references now work .. refactored ReferenceUtils in the bargain
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352598 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 15:45:05 +00:00
Avik Sengupta
8ac8b510cf fixed the tests, but they still work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352596 13f79535-47bb-0310-9956-ffa450edef68
2002-05-03 15:47:20 +00:00
Andrew C. Oliver
46e32166e4 wow... I thought I was doing test first....but um...it turns out it already works. Avik ROCKS!!!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352575 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:41:51 +00:00
Andrew C. Oliver
1ea726c701 probably nothing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352573 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:19:28 +00:00
Andrew C. Oliver
3d1b59dbb3 oops left off avik's test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352572 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 01:11:05 +00:00
Andrew C. Oliver
fc90730062 sum formula test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352565 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 02:12:25 +00:00
Andrew C. Oliver
d83491053b More work from avik
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352561 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 00:18:47 +00:00
Glen Stampoultzis
fdf9f51622 Some testing related stuff. The first shot at a sanity tester for XLS record structure. Needs heaps more checks but it's a start.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352558 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 11:10:29 +00:00
Andrew C. Oliver
2297f219ce reference tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352538 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 20:51:55 +00:00
Andrew C. Oliver
110b643b9f tests parenthesis
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352528 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:40:18 +00:00
Andrew C. Oliver
cf24bbd7c6 test first...glen will love it.. . test for concat operator... also added some dumb order of operations
checking


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352526 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 16:10:00 +00:00
Andrew C. Oliver
9482fd0115 comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352523 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 15:42:42 +00:00
Glen Stampoultzis
700efbc430 Fixed up some imports.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352520 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 08:55:11 +00:00
Glen Stampoultzis
df0b9e1447 Removed reference to deprecated call.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352519 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 08:52:41 +00:00
Glen Stampoultzis
58a0ff577e Merge from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352513 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 05:22:19 +00:00
Andrew C. Oliver
223e626598 Test Suite for formulas now verifies and includes exponents
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352510 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 02:03:53 +00:00
Andrew C. Oliver
954fdb9c0c new test for formulas
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352509 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 00:45:10 +00:00
Andrew C. Oliver
cab23de6c8 test for formulas (curently failing with exception don't know why)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352503 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 17:26:38 +00:00
Andrew C. Oliver
d38b6a1ce2 Committed Libin's named range test. Made some rather significant changes to it.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352494 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 13:18:57 +00:00
Andrew C. Oliver
c037e20cb1 made testcase more useful for debugging (all testcases should have a main says me!)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352491 13f79535-47bb-0310-9956-ffa450edef68
2002-04-27 01:46:35 +00:00
Glen Stampoultzis
6805caa4dc Merge from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352479 13f79535-47bb-0310-9956-ffa450edef68
2002-04-24 14:35:12 +00:00
Glen Stampoultzis
9f0f363953 Fixed a bug I introduced a couple of days ago
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352395 13f79535-47bb-0310-9956-ffa450edef68
2002-04-12 08:26:29 +00:00
Glen Stampoultzis
8291c9dc85 Bug fix & cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352389 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 12:48:00 +00:00
Glen Stampoultzis
c5968d0dd4 findFirstRow testcase...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352363 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 14:03:56 +00:00
Glen Stampoultzis
d3bad2dd93 Testcase for HSSFRow removal bug
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352355 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 12:45:57 +00:00
Glen Stampoultzis
a10d1588c3 Testcase for bug 7653
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352306 13f79535-47bb-0310-9956-ffa450edef68
2002-04-01 11:17:55 +00:00
Andrew C. Oliver
8c00a3324b Applied patches from Loiec Lefeavre
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352216 13f79535-47bb-0310-9956-ffa450edef68
2002-03-15 02:47:56 +00:00
Glen Stampoultzis
ca0e04c819 Fixed author and comment.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352103 13f79535-47bb-0310-9956-ffa450edef68
2002-02-18 11:59:44 +00:00
Glen Stampoultzis
602cbd53c7 Fixed deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352102 13f79535-47bb-0310-9956-ffa450edef68
2002-02-18 11:59:08 +00:00
Glen Stampoultzis
59837a47a8 Added methods for date reading and writing on HSSFCell.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352092 13f79535-47bb-0310-9956-ffa450edef68
2002-02-12 02:19:12 +00:00
Glen Stampoultzis
b6d098cbcc Author tag not valid in method javadoc. Only class javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352091 13f79535-47bb-0310-9956-ffa450edef68
2002-02-12 01:46:39 +00:00
Glen Stampoultzis
b08d62388c Fixed email address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352086 13f79535-47bb-0310-9956-ffa450edef68
2002-02-11 04:23:11 +00:00
Andrew C. Oliver
895297512d Initial revision
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352063 13f79535-47bb-0310-9956-ffa450edef68
2002-01-31 02:22:28 +00:00