Commit Graph

1821 Commits

Author SHA1 Message Date
Nick Burch 92cb3654cb Note about iterators
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600904 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:05:33 +00:00
Nick Burch 12705fe743 Workaround to avoid a NPE for Word Documents that are missing their ListTable (bug #44003)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600896 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 11:41:11 +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 d09fea6259 Update changes list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@597655 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 12:54:23 +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 52d3ba08e0 Add method to return the number of styles (bug #43883)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@595701 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 15:25:55 +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 c7fd7ea9f8 added a note to re-use fonts instead of creating a font for each cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@592521 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:54:50 +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 d6e8b3572b Fix tab vs space issue in documentation code block
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@590024 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 10:24:51 +00:00
Nick Burch 75e57d9414 Add in a (disabled) test for bug #43670 (not yet fixed)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589417 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 20:56:34 +00:00
Nick Burch a1ed3f51e4 A bit more on HDGF LZW compression, but it's still not quite complete
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589233 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 22:50:41 +00:00
Nick Burch 90b1f22b4d Update changes list, and add text extraction to the HSSF docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@589232 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 22:49:57 +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 249c21032b HDGF progress update
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584723 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 10:43:37 +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
Nick Burch 7774616a7d Stub out the HDGF compression routine, and tests for it. Document the first slab of the compressed data in the test, so it's easy to see if we're generating it properly. (Have yet to implement the compression support yet though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584534 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 12:42:47 +00:00
Nick Burch 786af85cc0 Replace the HDGW LZW engine with a fully documented, ASL licenced version. (Doesn't do compression yet, but is a much better start for that)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@584414 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 15:46:09 +00:00
Nick Burch 6b70b7cfad Slightly update the supported formats information, and explicitly say we don't support the OOXML file formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@583453 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 12:34:19 +00:00
Yegor Kozlov 8fc97ac835 update the change log
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@581034 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 18:40:59 +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
Yegor Kozlov acc1f7434d roll back to the previous version.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579733 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 17:51:08 +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 b151061e97 Implement the date function, patch from Pavel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579244 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 13:37:02 +00:00
Nick Burch 283e0ba625 Implement the date function, patch from Pavel
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579243 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 13:36:36 +00:00
Nick Burch 5a56f23398 Improvement from Pavel - if we've already parsed a formula then evaluated it, don't re-do the parsing the second time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@579197 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 11:08:57 +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 22d3036135 Move POIDocument out of the scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 11:57:05 +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 c733acf8b4 Convert to use POIDocument
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576507 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:34:48 +00:00
Nick Burch ed2d78b08b When writing out a HSLF file, optionally also write out all the different OLE2 streams, and not just the normal HSLF related ones
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576505 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:30:31 +00:00
Nick Burch 312b7ff2dc Ensure that evaluateInCell sets the underlying cell type properly (fix from Pavel Krupets)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576504 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 16:29:07 +00:00
Nick Burch c4ca492849 Implementation of the Day function from Pavel Krupets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576492 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 15:58:54 +00:00
Nick Burch 7c257557fa Fix the indenting on write(), which has been messed up for an age
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@576475 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 15:21:34 +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 7356dd361c support for adding Picture to ShapeGroup in HSLF. See Bug 43323 for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@573955 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 07:38:35 +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 a82e65ea7b Support for getting OLE object data from slide show. See Bug 43247 for details.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@573872 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:12:29 +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 3d40a25d36 Changelog update
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569102 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 18:22:06 +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 6e2b416925 Implementation of Month and Year functions, from Guenter Kickinger (bug #43199)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@569062 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 16:33:36 +00:00
Nick Burch ac3c57b0d8 When trying to tell if a PPT file is encrypted or not, try to avoid an AIOOB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@568949 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 12:03:20 +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 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
Nick Burch 6708ebde80 Patch from David Law in bug #43093 - handle Area3D formula references that refer to a different sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@566157 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 13:58:12 +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
Yegor Kozlov 65c68651ab fixed bug 42620: More than one slide fails to open in OpenOffice. Fix: UserEditAtom.MaxPersistWritten wasn't updated when adding new slides.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@563185 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 16:49:47 +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
Nick Burch c90ce0e7ce Add stub hsmf documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@554782 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 22:50:00 +00:00
Nick Burch ca73f5eb7e Initial HSMF (outlook) support from Travis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@554774 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 22:19:21 +00:00
Nick Burch af86158ea2 Update the homepage for 3.0.1 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@553874 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 13:27:15 +00:00
Nick Burch cdd0ecd84a Update the changelog with a couple of things
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@552532 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 16:24:00 +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
Nick Burch 4461ddc84e Fix a whole slew of javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551903 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 14:09:07 +00:00
Nick Burch 25f21236cd Several TLP tweaks and typo fixes in the documentation. Update the changelog for recent commits, and add some initial documentation on HDGF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551309 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 20:19:18 +00:00
Nick Burch 3f4950fa82 Include a test for the text extraction code. Update code to use POILogger instead of System.err. Update the NOTICE file for the TLP change, and add entries for JUnit and the small GPL v3 bits of HDGF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551273 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 19:00:35 +00:00
Nick Burch 27f71146d8 Lots more HDGF support for chunks, and add support for basic text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551258 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:34:17 +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 f6e06619e7 fixed [Bug 42677] - HSLF SlideShow write() issues on tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550731 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 08:09:24 +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 d04f8956c5 Make a start on processing the commands within the chunks, and their values. Includes some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549616 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 21:24:25 +00:00
Nick Burch 2a0276c665 Start on processing the commands stored within a HDGF chunk, plus initial tests for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549588 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 19:28:04 +00:00
Nick Burch 8ff8c4733c Tweak test to match last V11 related change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549111 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 13:58:14 +00:00
Nick Burch 456d639e55 Improved support for chunks and chunk streams, plus tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548870 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 22:41:33 +00:00
Nick Burch 0df13bee23 Make a start on supporting Chunks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548836 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:55:30 +00:00
Nick Burch 79823fed3e Add a developer helper class, which prints out the stream+pointer structure of a visio file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548525 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 23:00:36 +00:00
Nick Burch 44288ba5e5 Convert HDGFDiagram to using the new pointer and stream code, and add tests for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548518 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 22:44:56 +00:00
Nick Burch 58a5831942 Basic support for a few key kinds of streams, and tests to go with this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548511 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 22:26:04 +00:00
Nick Burch ca88624f6f Initial HDGF support for streams, plus tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548476 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 20:24:39 +00:00
Nick Burch 407d10ffd1 Initial support for HDGF pointers, along with tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 19:39:29 +00:00
Nick Burch 2d22286924 First stab at hdgf, an implementation of the visio format. Basic support for processing the equivalent of records - pointers and blocks. Now to refactor it into something sane!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548428 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 18:10:57 +00:00
Nick Burch 12cb6d67f6 Add information on the example code for the missing record aware event code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548426 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 18:09:30 +00:00
Nick Burch c22c2e813c Finish off the example use of MissingRecordAwareHSSFListener, which outputs a csv
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548049 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 15:54:52 +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
Nick Burch 8dc3f008cf Make a start on some example code to use MissingRecordAwareHSSFListener for turning a xls into a csv
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548030 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 10:59:48 +00:00
Nick Burch 66e1e4a1cb New projected release date for 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@545492 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 12:35:05 +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
Nick Burch b813444d47 Fix two broken links
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544172 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 15:48:34 +00:00
Nick Burch a66d19259c Add a few more updates to the change log
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@544165 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 15:26:48 +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 7397304eed Lots more Jakarta POI -> Apache POI, and poi-user@jakarta -> user@poi changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@543466 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 11:39:48 +00:00
Nick Burch 1503f8171f Update the group and project logo to account for TLP
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@543456 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 10:36:12 +00:00
Yegor Kozlov c5a4a5b891 encode unicode chars in HSLF unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@543411 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 07:06:51 +00:00
Nick Burch ab160b0ca4 Update the main .pom file based on advice from the repos team. Include the redirect pom, which needs to be placed under /poi/, to tell maven to switch to /org.apache.poi/, and detail this new pom in the release guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@543203 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 18:09:57 +00:00
Nick Burch 7d650aff0a A couple more bug fixes for the changelog, and add documentation on the missing record aware event api code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542824 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 14:10:57 +00:00
Yegor Kozlov 49a0737b06 HSLF: readonly support for hyperlinks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542804 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 11:56:46 +00:00
Nick Burch d9c17a60ad Add a few of the recent changes to the chagelog, under the provisional 3.0.1 release tag
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542605 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 18:10:11 +00:00
Nick Burch 9c3846e19a Update Jakarta -> Apache in the build file, and update more of the site
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542597 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 17:32:05 +00:00
Nick Burch 5661c4df7a Further updates to the site
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542593 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 17:18:45 +00:00
Nick Burch d9f321721b Start on updating the site for Jakarta -> Apache
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542587 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 16:51:41 +00:00
Yegor Kozlov aeaf8fe21f fixed bug 38256: RuntimeException: Couldn't instantiate the class for type with id 0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542453 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 08:32:56 +00:00
Yegor Kozlov 28b2906621 support for text bullets
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@542179 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 09:45:09 +00:00
Yegor Kozlov bdd52c732f fixed bug 42520: NPE in Picture.getPictureData() and bug 42524: NPE in Shape.getShapeType(); Also changed the code to write messages to POILogger instead of System.err/System.out
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541867 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 07:22:51 +00:00
Yegor Kozlov 09b709f426 fixed bug 42486: Failure parsing a seemingly valid PPT. Some of the assertions in ExHyperlink were too strong. Write to log instead of throwing exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541632 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 13:03:26 +00:00
Yegor Kozlov 3bcdf011d1 added support for TitleMaster object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541622 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 12:04:45 +00:00
Yegor Kozlov 581fb11400 fixed bug 42484: NullPointerException from ShapeGroup.getAnchor()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541281 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 12:09:34 +00:00
Yegor Kozlov eb267bb14a fixed bug 42485: All TextBoxes inside ShapeGroups have null TextRuns
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541274 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:38:36 +00:00
Yegor Kozlov ddef996756 throw HSLFException instead of RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541267 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:05:24 +00:00
Yegor Kozlov 8d87bbd972 return null instead of throwing exception when slide master is not found
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541266 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 11:04:22 +00:00
Yegor Kozlov ba9e3eb545 applied patches from bug 42474: (1) Incorrect matching of notes to slides and (2) NPE in RichTextRun.isBold() when the RichTextRun comes from a Notes model object
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@541219 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:52:04 +00:00
Nick Burch 1687be32a1 Give more guidance on where to put distribution files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540666 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:00:24 +00:00
Nick Burch a705ca03a9 Update dates to ISO 8601 format, and copy data from changes to status
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540659 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 17:39:34 +00:00
Nick Burch 73394defbc Update the release documentation to take account of voting on releasing artificats, and also how to do that without ending up with artificats containing the wrong version numbers or dates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@540546 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 11:56:48 +00:00
Nick Burch b6fedbefd9 Initial version of a Missing Record Aware shim on HSSFListener. Includes limited tests, but not yet any documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539462 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:27:04 +00:00
Nick Burch 76a1ba7a57 Add some entity definitions that all our xdocs refer to, but which weren't there. Allows our xdocs to validate with an external xml validator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539454 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:19:12 +00:00
Nick Burch 80249d9780 If the apparent location of the current user atom is past the end of the data, then the file's clearly corrupt, so throw a better exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539453 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 13:17:41 +00:00
Nick Burch 5d9a2d947a Updates for 3.0 being released
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@539409 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 12:06:09 +00:00
Yegor Kozlov 8486f22a4b HSLF docs updated: added a note on using HSLF when graphical environment is not avaiable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 17:09:31 +00:00
Yegor Kozlov 7c802c0d67 HSSF docs updated: added a note on using HSSFSheet.autoSizeColumn in headless mode and added a note on how to read images from a workbook
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535623 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 15:35:39 +00:00
Nick Burch ea1de5f967 Add a note about using Cocoon to do XML -> XLS, since people have been asking me about this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535137 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 09:25:06 +00:00
Nick Burch 418490df0e Update the changelog
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@534753 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 08:24:45 +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 5161e63400 cleaning the code before release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@530031 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 14:22:55 +00:00