Commit Graph

2496 Commits

Author SHA1 Message Date
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
28313438f6 should have been submitted with r683081
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@683096 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 03:23:10 +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
Nick Burch
b72c86ab82 Patch from Jukka from bug #45394 - tidy up examples bit of build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@677969 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:02:29 +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