Commit Graph

766 Commits

Author SHA1 Message Date
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