Commit Graph

2292 Commits

Author SHA1 Message Date
Josh Micich
f90a5d380c Refinements to fix for bug 45126. Excel does not produce any records like 'Excel_Name_Record_Titles_*'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:24:19 +00:00
Josh Micich
71de59ad5c deleted obsolete comment (should have been done in c669809)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684884 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 19:28:58 +00:00
Nick Burch
1706d64424 Remove random un-used import that makes gump unhappy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684454 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 10:58:48 +00:00
Nick Burch
ada3d0c41a Disable a few HWPF tests that aren't working while the unicode/paragraph bug is outstanding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684370 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 22:24:47 +00:00
Nick Burch
09fb97524b Add header/footer support to HWPF WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684362 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 22:08:34 +00:00
Nick Burch
24131c58f5 Tests to show that header stuff all works right
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684355 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:46:14 +00:00
Nick Burch
3302fa14ba Start on headers/footers support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:31:28 +00:00
Nick Burch
f30a10b104 Improve FIB updating on range changes, and add passing tests for non unicode paragraph properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 20:31:48 +00:00
Nick Burch
567db8a3dc Get most of the hwpf tests passing again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684322 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:56:37 +00:00
Josh Micich
3ce7ac40ac added getRowIndex() to HSSFCell, deprecated HSSFFormulaEvaluator.setCurrentRow()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684321 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:47:39 +00:00
Nick Burch
63041b5c31 Big big unicode rationalisation in text piece code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684319 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:34:38 +00:00
Josh Micich
334bc3f42e Converted rows map within HSSFSheet to use Integer keys
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684318 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 19:29:23 +00:00
Nick Burch
1400017540 More range tests, which show that we do have a bug in the hwpf unicode support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684309 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:58:35 +00:00
Nick Burch
0ed496289a More header and footer files, this time with unicode in it too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684302 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:33:29 +00:00
Nick Burch
8caad495ae More tests to show that the range based stuff is working properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684299 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 17:23:42 +00:00
Nick Burch
89f694f780 Add lots more getters/setters for useful things to the FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684293 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 16:46:39 +00:00
Nick Burch
75d7409d0d Start to document the whole FIB stuff better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684287 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 16:24:20 +00:00
Nick Burch
ab4e96f84d Prepare to change how we do ranges, to handle different kinds of text in the cp area
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684282 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 15:58:24 +00:00
Nick Burch
548a459e85 More HWPF/XWPF sample header footer documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684256 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 13:21:32 +00:00
Nick Burch
7a3129703e More HWPF/XWPF sample header footer documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684255 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 13:15:26 +00:00
Nick Burch
7b3c341923 Add several test word files with headers and footers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684223 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 11:02:25 +00:00
Josh Micich
4bf2be6ac0 improved error message for FormulaParser when the formula has a leading equals sign
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 20:14:24 +00:00
Josh Micich
2c344b6cd9 Standardised toString methods on ScalarConstantPtg subclasses
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684067 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:49:02 +00:00
Josh Micich
7a0994abca Patch 45577 - Added implementations for Excel functions NOW and TODAY, added property getters to HSSFConditionalFormattingRule
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683901 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:05:07 +00:00
Josh Micich
3262629faa Finished extracting PageSettingsBlock logic from Sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683880 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:56:06 +00:00
Josh Micich
7b9f5ba600 Extracting PageSettingsBlock from Sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683871 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:27:06 +00:00
Josh Micich
91b083a919 Converted RowRecordsAggregate to proper RecordAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683788 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 01:30:30 +00:00
Josh Micich
ea84181642 Consolidating ValueRecordsAggregate within RowRecordsAggregate
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683758 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 23:49:10 +00:00
Josh Micich
7f985ab0aa Fix for bug 45582 - handle extra bytes after the EOFRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683706 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:32:25 +00:00
Josh Micich
340f5fb874 JDK 1.4 compatibility. Some exception clean-up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683699 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 20:23:26 +00:00
Josh Micich
b1298ee87c Added conditional format records to BiffViewer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683167 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 08:42:40 +00:00
Josh Micich
01dcfa626a Partial fix for bug 45570 - Converted instance BitField fields to static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 06:27:39 +00:00
Josh Micich
1459d3eb3b removed TODO comment and formatted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683128 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 06:20:59 +00:00
Josh Micich
2988701bd6 should have been submitted with r683081
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 03:06:18 +00:00
Josh Micich
3c755ee68c refactoring aggregate records to a separate hierarchy. just starting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683081 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:39:44 +00:00
Josh Micich
7a2ec724d6 Fix JDK 1.4 compilation (after r682511 /bug 45538)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683023 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 23:03:33 +00:00
Nick Burch
17f779f950 With help from Yegor, fix bug #45537 - Include headers and footers (of slides and notes) in the extracted text from HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683020 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 22:49:24 +00:00
Nick Burch
1d478f3af7 More tests for bug #45365, but still not able to reproduce it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682999 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 22:29:20 +00:00
Nick Burch
d09ecf579c Start on bug #45537 - headers and footers from ppt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682778 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 16:33:07 +00:00
Yegor Kozlov
36dd48e1f1 fixed bug #44692: HSSFPicture.resize() stretched image when there was a text next to it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682621 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 08:06:50 +00:00
Yegor Kozlov
9a1077fd1d when a new RowRecord is created, the default row height shoud be 0xFF. The DEFAULT_HEIGHT_BIT (0x8000) is optional, some clients like OpenOffice 2.3 and earlier don't understand it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682620 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 08:05:54 +00:00
Nick Burch
c07944f2dc Fix bug #45543 - Optionally extract comment text with PowerPointExtractor, and initial hslf model support for comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682533 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 22:48:39 +00:00
Nick Burch
896c286a4b Fix a comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682518 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:34:54 +00:00
Nick Burch
b9a01ec165 Fix bug #45538 - Include excel headers and footers in the output of ExcelExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682511 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:21:16 +00:00
Josh Micich
73d5a60b68 removed debugging code leftover from r682508 (patch 44894)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682510 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:14:37 +00:00
Josh Micich
04d5f9c316 Patch 44894 - refactoring duplicate logic from EventRecordFactory to RecordFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682508 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 21:08:11 +00:00
Yegor Kozlov
ee01022c01 support for headers / footers in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:40:25 +00:00
Josh Micich
b73865910f Consolidating various duplicates of CellRangeAddress
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682282 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 08:00:11 +00:00
Josh Micich
beb9838b48 Small tweaks for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682230 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 23:13:17 +00:00
Josh Micich
a6275bcf99 fixed BiffViewer to add some missing record types. Formatted switch/case for readability
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682229 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:49:58 +00:00
Josh Micich
3150399136 should have been submitted with c682225 - Extensive fixes for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682227 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:15:46 +00:00
Josh Micich
8f5b968caf Extensive fixes for data validation (bug 44953)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@682225 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:11:26 +00:00
Josh Micich
29af743583 Small update for c681530 bug 45519
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@681572 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 01:04:28 +00:00
Josh Micich
9ec8702c99 Fix for bug 45519 - keep data validation records together
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@681530 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 22:44:48 +00:00
Nick Burch
d5020af75e Support for creating new HSLF CurrentUserAtoms
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 21:40:47 +00:00
Nick Burch
7fd95e217f Some work on bug #45466 - Partial support for removing excel comments (won't work for all excel versions yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680530 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 22:10:07 +00:00
Josh Micich
bc0461c5ed More tweaks for bug 45404. Fixes for JDK 1.4, improved member scoping and formatting.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680470 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 20:08:15 +00:00
Nick Burch
3fbf71f9d9 Fix for DataFormatter on some JVMs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@680394 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 16:41:47 +00:00
Nick Burch
9500a5f31e Fix bug #45437 - Detect encrypted word documents, and throw an EncryptedDocumentException instead of a OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678539 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 19:35:47 +00:00
Nick Burch
d4655fe1bb Apply, with some tweaks, the patch from bug #45404 - New class, hssf.usermodel.HSSFDataFormatter, for formatting numbers and dates in the same way that Excel does
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@678287 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 17:18:07 +00:00
Nick Burch
dc5fc2e99c Patch from bug #45414 - Don't add too many UncalcedRecords to sheets with charts in them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 18:40:11 +00:00
Nick Burch
74e26146b7 Patch from bug #45398 - Support detecting date formats containing "am/pm" as date times
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677974 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:16:50 +00:00
Nick Burch
07b640f8f9 Update homepage for 3.5.1 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677972 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:11:51 +00:00
Josh Micich
25c14e47a2 Patch 45410 - removed dependency on commons beanutils, collections and lang
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677376 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 18:47:13 +00:00
Nick Burch
58f0fc9eaf Cell Style optimisations too
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677057 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:38:38 +00:00
Nick Burch
b2edbb5332 Start on HSSFOptimiser, which removes un-needed cell styles and fonts, fixing up references as it does so
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677041 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 21:15:16 +00:00
Nick Burch
aa11ce85c1 Support for removing low level font records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677029 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:24:53 +00:00
Nick Burch
775fa5ed25 Method to check if two fonts have the same contents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677028 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:19:06 +00:00
Yegor Kozlov
2765285706 fixed bug #45322: HSSFSheet.autoSizeColumn() throws NPE when cell number format was not found
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 18:13:50 +00:00
Josh Micich
92a6e4538b Fix for bug 45380 - added return keyword in ArrayPtg.toFormulaString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676457 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 23:23:13 +00:00
Nick Burch
9c3f4b14c6 Inspired by bug #44958 - Record level support for Data Tables. (No formula parser support though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676310 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 12:37:29 +00:00
Nick Burch
bae464ec10 Implement idea from bug #35583 - Include a version class, org.apache.poi.Version, to allow easy introspection of the POI version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676221 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 19:37:17 +00:00
Nick Burch
511f83925b Allow the cloning of one HSSFCellStyle onto another, including cloning styles from one HSSFWorkbook onto another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676205 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 17:38:10 +00:00
Nick Burch
eb35f25f3b Support for cloning one extended format record onto another, plus tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676203 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 17:21:54 +00:00
Nick Burch
0935654115 Support for cloning one font record onto another, plus tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@676201 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 16:56:55 +00:00
Josh Micich
b103b318bb Patch 45289 - finished support for special comparison operators in COUNTIF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 07:59:44 +00:00
Nick Burch
b45b8f99f8 Add a test to show that the behaviour around bug #30635 is exactly as you would expect, and the bug report is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675793 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:43:01 +00:00
Nick Burch
882d25e9e9 Improve javadocs relating to getLastRowNumber
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675792 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:39:53 +00:00
Nick Burch
19882d69e9 Tweak test to run forward and back
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675785 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:22:24 +00:00
Nick Burch
3ee8895f5f Add disabled test for bug #45376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675783 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 22:14:25 +00:00
Nick Burch
927ed3a6ca Fix bug #45126 - Avoid generating multiple NamedRanges with the same name, which Excel dislikes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675776 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 21:49:37 +00:00
Nick Burch
a40c24fe3e Add test for bug #43623, currently disabled as it makes FormulaParser unhappy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675734 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 21:03:52 +00:00
Nick Burch
1e5b805dfd Fix cell.getRichStringCellValue() for formula cells with string results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 20:54:42 +00:00
Nick Burch
fa00b16511 Back port fixes from the ooxml branch for CellReference column number<->letter stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675717 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 20:30:46 +00:00
Nick Burch
81f9610e04 Fix bug #45365 - Handle more excel number formatting rules in FormatTrackingHSSFListener / XLS2CSVmra
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675671 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 18:41:25 +00:00
Nick Burch
f6730d9a3a Apply some changes inspired by bug # 45373, which improve the performance of HSSFSheet.shiftRows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675661 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:52:33 +00:00
Josh Micich
00c3543d99 Fix for bug 45367 - fixed boundary case when row zero is the last row removed from the sheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675218 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 14:58:06 +00:00
Josh Micich
d03e5c688f Minor junit fix after r674953 (bug 45354). Hooked up loose tests in suite.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675086 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 02:15:52 +00:00
Josh Micich
2262b7c5c8 Fix for bug 45348 - required tweaks to RVA formula logic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@675079 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 01:45:33 +00:00
Josh Micich
718befdc6a Fix for bug 45354 - Proper distinguishing of cell references and named ranges within formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674953 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 21:00:13 +00:00
Josh Micich
d9c09dd5ea Hooked up new junit in suite (from bug 45338)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674937 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 20:19:40 +00:00
Josh Micich
2f47f1e37a Fix bug #45338 - JDK 1.4/1.5 issue from r673997
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674911 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 18:56:21 +00:00
Nick Burch
8f23fac974 Test to check that formula stuff is mostly working with zip codes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674891 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 17:31:36 +00:00
Nick Burch
a7c8dca597 Shuffle the HDGF chunks_parse_cmds.tbl off into resources where it more properly belongs, and correctly update the legal notice file to match
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@674348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 21:16:05 +00:00
Nick Burch
c622e72683 Fix bug #45338 - Fix HSSFWorkbook to give you the same HSSFFont every time, and then fix it to find newly added fonts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673997 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:46:59 +00:00
Nick Burch
183c13a1d3 Fix bug #45336 - Fix HSSFColor.getTripletHash()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673987 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:58:21 +00:00
Josh Micich
349d02400b Fix for bug 45334 - added impl for ERROR.TYPE()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673863 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 23:09:08 +00:00
Josh Micich
6fcff0c660 Fix for bug 45334 - formula parser needs to handle dots in identifiers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673853 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:20:18 +00:00
Yegor Kozlov
aceb436c93 updated status of the latest release, 3.1-FINAL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@673050 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 10:32:29 +00:00
Nick Burch
17285a57b1 Patch from N.Hira from bug #45252 - Improvement for HWPF Range.replaceText()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672570 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:58:23 +00:00
Nick Burch
5acc99f2a1 Patch from N. Hira from bug #45001 - Further fix for HWPF Range.delete() and unicode characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672569 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:54:02 +00:00
Nick Burch
1f27ceb98f Patch from dnapoletano from bug #45175 - Support for variable length operands in org.apache.poi.hwpf.sprm.SprmOperation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672567 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:48:35 +00:00
Nick Burch
70f9a0a528 Avoid spurious missing lines with the MissingRecordAware event code, and odd files that contain RowRecords in the middle of the cell Records.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672562 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:21:21 +00:00
Nick Burch
1e0458db99 Update changelog about EventWorkbookBuilder, and tweak XLS2CSVmra to use it if formulas required
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672553 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 17:12:38 +00:00
Nick Burch
74621c5983 Finish the EventWorkbookBuilder, now does sheet references in formulas properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672550 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 17:04:09 +00:00
Nick Burch
f5a1872e2b Add MethodNotFound exceptions to the faq
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@672230 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 10:12:11 +00:00
Nick Burch
591894c2f6 Make a start on being able to process formulas in the eventusermodel code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@671322 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:53:53 +00:00
Yegor Kozlov
af135a8b62 started a new section for poi-3.2 family, updated release date of 3.2-FINAL
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@670190 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 12:41:34 +00:00
Josh Micich
6527e63ed1 Fix for bug 30978 - small re-arrangement of class Ptg hierarchy for DeletedRef3DPtg and DeletedArea3DPtg. Similar to c664220
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669809 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 07:10:03 +00:00
Josh Micich
c02655d884 Fix for bug 45234 - Removed incorrect shared formula conversion in CFRuleRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669658 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 19:07:20 +00:00
Nick Burch
501c3b258a Improved HWPF Range.replaceText, from N. Hira in bug #45001
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669456 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 11:47:48 +00:00
Nick Burch
8a92f65d09 A partial fix for bug #30978, but something still remains, which seems to be related to changing the ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@669140 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 11:35:04 +00:00
Yegor Kozlov
c2341a72db TextShape.getMarginLeft() returned incorrect value. Added a unit test for text margins.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668257 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 18:38:59 +00:00
Nick Burch
895d30e055 Make the test related to bug #30978, which shows that named ranges pointing to deleted sheets is ok, more complete
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668155 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 13:39:44 +00:00
Nick Burch
acfbb1648c Slight tweak for named ranges pointing at deleted sheets, related to bug #30978
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668153 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 13:20:42 +00:00
Nick Burch
7cf39af9a2 Unit test from bug #45001, and new replaceText method (no test yet)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668143 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 12:49:55 +00:00
Josh Micich
473ac7ad05 added extra RVA test case (for bug 45206)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@668014 13f79535-47bb-0310-9956-ffa450edef68
2008-06-15 22:26:06 +00:00
Yegor Kozlov
e1de21bc09 bug#44692 - Fixed HSSFPicture.resize() to properly resize pictures if the underlying columns/rows have modified size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 15:31:05 +00:00
Yegor Kozlov
3cbc6fc52a expose access to OEPlaceholderAtom so that users can determine whether a shape represents ppt placeholder (date/time, footer or slide number)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664493 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:37:39 +00:00
Yegor Kozlov
4360c3607d Fixed TextShape.resizeToFitText() to properly resize TextShape. See patch#45140
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664492 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:32:10 +00:00
Yegor Kozlov
d2445ee652 Support custom image renderers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:31:19 +00:00
Yegor Kozlov
a0e68a7530 Correctly increment the reference count of a blip when a picture is inserted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664490 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 12:30:25 +00:00
Josh Micich
8eaa48315f Fix for bug 45091 - serialization of RefN~ tokens. Simplified Ptg class hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@664220 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 00:53:01 +00:00
Josh Micich
bade69a176 Fix for 45133 - OBJ Record (5Dh) needs to pad the sub-record data to a 4-byte boundary
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663855 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 08:32:54 +00:00
Josh Micich
f35ba1b1cd Fix for bug 45145 - made sure RowRecordsAggregate comes before ValueRecordsAggregate. Also fixed BiffViewer to show correct record offsets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663765 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 22:24:05 +00:00
Josh Micich
c79342aeac Fix for bug 45123 - SharedFormulaRecord.convertSharedFormulas was ignoring token operand classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663436 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 03:12:35 +00:00
Josh Micich
0a7d160ab9 Test code clean-up (prior to bug 45126)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@663322 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 17:37:18 +00:00
Nick Burch
50d81039da Fix bug #45087 - Correctly detect date formats like [Black]YYYY as being date based
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660889 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 10:03:00 +00:00
Yegor Kozlov
81f384dabf bump 3.1-beta2 announcement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660834 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:50:35 +00:00
Josh Micich
a811443b4b Fix for 45060 (and 45041) - Improved token class transformation during formula parsing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660828 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:19:31 +00:00
Nick Burch
1afa028f34 X, Y, Width and Height getters/setters on HSSFChart
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660474 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:44:49 +00:00
Josh Micich
4f1853e01c Changed class hierarchy of Ptg to improve 'operand class' transformation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660344 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 00:57:23 +00:00
Josh Micich
a8a033be8c Added test cases for parsing IF expressions. Segregated IF test cases into a new class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660280 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 19:36:56 +00:00
Josh Micich
5ffa668496 Small fix for FormulaParser. Need case-insentive match for IF function name
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660263 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 18:25:02 +00:00
Josh Micich
94c7876f74 Follow-on fix for bug 42564 (r653668). Array elements are stored internally column by column.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@660256 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 18:02:23 +00:00
Nick Burch
bdf210f9ee Help for bug #44840 - Improved handling of HSSFObjectData, especially for entries with data held not in POIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659575 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:55:08 +00:00
Nick Burch
6eb311672a File with checkboxes, from bug #44840
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659573 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:24:25 +00:00
Nick Burch
f601b0899a Patch from Yury, plus tests, from bug #45043 - Support for getting excel cell comments when extracting text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659572 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 15:22:18 +00:00
Nick Burch
8ef6b8561d Extend the support for specifying a policy to HSSF on missing / blank cells when fetching, to be able to specify the policy at the HSSFWorkbook level
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659525 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 12:58:56 +00:00
Josh Micich
9b8395dd61 Fix for bug 35925 - Missing HSSFColor.TAN from HashTables returned by getIndexHash() and getTripletHash()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659478 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 08:55:48 +00:00
Josh Micich
172db6a58e Marked out test failure which was fixed by patch for bug 39903
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659462 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 07:42:14 +00:00
Josh Micich
a4aab681a7 Bug 45025 - improved FormulaParser parse error messages (r659452 had wrong bug number)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659455 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:54:46 +00:00
Josh Micich
dc3f6b36b8 Bug 45041 - improved FormulaParser parse error messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659452 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:43:51 +00:00
Josh Micich
143128be30 Fix for bug 45046 - allowed DEFINEDNAME records without EXTERNALBOOK records
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659429 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 05:28:54 +00:00
Josh Micich
4273046fca Fix for 45066 - sheet encoding size mismatch problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659403 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 03:56:31 +00:00
Nick Burch
a80e988e41 Example for finding hslf sounds from Yegor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@659067 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 09:51:44 +00:00
Josh Micich
30faafa87e Follow on from bug 44675 - regenerated functionMetadata.txt from new ooo excelfileformat.odt
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658986 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 03:26:25 +00:00
Josh Micich
d3ee29261c Fixed compiler errors. Other improvements for type safety and immutability.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658984 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 03:00:29 +00:00
Josh Micich
b1ad25f7e3 improved toString and refactored toFormulaString on Area(3D)Ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658833 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 19:57:40 +00:00
Nick Burch
15db21d326 Patch from bug #45003 - Support embeded HDGF visio documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@658352 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:17:16 +00:00