Commit Graph

2294 Commits

Author SHA1 Message Date
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
6a9531c36a update status of the latest release on the index page
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@611434 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 15:11:10 +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
cacf0c4fc3 Add several more test files, charting related
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 23:14:32 +00:00
Nick Burch
6560cfb80f Put the anchors where forrest wants them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610560 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 20:50:00 +00:00
Nick Burch
fcf2ab6a94 Update documentation, and add section on whole-workbook recalculating
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610553 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 20:37:06 +00:00
Nick Burch
ab0a81f75a Fix for SharedStringsTable in ooxml excel support, and related test updates now we have more to test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610506 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 18:46:30 +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
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
9726aea084 Add a xlsx sample file with boolean formulas and values in it, as none of the official samples include any booleans!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610376 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 13:04:18 +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
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
c0bab46840 Shuffle some bits of TestFormulaParser into scratchpad, so it can find HSSFFormulaEvaluator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610313 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 09:22: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
5471fcbdce Make the code for adding a new RichTextRun to a TextRun a bit nicer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610169 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:35:53 +00:00
Nick Burch
f06b3921bd Make a start on supporting adding new text to a hslf textrun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610160 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:19:51 +00:00
Nick Burch
39b91d3a6c Tiny bit more ooxml stuff from Ugo (missed in last commit)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610158 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 21:17:48 +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
7096e660c3 Patch from Ugo from bug #44185 - support getting shared strings for ooxml excel files, and further tests for the ooxml excel text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610074 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 17:28:39 +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
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
033dfb4f0c Add a (disabled, as broken) test to show that HXFExcelExtractor and ExcelExtractor basically agree on extracting text from the same file (which they do not quite do yet!)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609941 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:54:26 +00:00
Nick Burch
426659fee3 Fix a few little bits of documentation xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 11:28:07 +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
c4c9251620 Update changelog
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609624 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 14:55:25 +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
Yegor Kozlov
ee6ea8ef2a start a new section for 3.0.2 BETA3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@609142 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 14:03:22 +00:00
Nick Burch
fabb3a53c0 Make the ooxml and ole2 powerpoint extractors more in keeping with the others, and with each other
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608830 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:19:23 +00:00
Nick Burch
f3177bf387 Some matching sets of sample ooxml and ole2 files, along with a plain text description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608826 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:09:57 +00:00
Nick Burch
27b4980c2e For ooxml properties, get the core ones as well as the extended ones, and add tests for this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608500 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 14:28:46 +00:00
Yegor Kozlov
608392128b support for tables in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@608386 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 09:10:32 +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
Nick Burch
c6d225103f OOXML pptx text extractor, and test. Also add jar-ooxml ant task
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607572 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 18:11:55 +00:00
Nick Burch
e5fe6f32bd Make a start on OOXML pptx support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607564 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 17:46:20 +00:00
Nick Burch
faf602abf5 Support for extracting text from ooxml word documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607560 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 16:53:42 +00:00
Nick Burch
40235d1b5e A few small updates to HSSFXML, and start on HWPFXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607554 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 16:21:22 +00:00
Nick Burch
1f1575e1be Improve the xlsx text extraction, and have proper tests for it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607063 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 13:02:17 +00:00
Nick Burch
59f37853cd Make a start on a text extractor for xlsx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607058 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 12:40:05 +00:00
Nick Burch
ae3bd54533 Support getting the low level sheet objects back for an xlsx document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607043 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 11:52:12 +00:00
Nick Burch
dcb99ea54d Shuffle a few ooxml bits about, improve the ant tasks for it, and add in a ooxml container lister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 09:12:57 +00:00
Nick Burch
26b6528d9e Add some more sample ooxml documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@607022 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 09:01:03 +00:00
Nick Burch
cc84a72aac A quick play with OOXML parsing. Uses XmlBeans and OpenXml4J to get at the data. Expect the API to change rapidly in the near future as we discover what works and what doesn't!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606923 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 17:47:27 +00:00
Nick Burch
12cd0bffa1 Update the sample ooxml files to the latest versions from http://openxmldeveloper.org/articles/SampleDocsAugust2007.aspx (previous samples were from a beta)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606920 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 16:44:14 +00:00
Yegor Kozlov
ca66f610e4 fix bug #43781: slide->getShapes->getTextRun returns wrong text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606685 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 09:51:14 +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
76b94fc202 Support for Mid, Replace and Substitute excel functions (bug #s 44095, 44097, 44099)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606172 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:24:54 +00:00
Nick Burch
952c2e002d Patch from bug #44055 - support reading the from field from HSMF messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@606169 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:16:54 +00:00
Nick Burch
f08243b10f Avoid a rare ArrayIndexOutOfBoundsException on some word table stuff (patch from bug #44078)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@604878 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 14:19:19 +00:00
Nick Burch
fc52062484 Add missing setCurrentRow calls to documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603916 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 13:17:49 +00:00
Nick Burch
99b5c68d34 Add comments on which formula related things should go in which of the two test suites
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603538 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 10:30:22 +00:00
Nick Burch
c4fa9cf5f0 Support for the Trim function, and a little enhancement to the formula evaluation test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@603233 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 13:03:53 +00:00
Yegor Kozlov
6a72535ba4 add a note on 3.0.2 beta1 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 07:56:40 +00:00
Yegor Kozlov
57a2ab98fa finish 3.0.2-BETA1 section and start a new one for 3.0.2-FINAL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@601638 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 07:26:32 +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
9c421d2930 Updated date windowing test fixes from bug #43551
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600999 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 17:01:08 +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
44741d2ce1 Add in sponsorship link, as required by pr pmc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600927 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 13:18: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
6ee1aa407f Fix work bug #42799
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600910 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 12:33:24 +00:00
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
Yegor Kozlov
f9a0dbf4a4 fixed misc bugs in the hslf how-to doc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@530029 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 14:21:40 +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
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
0d56d5df4a use POILogger instead of System.err in hslf records. If users want verbose output they should explicitly enable it through -Dorg.apache.poi.util.POILogger option. P.S. I think this should be done through the whole HSLF, i.e. no direct calls of System.out and Sysrtem.err
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@527820 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 07:40:15 +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
Nick Burch
99e3b2389d It seems that some PPT files only have linkAtom + linkDetailsA for their ExHyperlink, and miss the linkDetailsB. For those files, do the right thing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@525127 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 10:13:20 +00:00
Yegor Kozlov
51840d63ad convert from pixels (96dpi) to points(72dpi) when setting picture anchor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@524085 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 13:48:56 +00:00
Nick Burch
5cf00bc2a6 Apply Trejkax's fix from bug #41653, and do a whole load of tests for the HWPF picture stuff. Includes a stub test for the problem identified in bug #41898
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523777 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 17:36:37 +00:00
Nick Burch
5803bf4514 Don't NPE if we have a reference to a note, where there's no core record to go with that note's RefID. Instead, just log it, and pretend the note wasn't there.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@523678 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 11:50:50 +00:00
Yegor Kozlov
c57a5a47d0 fixed bug 41384: Array index wrong in record creation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520893 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:04:32 +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
e3305a7043 excluded rich text and outlines from POI 2.5 limitations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@520398 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:04:49 +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
Nick Burch
2e4f27d57b If the username length in the CurrentUserAtom is clearly wrong, treat it as if there was no username, rather than giving an ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513391 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 15:59:56 +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
Rainer Klute
6ea2f6804a Make this compile for me.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@501314 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 05:49:04 +00:00
Nick Burch
066910f3c0 Add ExObjList support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497107 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 18:09:24 +00:00
Nick Burch
1557708b2a Add ExHyperlink tests against a real file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497090 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:12:26 +00:00
Nick Burch
a2bc714fa3 Add support for ExHyperlink and ExHyperlinkAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497079 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:59:45 +00:00
Nick Burch
255bc5a9c3 Support InteractiveInfo, the parent of InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497061 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:17:46 +00:00
Nick Burch
3577d348c3 Initial, basic support for InteractiveInfoAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@497058 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:05:26 +00:00
Nick Burch
b892245d39 Tweak comments and variable names, to make the wacky colour stuff as BGR not RGB clearer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496782 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:22:38 +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
2b23708839 Add standard licence header for src/documentation/content directory
Add svn properties where not present


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496536 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:11:09 +00:00
Mark Emlyn David Thomas
05e1338a24 Add standard licence header for src/documentation/skins directory
Add XML declaration where not present


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496534 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:06:53 +00:00
Mark Emlyn David Thomas
af9a3f3616 Add standard licence header for src/types directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 23:04:42 +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
Mark Emlyn David Thomas
574a714a91 Add standard licence header for src/resources directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496531 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:55:27 +00:00
Mark Emlyn David Thomas
aeadb0d819 Add standard licence header for src/records directory
Add XML declarations where not present

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496529 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:53:32 +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
Mark Emlyn David Thomas
346cacfbe3 Add standard licence header for src/examples directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:44:18 +00:00
Mark Emlyn David Thomas
0c70803bb0 Add standard licence header for contrib directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496523 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:41:39 +00:00
Rainer Klute
834dcb151d License comment fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496419 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:56:52 +00:00
Nick Burch
16b4ba157a Refactor the TextPropCollection and TextProp classes into their own model package. Some of the logic in StyleTextPropAtom should probably be refactored out too, but that's still to do
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496405 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 17:00:41 +00:00
Nick Burch
0d2f337be6 Fix for bug #41357, by moving byte array creation until after we've decided that we have a valid picture
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496398 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:40:03 +00:00
Nick Burch
3b14ab1eb2 Update the order of the TextProps, as it seems not to be based quite on the mask order. Fix from Yegor, from bug #40143
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496369 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 15:22:39 +00:00
Mark Emlyn David Thomas
dec3b4b591 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496331 13f79535-47bb-0310-9956-ffa450edef68 2007-01-15 14:36:03 +00:00
Mark Emlyn David Thomas
a07ff5e91c Add standard licence header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496329 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 14:27:03 +00:00
Nick Burch
ad857c6fbc Throw an exception if a picture claims to have a negative amount of data. Should avoid problem in bug #41357
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@495578 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 14:19:35 +00:00
Nick Burch
ff124420a0 Handle the fact that StyleTextPropAtom needs to work with a text length that's one larger than the underlying text it represents. (Fix from Yegor from bug #40143)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@495278 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 16:18:30 +00:00
Nick Burch
e7c94a114b Update with new knowledge of how this all works, from bug #41176
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@494519 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 18:51:29 +00:00
Nick Burch
11adac96b2 Yegor's patch from bug #41242
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@493098 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 17:38:54 +00:00
Avik Sengupta
31438381be remove build errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491788 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 12:51:27 +00:00
Avik Sengupta
2544e115b5 update jindent file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491759 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 08:21:56 +00:00
Nick Burch
e423cc45ed Comment support from bug 41198, patch from Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:02:22 +00:00
Henri Yandell
c5b9d25328 Switching from ASL 1.1 to AL 2.0 - no one had a reason for these being this way on the mailing list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491503 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 22:28:52 +00:00
Henri Yandell
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
81357fd328 Applied copy2license script to the files that were converted by dos2unix. ant jar continues to pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:00:02 +00:00
Henri Yandell
094505af85 Applying dos2unix on some of the Java files. The copy2license script isn't picking up the dos line endings. Hopefully not a problem for anyone
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:56:04 +00:00
Henri Yandell
fca4623791 Applying the copy2license.pl script (with tiny modification to allow for more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:18:16 +00:00
Nick Burch
f067316bb0 Try to work with files that don't have a master SlideListWithText, but go straight into a Slides one. Throw a better exception on slides with a mixed first SlideListWithText (see bug 41176 for more details)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@487182 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 11:50:54 +00:00
Nick Burch
5c5dcf0d4f If we have a picture of type 0, don't even bother trying to create a PictureData object for it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@487181 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 11:49:56 +00:00
Nick Burch
59a3012c86 Switch the position of one tag, so an older version of forrest likes it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486305 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 20:52:05 +00:00
Nick Burch
b2535a5b58 When sorting the contents of a directory, do so in a way that doesn't upset Excel when it comes to Macros. Correct logic from Bill, and fix+test from Yegor. See bug #39234
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@486265 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 18:21:41 +00:00
Nick Burch
3f3a52e12b Support Excel files which contain a WORKBOOK entry, rather than the usual Workbook one. Fixes bug 40840
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480987 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 16:15:55 +00:00
Nick Burch
f86c96a2ab Support compressed pictures properly, from bug #41032
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480585 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 14:49:40 +00:00
Nick Burch
5984e70059 Update from Yegor in bug 41046 - support background shapes and fills
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480104 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:55:27 +00:00
Nick Burch
f09b28bcd5 Ditch a few calls to System.out, in favour of calls to POILogger
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480102 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:54:39 +00:00
Nick Burch
0bf725ae46 Fix for bug 41015 - add in another paragraph property
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480093 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:34:20 +00:00
Amol S. Deshmukh
aca2ade290 added amol to the list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@480079 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:05:40 +00:00
Amol S. Deshmukh
b6d7c5ec34 superclass for logical functions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479294 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:15:17 +00:00
Amol S. Deshmukh
ae6f6b3d1a updated to include additional tests for IF()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479293 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:54 +00:00
Amol S. Deshmukh
0bce29d37c initial version
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479290 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:14:11 +00:00
Amol S. Deshmukh
3cad882697 implemented IF() function
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479289 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:13:29 +00:00
Amol S. Deshmukh
c2bd2b7b1c added testcases for functions: if, islogical, isnontext, isnumber, isref, istext, left, right
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479288 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:12:46 +00:00
Amol S. Deshmukh
ad43b3a7ab replaced use of deprecated calls to get string value from cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@479287 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 06:11:36 +00:00
Amol S. Deshmukh
1fd5b611a3 Fixed:
1. evaluateInCell failed if the cell originally contained a numeric value
2. Sheet references were not handled correctly


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@478367 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 23:12:06 +00:00
Amol S. Deshmukh
471bb226a4 removed use of deprecated calls to get the String value of a cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@477928 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 22:17:34 +00:00
Nick Burch
fd3bbdbd1c Detect when the Current User stream is too short, and give a more helpful exception in that case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@477162 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 12:26:51 +00:00
Nick Burch
23303f691f Avoid an exception when getting the default bitmap image size on some JVMs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@474253 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 11:13:55 +00:00
Nick Burch
59ced4d73e Support for DIB picture types, from Bug 40740
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464984 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:12:43 +00:00
Nick Burch
5f167f01b2 Support for Master Sheets from Yegor (bug 40753)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464982 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 18:01:19 +00:00
Nick Burch
966759c29b Don't depend on source files being utf8 for test to work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@464977 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 17:52:18 +00:00
Nick Burch
353eafdd29 If we hit an unknown picture type, don't break completely - report an error but carry on without the picture
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@463202 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 11:26:05 +00:00
Nick Burch
ccc494626e Fix for NPE in bug #40036. The TextBox will still be fairly useless though
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450097 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 15:53:21 +00:00
Nick Burch
9d50165790 FOP fix from bug #39086
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450068 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:54:45 +00:00
Nick Burch
34878d8f01 From bug #38616 - support for extracting images from word files, plus tests for this
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450066 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:46:39 +00:00
Nick Burch
31e27577bd Don't just assume we'll only have container records for the shape's escher records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@450057 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 14:14:59 +00:00
Nick Burch
93d416796d Handle the case where a StyleTextPropAtom has a mask that codes for more properties than we have data for (+tests for this)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@449983 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 11:19:30 +00:00
Nick Burch
f038906105 Support alignment and indent levels for HSLF - patch from Yegor in bug #40324
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448004 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:47:44 +00:00
Nick Burch
6e1236c74a Improved picture support for HSLF, from Yegor in bug 40388
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@448001 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:37:38 +00:00
Nick Burch
79606540c1 Update a cvs link to an svn one
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@446566 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 10:22:19 +00:00
Jason Height
8d29205cbd Bug 30635: getLastCellNum return last cell num + 1. Made this clear in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@442183 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 11:34:49 +00:00
Jason Height
19ced80f3c BUG 27496: get/setPageBreak and get/getColumnBreak now work correctly if a template excel file is loaded which does not contain PaneRecords is loaded.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@441652 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 21:09:48 +00:00
Amol S. Deshmukh
373e9d5613 replaced use of String.contains(..) with String.indexOf(..) >= 0 to make it JDK1.4 compatible
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@438085 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 14:50:39 +00:00
Jason Height
5e3eb6beff Just removed a bunch of unused imports etc. Reduces eclipse warnings
Jason

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 07:47:00 +00:00
Jason Height
d22cec2588 bug 23631: support for getting the current pane information in excel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437930 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 03:27:11 +00:00
Jason Height
2bbff11ea5 bug 31044: Corrected parsing of references which contain double sheet names ie 'Sheet 1'!F1:'Sheet 1'!F10.
Although i have hacked it a bit such that it gets translated to 'Sheet 1'!F1:F10

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437684 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 12:18:10 +00:00
Jason Height
1b451b3e8a Bug 33736: Applied patch for Column Hiding. Thanks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437526 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 04:44:32 +00:00
Jason Height
602869877e Bug28755: CellReference will throws IllegalArgumentException when an illegal cell reference is provided.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437522 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:54:04 +00:00
Jason Height
bde0ed706b Bug36646: Ret3dPtg to include quotes when sheetname contains a space.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437519 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 03:39:13 +00:00
Jason Height
d636083355 Hopefully fixed scratchpad test org.apache.poi.hssf/record/formula/functions/TestEverything.java from running out of memory and killing gump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437486 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 00:31:36 +00:00
Jason Height
c522b4ff39 Removed EXPERIMENTAL indication on the formula support.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437371 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:03:14 +00:00
Jason Height
5d8423bd13 Added explicit RecordFormatException when a FilePass record (indicating that the workbook is encrypted) is encountered.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437370 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 12:00:36 +00:00
Jason Height
b5ad05cdd1 Bug 38796: Check for null in PageBreakRecord
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437368 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 11:17:22 +00:00
Jason Height
b0336924a4 Throw exception rather than returning NO IDEA SHARED FORMULA
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-27 01:04:53 +00:00
Jason Height
6e9b265462 Forgot to reset shared formula option during conversion
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437128 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:52:24 +00:00
Jason Height
76a2ebcf6e Found a case where the shared formula does not resolve. This was in the test case for the org.apache.poi.hssf.record.formula.eval.TextEverything
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@437126 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 08:23:22 +00:00
Jason Height
6759fe7790 bug 40285: Corrected index of CellIterator. In addition made CelIterator obey the Iterator contract wrt exceptions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@436986 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 22:24:47 +00:00
Amol S. Deshmukh
c371aa983d 1. when formula parse fails, reported error now includes the "pointer"
2. added the case of interpreting a missing argument as MissingArgPtg

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@434426 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 16:42:52 +00:00
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
Jason Height
3f82bd9b71 Bug: 40267 squashed.
Thanks Richard, good catch. Keep it up!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@432511 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 07:44:57 +00:00
Nick Burch
3ed8893246 Access to Saved By Information - patch from Trejkaz in bug #38647
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@431320 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 10:29:49 +00:00
Sean Sullivan
3e447c8572 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430976 13f79535-47bb-0310-9956-ffa450edef68 2006-08-12 05:28:45 +00:00
Nick Burch
ec2a2ca3ca Throw a more useful exception in the case of word95 documents
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430365 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 12:20:24 +00:00
Nick Burch
b11c11fb65 If we're created with an InputStream, check to see if it's really RTF before proceeding
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430363 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 12:12:27 +00:00
Amol S. Deshmukh
ab27ce3720 In setCellFormula(String) the Ptg stack in FormulaRecord is cleared before filling it with new values. Prior to this fix, repeated calls to setCellFormula would keep accumulating Ptgs in the stack although only the topmost "size" number of Ptgs would ever be used.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430137 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:26:40 +00:00
Amol S. Deshmukh
c17abf116c bugfix 38396: Exponential numbers are now handled by the formula parser
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@430132 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 20:03:36 +00:00
Nick Burch
15ab04860a Tweak comments about needing to use svn version, and add pointer to unit tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@429316 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 12:28:15 +00:00
Jason Height
6c2dba2f3d Made a bit of a meal out of the Shared formula patch, some of our test cases failed. Guess that is a good thing. Now working.
Committed patch provided in Bug 40024. Avik, sorry bet you to it.

Committed a patch to Bug 13249. HSSF will now raise an exception if a name is provided that is case-insensitive match to an existing name. In addition the getNameIndex now performs a case-insensitive search. This now matches excel behaviour.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@426082 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 14:15:11 +00:00
Jason Height
94429ddb32 SHARED FORMULA SUPPORT:
Implemented my long standing (but incomplete) patch attached to Bug 26502.

Now shared formula conversion is working. Tested against file attached to Bug 26502 and Bug 18311.

TestValueRecordAggregate fails with the patch at the moment, too tired to look at. Will do tomorrow.

Jason

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425402 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 14:30:34 +00:00
Jason Height
79d49c2b67 Bug 17890: Corrected exception text for zero byte file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425384 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 12:19:31 +00:00
Jason Height
3ffa62ef21 Clean up of HSSFDataFormat. Whilst Bug 22456 was probably not an issue with the previous code, these changes are even better ;-) Squashing Bug 22456 now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425376 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 11:50:55 +00:00
Jason Height
4aea586fe5 Exception Chaining: Added support for java 1.4 style exception chaining. Believe that POI is targeted at 1.4 nowdays so this should not cause an issue.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425026 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:40:25 +00:00
Jason Height
f20d43c9b3 Bug 38486: Added handling of special 0x40 (64 dec) color.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@425023 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 12:18:48 +00:00
Jason Height
8f60a2dbd8 Bug 26916: Corrected javadoc to indicate ArrayIndexOutOfBounds may be thrown.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@424685 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 06:46:06 +00:00
Nick Burch
9356b01d88 Yegor's TxMasterStyleAtom code from Bug #40057
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@423129 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:44:57 +00:00
Nick Burch
bc74b9a09f Add lookups for the common text alignments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@423127 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 16:25:20 +00:00
Nick Burch
774caa9892 Yegor's update from bug #39991 - better identification of what underlying picture data a picture object relates to
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421843 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 09:18:44 +00:00
Nick Burch
e15bce1dd2 Expose the underlying TextRun
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421555 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 09:24:39 +00:00
Nick Burch
c8b4f5798c Add in a main() method, so people can stop moaning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@421238 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 11:22:50 +00:00
Nick Burch
611a6f2fdd Remove a bit of debug code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418856 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 21:27:09 +00:00
Nick Burch
519fa953c3 Get to a consistent indent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418849 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:59:09 +00:00
Nick Burch
9e077b9335 Yegor's Slide Title patch from bug 39948
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418847 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:53:08 +00:00
Nick Burch
1ea2717c6f Add correct detection for encrypted powerpoint files. An exception will be thrown if they are encountered.\n(As we don't know how the encryption is done, we can't do any decryption of these files)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418842 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 20:34:41 +00:00
Nick Burch
ea6f9d9958 Add Nick and Yegor to the list
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418721 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 09:28:11 +00:00
Nick Burch
9f3cfdce35 Support re-ordering of slides, now that we know how slider ordering works
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418612 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:02:20 +00:00
Nick Burch
19894ffa53 Helper method for when moving stuff about in an array, plus test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@418607 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 15:21:12 +00:00
Nick Burch
7175573d2f Hopefully fix bug 39228 - big overhaul of how slides and notes are build, based on Yegor's discoveries. Hopefully, we now return the right slide #, and in the right order
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417541 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 18:15:32 +00:00
Nick Burch
8514bc913e Update Document to offer the SlideListWithTexts by name, and change addSlide to add to the right SlideListWithText. (Based on a bug, the number I don't have to hand, doh\!)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@417434 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 11:42:29 +00:00
Nick Burch
dc9721e77e Add action for alpha 2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414867 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 17:41:12 +00:00
Nick Burch
0a800b06b4 Tweak rich text handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414857 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 16:32:07 +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
Nick Burch
cbe41c08b1 Tweak comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414846 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 15:03:01 +00:00
Nick Burch
19a3fe9265 Allow fetching and changing the character set, eg to support wingdings fonts (bug #39389)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@414842 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 14:48:09 +00:00
Nick Burch
afcd99d736 Fix for bug 39800 - if the Array size in the simple block doesn't inclde the size of the header, make a note of this, and do the same when we write back out
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413933 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 16:59:34 +00:00
Nick Burch
59ff1beb2b Tests for new RichText code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413914 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:46 +00:00
Nick Burch
053951da78 Refactor to allow easy testing of multiple files. Will enable a second file when bug #39800 is fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413913 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:58:24 +00:00
Nick Burch
6f7e6cba29 Hopefully handle the building and using of RichTextRuns correctly. Should include proper handling of the +1 length in the styles (Bug 39177), and shared character/paragraph styles (Bugs 39547 and 38544)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413912 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:57:34 +00:00
Nick Burch
01f4fd56fe Some PersistPtrHolders seem to reference records stored after them. Add a second pass to cope with these cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413911 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 14:54:52 +00:00
Nick Burch
f96f6cad16 Add a currently broken test, which highlights a bug (bug report to follow)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413893 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 13:19:14 +00:00
Nick Burch
6496f86c8c Some initial changes that are needed to fix bug #38544
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413694 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 16:07:29 +00:00
Nick Burch
aebc06f029 New dev program for helping us understand how SlideListWithTexts interact
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413678 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 15:16:44 +00:00
Nick Burch
a12a110062 Add some comments to the code, to help understand why an extra +1 is added (based on discussions in bug #39177)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413671 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:45:07 +00:00
Nick Burch
2d3f5b568e Make the output of the positions easier to understand
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413669 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:44:30 +00:00
Nick Burch
03ce1cdb81 Better handling of zero sized images, and where the picture stream doesn't have enough data left for a full header
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@413658 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 14:06:08 +00:00
Nick Burch
04fba25bc3 Add a quick guide to using the text extractor and friends, since that's a common use
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@409632 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 10:43:42 +00:00
Nick Burch
5b6dec2579 Recurrant typo fix
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@409631 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 10:43:10 +00:00
Nick Burch
9dc69a14b3 Add test for empty constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405757 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 13:24:54 +00:00
Nick Burch
5d14b4debb If given an empty (but not null) byte array to get a whole string from, return an empty string rather than an exception
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405755 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 13:23:48 +00:00
Nick Burch
f80d4eadfa Don't blindly cast children to FontEntityAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405381 13f79535-47bb-0310-9956-ffa450edef68
2006-05-09 10:47:22 +00:00
Nick Burch
e626f3ec08 Fixes from Yegor, from bug #39395
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@405092 13f79535-47bb-0310-9956-ffa450edef68
2006-05-08 16:43:11 +00:00
Rainer Klute
ad025884e4 Forgot to check in my nit-picking grammatical changes in comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400278 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 09:56:19 +00:00
Rainer Klute
b495e0f3c4 Support for many, many character encodings added. Thanks to Trejkaz
<trejkaz @at@ trypticon.org> for the patch!


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@400277 13f79535-47bb-0310-9956-ffa450edef68
2006-05-06 09:52:19 +00:00
Glen Stampoultzis
bea0a04d24 Support for line thicknes through escher graphics 2d interface.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 00:18:16 +00:00
Glen Stampoultzis
6f7d2e3b76 Updated to support lines for the EscherGraphics2d draw() call.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@396821 13f79535-47bb-0310-9956-ffa450edef68
2006-04-25 09:36:39 +00:00
Nick Burch
ca716cdbe5 Tests to go with fix for bug 39374
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395889 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:06:10 +00:00
Nick Burch
121902a2c7 Fix for bug 39374 - handle unicode text runs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395888 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 14:05:42 +00:00
Nick Burch
2e7eca951c Tests for fixes associated with Bug 39324
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395882 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:45:04 +00:00
Nick Burch
1af4f0ca39 Bug fix for newly created bitmask values (part of bug 39324). A few enhancements to make adding new TextPropCollections easier
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395880 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:43:53 +00:00
Nick Burch
9122e79a49 When adding TextBoxes to a slide, make sure we update the PPDrawing's cache of TextboxWrappers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395879 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 13:41:56 +00:00
Sean Sullivan
5261314809 changed CVS references to Subversion
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395766 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 03:31:42 +00:00
Nick Burch
85da377c7d Test to ensure that when we add slides, we can write them back out and everything behaves
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395280 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 15:43:06 +00:00
Nick Burch
4a27fd3c8a Updated test from Yegor, to also test creating text boxes with properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@395219 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 11:41:27 +00:00
Sean Sullivan
52f147ce5d eliminated usage of a deprecated method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394856 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 06:15:45 +00:00
Sean Sullivan
effa2052b4 eliminated usage of a deprecated method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394855 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 06:11:32 +00:00
Sean Sullivan
5b5ac869b3 fixed ArrayIndexOutOfBoundsException in the format(short, double) method
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@394843 13f79535-47bb-0310-9956-ffa450edef68
2006-04-18 05:21:06 +00:00
Nick Burch
1bb312f416 Updates from Yegor: New shape and picture stuff (see bug 39256)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393576 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:48:53 +00:00
Nick Burch
9e9dc0e4d9 Add Yegor's documention on the Shapes and Pictures stuff
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393575 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:47:44 +00:00
Nick Burch
b463116c03 PPT file where the slides are returned in the wrong order, from bug #39228
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:04:05 +00:00
Nick Burch
5d5464b3ad Tests to ensure that the StyleTextProp and RichText stuff plays nicely together
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393553 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:01:11 +00:00
Nick Burch
4bc2ee40a8 Need right date in the test formatter
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393552 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 18:00:38 +00:00
Nick Burch
4ef50e7e94 Fix bug #39177 - Last TextPropCollection needs a length 1 longer than the text that makes it up
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393550 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 17:59:45 +00:00
Nick Burch
03a9571272 Bug fix for writing out the mask for BitMask properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393549 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 17:59:03 +00:00
Nick Burch
9e06090a6e Add a check that just opening a usermodel slidesheet on it doesn't break things
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@393497 13f79535-47bb-0310-9956-ffa450edef68
2006-04-12 16:31:34 +00:00
Nick Burch
0ce1e5a77c Add constructors taking the main objects, rather than just input streams
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391617 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 14:04:32 +00:00
Nick Burch
1e70a2efc7 Fix for 12 vs 24 hour times
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391591 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 11:44:28 +00:00
Nick Burch
94ab8d0aff More HPSF-related beautification
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391590 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 11:43:40 +00:00
Rainer Klute
ff008b3ae9 HPSF-related beautification
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391555 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 07:26:52 +00:00
Nick Burch
4850277501 Convert HWPFDocument to having POIDocument as its parent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391365 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 17:02:14 +00:00
Nick Burch
7fa4feb4bb Create a new Superclass, POIDocument, which handles the property (hpsf) stuff which was previously done by HSLFSlideShow. Add tests for this, and convert HSLFSlideShow to using it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391363 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:50:04 +00:00
Nick Burch
59121bead0 Prevent infinite recursion (leading to stack overflow) on broken documents where a PAP claims to be its own parent
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391084 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 16:46:01 +00:00
Nick Burch
b57714f465 Add more tests to ensure the IDs are still correct after writing out and reading back in again
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389292 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:42:13 +00:00
Nick Burch
2dde4d5774 Fixes/Updates to tests to go with big change in how slides/notes are tied to their text
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389287 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:36:00 +00:00
Nick Burch
5d1dd22d12 Big change in how we tie slides, notes, and their text together. Now make use of the RefID and SlideIndentifier values to pull everything together
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389286 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:35:37 +00:00
Nick Burch
19ff07c8a6 Have more useful information on how the different IDs are used
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389284 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:34:29 +00:00
Nick Burch
15eb02e851 From Bug 38544 - example ppt file where paragraph styles run out before char styles
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389282 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 21:31:31 +00:00
Nick Burch
f2acaed7d3 Developer helper program to try to help match Slide IDs between SlidePersistAtoms and Slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@389234 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 19:42:13 +00:00
Nick Burch
b07df66836 More slide related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388942 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:08:10 +00:00
Nick Burch
446971f3f4 Start to do more useful/sensible things with Slide IDs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388941 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 19:07:52 +00:00
Nick Burch
903bbb2ba6 Tests for adding multiple slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388930 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:36 +00:00
Nick Burch
85b8807855 Fix for adding multiple slides
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388929 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 17:37:04 +00:00
Nick Burch
29a5b2b56b Tests for patches from Yegor (Bug #39097)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388921 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:21:08 +00:00
Nick Burch
7067a15892 Patches from Yegor (Bug #39097), along with some sorting out of indenting, method positioning etc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388920 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 16:20:08 +00:00
Rainer Klute
f213a74d5a Added a reference to Wotsit's Format.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@388403 13f79535-47bb-0310-9956-ffa450edef68
2006-03-24 06:18:45 +00:00
Nick Burch
32740c0bb7 Also grab text from CStrings, which will get Comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387016 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:44:10 +00:00
Nick Burch
30cfb74730 Update docs with info on new code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387014 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:43:40 +00:00
Nick Burch
624aaabf09 Fix for adding slides to sheets which already have some - get the SlidePersistAtom correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387010 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 18:09:20 +00:00
Nick Burch
71eda449e6 Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387009 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:54:17 +00:00
Nick Burch
a193016805 Add Yegor's new slide functionality (see bug 38954), with a bit of refactoring
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@387008 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 17:53:49 +00:00
Nick Burch
9cf5b40189 Tests for improved child record adding code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386997 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:50 +00:00
Nick Burch
7222245b33 Improve the child record adding code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386996 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:29:31 +00:00
Nick Burch
7cfd0162a7 Test for new Environment record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386987 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:10:07 +00:00
Nick Burch
eb53534020 Add an Environment record, and make the code simpler
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386986 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 16:09:51 +00:00
Nick Burch
b7827f2687 Test for new Document record class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386982 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:43 +00:00
Nick Burch
e76e2d8526 Create a Document record class, to do a lot of the common Document stuff for us
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386981 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 15:59:23 +00:00
Nick Burch
00011b1c8e Tests to ensure we create empty StyleTextPropAtoms correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386976 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:41 +00:00
Nick Burch
40dc76c0cf Create empty StyleTextPropAtoms correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386975 13f79535-47bb-0310-9956-ffa450edef68
2006-03-19 14:52:23 +00:00
Nick Burch
8b1721c749 Tests for getting and changing the font of a rich text run
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386873 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 18:56:38 +00:00
Nick Burch
7ce58ff9d1 Support for getting and changing the font of a rich text run
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@386872 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 18:56:26 +00:00
Nick Burch
d3a66fae07 Tests for creating a new Comment2000 record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385356 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 19:19:18 +00:00
Nick Burch
637078aca3 Support for creating a new Comment2000 record
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@385355 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 19:18:59 +00:00
Rainer Klute
bb7ebd3492 * Writing support added to the SummaryInformation and DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are:
** Documentation section about writing standard properties added to the HPSF HOW-TO.
** Example application added showing how to modify the document summary information.
** Testcases added for testing modifying summary information and document summary information.
** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances.

* Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document.

* Improved codepage handling.

* Bug fixed: Integral values were read and written as unsigned instead of signed.

* Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming. 

* Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change!

* Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section.

* Support for low-level reading and writing of Variant.VT_I8 type properties added.

* Unnecessary casts removed.

* Poibrowser's display format changed slightly.



git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 16:57:55 +00:00
Nick Burch
a7f8720bad Finish Comment2000Atom support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381168 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:54 +00:00
Nick Burch
cf9efc65f2 Finish Comment2000Atom support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381167 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:52:42 +00:00
Nick Burch
e27f1f5e98 Tests for Atom for 2000/XP style comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381153 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:29 +00:00
Nick Burch
3d326684a4 Atom for 2000/XP style comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381152 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 20:10:05 +00:00
Nick Burch
c0f9638b82 Add support for converting to/from SYSTEMTIME dates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381144 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 19:54:12 +00:00
Nick Burch
150ebbe994 Add support for converting to/from SYSTEMTIME dates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@381143 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 19:54:02 +00:00
Nick Burch
66e8e1b165 Do the javadoc comment correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377448 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 18:22:55 +00:00
Nick Burch
85610bdb25 Update scratchpad link, and mention extractor for hwpf
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377382 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 14:09:03 +00:00
Nick Burch
1e6596b0e0 Friendly wrapper on HWPF for extracting text from Word Documents
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377372 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 12:59:00 +00:00
Nick Burch
c7793b1b6d Friendly wrapper on HWPF for extracting text from Word Documents
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377371 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 12:58:52 +00:00
Nick Burch
dde8b84f03 Start to support friendly usermodel interface to rich text character properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377216 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 19:01:16 +00:00
Nick Burch
4554ecffdf Start to support friendly usermodel interface to rich text character properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377215 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 19:01:07 +00:00
Nick Burch
8d1355745b More rich text work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377170 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:33 +00:00
Nick Burch
93cac8b323 More rich text work
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@377169 13f79535-47bb-0310-9956-ffa450edef68
2006-02-12 12:56:26 +00:00
Rainer Klute
3dae9ee8ef Replaced "CVS" in the top-lvel files by "Subversion".
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@376062 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:50:58 +00:00
Nick Burch
3258401397 Fix for bug 38526 - If the record claims to be longer than the remaining data, just return null and ignore it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375274 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 13:12:02 +00:00
Nick Burch
64fc6d5410 Record level support for PPT 2000/XP comments (but not yet comment summaries or details)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375233 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 09:25:48 +00:00
Nick Burch
8579775f16 Record level support for PPT 2000/XP comments (but not yet comment summaries or details)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375232 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 09:25:24 +00:00
Nick Burch
11ddcf5db3 Enable CString records
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375076 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:38:29 +00:00
Nick Burch
33cc22eea2 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375075 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:37:18 +00:00
Nick Burch
90f5ba6546 CString support
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375074 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:36:59 +00:00
Nick Burch
7ec90fc228 Add placeholder definitions for 2000/XP Comments
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375069 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 18:15:45 +00:00
Rainer Klute
c6108bfa64 Minor API doc changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@374728 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:08:14 +00:00
Nick Burch
f0ce2543b1 Expose the POIFSFileSystem constructor, so people who already have one find life easier
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371938 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 15:23:52 +00:00
Nick Burch
c7b02dda46 BinaryTagData seems to contain records, but it isn't tagged as doing so. Try stepping in anyway
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371892 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 11:10:49 +00:00
Shawn Laubach
a81ec9f00f Fixed an issue with it not compiling.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 21:16:27 +00:00
Nick Burch
d8d15c3e20 Fix from CVS import - ensure PPT test files are stored as binary
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371348 13f79535-47bb-0310-9956-ffa450edef68
2006-01-22 18:53:29 +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
Nick Burch
4fb1a3e4fe From Bug 38289: Yegor's support for pictures embeded in PPT files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369541 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:27:51 +00:00
Nick Burch
c2a41112ab From Bug 38289: Yegor's support for pictures embeded in PPT files
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369540 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:27:37 +00:00
Nick Burch
3ab6d6c4a8 Sample data from bug 38283, for a PPT file with an embeded picture in it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369539 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 18:19:05 +00:00
Jason Height
7758ae37db BUG 37056 & BUG 37058 fixed
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@368554 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:19:36 +00:00
Jason Height
8e822e3baf Multiple clone of same sheet now generates unique sheet name BUG 37416 fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@366110 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:29:36 +00:00
Nick Burch
7ce353785a Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365617 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:59:43 +00:00
Nick Burch
427c2619da Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365616 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:57:15 +00:00
Nick Burch
730cbcd0d3 Add (and throw) an exception if the powerpoint file is corrupt in a way that some seem to be (first record is of type 0000, and length is 0xFFFF)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365615 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:54:38 +00:00
Jason Height
b57336834b Fixes to Unicode support. Believe that most unicode issues are now fixed. Bug 37622 & Bug 22873 squashed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365609 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 11:41:36 +00:00
Jason Height
b55089d607 Added patch (along with fixes to it so that the unit tests work) for bug 37637
Bug 37622 and 30319 should be fixed. Tested that Euro DataFormat now works.

Ill provide a euro symbol/unicode unit test shortly.

Numerous minor changes so eclipse doesnt give so many warnings (incomplete)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@365561 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 07:24:01 +00:00
Nick Burch
ffb888bc9e More rich text related tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353801 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 22:23:28 +00:00
Nick Burch
e805a38c10 Some support for changing text in Rich text runs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353800 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 22:22:13 +00:00
Nick Burch
d875a88d28 Get a bit further with building up RichTextRuns
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353799 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 21:18:59 +00:00
Nick Burch
f3b0f86095 Simple rich text sample PPT file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353798 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 20:35:46 +00:00
Nick Burch
f7a9a1ca7b Fix NPE in case when we can't find the Document atom: throw an IllegalState instead
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353797 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 10:46:45 +00:00
Nick Burch
efbf7f9f5d Test for extracting text from slide PPDrawings (to ensure bug 37451 is really fixed)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353796 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 17:01:54 +00:00
Nick Burch
b132e8d562 Fix for text runs from PPDrawings (bug 37451), as suggested by Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353795 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 17:01:21 +00:00
Nick Burch
ab08265082 Test data from Yegor Kozlov from bug 37451 - PPT file with text from a text box
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353794 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:33:10 +00:00
Nick Burch
d70b1efce3 Basic tests for model.TextRun, and notes on what tests still need to
be written for it


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353793 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:29:27 +00:00
Nick Burch
cf4e00a052 Handle saving unicode text where the underlying record was byte based, by
swapping the record


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353792 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 13:28:34 +00:00
Nick Burch
67901ee8f9 Tests for updated RecordContainer
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353791 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 23:03:24 +00:00
Nick Burch
dc06a38d0a Bit of refactoring - move child records into parent RecordContainer
class, so we can then have more generic child record modification code


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353790 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 23:03:05 +00:00
Nick Burch
8e1d29cd39 Some further tests for rich text supporting code
(No tests as yet for rich text code, as that's still being worked on)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353789 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 22:26:44 +00:00
Nick Burch
3b6297c63f Lay some of the groundwork for model/usermodel support for rich text
(note - RichTextRun is not fixed, and method signatures might well change)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353788 13f79535-47bb-0310-9956-ffa450edef68
2005-11-07 22:24:15 +00:00
Nick Burch
aa0705ea2e Pass font details + character styling up to the model
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353787 13f79535-47bb-0310-9956-ffa450edef68
2005-09-17 16:44:00 +00:00
Nick Burch
a5d4a16967 Added information from Yegor on font storage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353786 13f79535-47bb-0310-9956-ffa450edef68
2005-09-17 15:40:15 +00:00
Nick Burch
c508058158 List Yegor as co-author on file, since his code contribution was used in the
latest version fo the file


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353785 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 09:34:09 +00:00
Nick Burch
d4add2e368 List Yegor as co-author on file, since his information on Font and Text
Styling is now included


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353784 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 09:34:07 +00:00
Nick Burch
08276ffe43 NCB: Updated documentation on StyleTextPropAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353783 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 20:09:11 +00:00
Nick Burch
66eba605c6 Finish off character style tests, and add paragraph style tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353782 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 19:26:40 +00:00
Nick Burch
c0eac52cd9 Handle internal representation duplication correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353781 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 19:25:02 +00:00
Jason Height
977c73b07a BitfieldFactory update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353780 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:50:24 +00:00
Jason Height
fabc6ef583 Updated to use BitFieldFactory. Appologies for stepping outside my HSSF domain (wont happen again ;-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353779 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:49:41 +00:00
Jason Height
b0f692b92c Performance and memory improvements:
1) using BitFieldFactory
2) HSSFCell doesnt hold onto stale UnicodeString values (gets latest from SST)
3) Default for Encoding in HSSFCell is "do nothing". This will mean duplicate copies of the UnicodeString will not be required, just to change the encoding. The default "string" encoding will be used.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353778 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:48:31 +00:00
Jason Height
d462aa3f80 UnicodeString now does not do the peculiar new String(getBytes("Unicode"),"Unicode") when serializing.
I doubt that this will have an effect on the serialization on non UTF8 platforms, but not having one of these to test on i dont know for 100%.

Please if anyone can try this with their code with a non-8bit character set please do and let us know of any issues


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353777 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:41:40 +00:00
Jason Height
c51554457f Added a factory implementation for BitFields. Will save a bit of memory.
Patch to change all fields to use the factory comming soon.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353776 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 03:27:43 +00:00
Jason Height
c436edb4d4 Removed the containsLabels variable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353775 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:45:55 +00:00
Jason Height
a44b51ac5a Applied patch to convert LabelRecords to LabelSSTRecords from bug19053
Modified slightly so that not all of the records are checked.

Jason


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353774 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 03:40:34 +00:00
Amol S. Deshmukh
f3df5ee67f Fix for Bug#28328
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353773 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 16:26:20 +00:00
Jason Height
5748dfe392 Minor javadoc update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 03:44:59 +00:00
Jason Height
4292bb157a Why is there always one file that gets missed??
Minor fix to correct testcase asd a result of Unicode patch


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353771 13f79535-47bb-0310-9956-ffa450edef68
2005-08-18 07:13:15 +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
Nick Burch
d9c74c316c Add a few more tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353767 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:27:45 +00:00
Nick Burch
426df87c2e For listing the contents of StyleTextPropAtom entries
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353766 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:27:22 +00:00
Nick Burch
f08fb90153 Improved handling of BitMask TextProp entries
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353765 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 19:26:48 +00:00
Nick Burch
5e6d45c31c Update tests to track updates in StyleTextPropAtom
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353764 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 17:52:43 +00:00
Nick Burch
b819b7595c Big overhaul, with lots of help from Yegor
Now correctly handle all the different kinds of stylings, in their twin list format


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353763 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 17:51:46 +00:00
Nick Burch
3824c8b638 Better handle the case of there not being enough data in the record to form
a final CharacterStyle


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353762 13f79535-47bb-0310-9956-ffa450edef68
2005-08-07 15:26:26 +00:00
Nick Burch
4e01b6989f Add some information on fonts, paragraph stylings etc. (Holds the latest
knowledge as encapsulated in StyleTextPropAtom.java)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353761 13f79535-47bb-0310-9956-ffa450edef68
2005-08-07 15:04:46 +00:00
Nick Burch
255fdf3d72 Tests for Font support from Yegor, from Bug #35972
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353760 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 17:16:46 +00:00
Nick Burch
40f7c70483 Font support from Yegor, from Bug #35972
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353759 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 17:16:20 +00:00
Nick Burch
9f2ba8ec8d Add a partial test for changing style properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353758 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 17:37:15 +00:00
Nick Burch
7d4ea7f10e Add support for setting some of the style properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353757 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 17:36:52 +00:00
Nick Burch
cba94f3955 Test code for the new Text Styling record class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353756 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 18:06:48 +00:00
Nick Burch
eb130ea42a Read only support for paragraph styling, and the stylings of the text within it
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353755 13f79535-47bb-0310-9956-ffa450edef68
2005-07-31 18:06:26 +00:00
Amol S. Deshmukh
165eef331f [35799] Added testXFIndexForColumn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353754 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:51 +00:00
Amol S. Deshmukh
c49212ff08 [35799] Used getXFIndexForColAt(short ) to get the default ExtendedFormatRecord for the cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353753 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:12:24 +00:00
Amol S. Deshmukh
482c71e61a [35799] getXFIndexForColAt(short ) added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353752 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 14:11:38 +00:00
Nick Burch
bb8ab29fa0 Contribution from Yegor Kozlov (Bug 35630):
Dumps out the raw contents of a PPT file in XML format


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353751 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 11:31:26 +00:00
Amol S. Deshmukh
3bb1a854df Added quick-guide entry for how to create NamedRanges and NamedCells using HSSFName
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353749 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:15:05 +00:00
Amol S. Deshmukh
60a05ad411 Fix for issue# 35716: additional check added in method hasRange to detect cellrange over a single cell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353748 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 13:12:39 +00:00
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
Nick Burch
eccd114bad Update to handle changed method signature on ddf.EscherContainerRecord.toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353746 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 11:06:58 +00:00
Nick Burch
3f6a46fd4e Move from having the list of classes to use for records from being in here, to being in RecordTypes
Should make adding new record handling classes cleaner and more extensible
(Change inspired by discussions with Yegor Kozlov)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353745 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 17:38:55 +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
Nick Burch
e00185760d Record level dumper of powerpoint files, and their constituent escher parts
Prints out in indented text what occurs where
(Code has existed for a while, but the lookup table used to be just a cut'n'paste from something of unknown copyright status. Now converted to using Yegor's new RecordTypes class, so can be released)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353743 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:57:07 +00:00
Avik Sengupta
3a1dcb4a85 trivial edit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353742 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 15:19:53 +00:00
Nick Burch
fdb11ab3cc Tests to ensure that RecordTypes.java is behaving as expected
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353741 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:37:56 +00:00
Nick Burch
1332c0186a Based on version submitted by Yegor Kozlov
Allows easy access to the names of records armed only with their type, or the handling class for a given type
Also allows easy lookup of a type where you know the name (via the static final class fields)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353740 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 12:37:14 +00:00
Amol S. Deshmukh
88f091b93e fix for issues 34575 and 35527 { fillFields(..) modified }
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353739 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 22:01:13 +00:00
Nick Burch
feec0fdaca Add information about HSLF support that's now present in 3.0 alpha 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353738 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 11:38:50 +00:00
Glen Stampoultzis
ec8c35c2cb Validation issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353737 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 10:32:49 +00:00
Glen Stampoultzis
c9084795b9 Changed for upcoming build
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353736 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 09:59:03 +00:00
Nick Burch
8ce3da07aa Test to ensure that the updating of a slide's notes sheet works correctly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353735 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:06:39 +00:00
Nick Burch
3e42f98d79 Update to match changes in usermodel
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353734 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:06:16 +00:00
Nick Burch
1b45e20595 Use the new "most recent important records" record list when creating notes and slides. Makes the code much cleaner, and means that handling older versions of slides is taken care of in a much better manner
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353733 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:05:07 +00:00