Commit Graph

2680 Commits

Author SHA1 Message Date
Yegor Kozlov
2e33f41e90 Properly update the array of Slide's text runs in HSLF when new text shapes are added
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685064 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 07:15:26 +00:00
Yegor Kozlov
d92587222d Fix bug #45590: Header/footer extraction for .ppt files saved in Office 2007
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685054 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 06:55:10 +00:00
Nick Burch
6624d6420e Finally get all HWPF tests to pass again, by working around how evil PAPX/CHPX/SEPX byte references are
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684986 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:42:39 +00:00
Josh Micich
5067bab579 initial work on supporting calls to add-in functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684971 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 22:55:38 +00:00
Nick Burch
4c9dd95587 Get insert based HWPF tests working fine, delete ones still problematic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684959 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 22:07:37 +00:00
Nick Burch
3be0ccc847 CHPXs and PAPXs are apparently cp based, but are really byte based! Work around this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@684939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 21:25:17 +00:00
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
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