Nick Burch
63409a6647
Implement a proxy HSSFListener which tracks the format records, and lets you lookup the format string for a given cell. Convert the xls to csv example to use it
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646405 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:36:39 +00:00
Nick Burch
3a7871a2dd
Provide a common ole2 implementation of POITextExtractor, which gives access to the document metadata
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646312 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 12:46:42 +00:00
Nick Burch
e047e25094
Tweak how we do ooxml properties, and handle hyperlinks for word documents when extracting
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646298 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 12:22:23 +00:00
Nick Burch
7aa73d82dc
Shuffle the common text extractor stuff from scratchpad to ooxml, to match the compile paths
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646239 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 09:20:20 +00:00
Nick Burch
033bb682a2
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-646236 via svnmerge from
...
https://svn.apache.org:443/repos/asf/poi/trunk
........
r645952 | yegor | 2008-04-08 15:49:59 +0100 (Tue, 08 Apr 2008) | 1 line
fix bug #44770 : RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing
........
r646194 | josh | 2008-04-09 06:56:50 +0100 (Wed, 09 Apr 2008) | 1 line
some more tweaks for bug 30311. Set some (unused) bits in FontFormatting to match Excel.
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646237 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 09:17:58 +00:00
Josh Micich
08802e667e
some more tweaks for bug 30311. Set some (unused) bits in FontFormatting to match Excel.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646194 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 05:56:50 +00:00
Yegor Kozlov
e534579881
fix bug #44770 : RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645952 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 14:49:59 +00:00
Nick Burch
13bbdb732e
Finish off ExtractorFactory tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645879 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:39:39 +00:00
Nick Burch
8c4372edce
More ExtractorFactory support and tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645872 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:17:18 +00:00
Nick Burch
fdc07f33f8
More ExtractorFactory support and tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645870 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:03:05 +00:00
Nick Burch
dfad3bbafb
Start on a factory for text extractors
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645861 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 11:43:37 +00:00
Nick Burch
59a9bd6448
Example of using xssf usermodel to create a new file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645832 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:34:43 +00:00
Nick Burch
1b687abb8d
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645821 via svnmerge from
...
https://svn.apache.org:443/repos/asf/poi/trunk
........
r645560 | nick | 2008-04-07 16:20:57 +0100 (Mon, 07 Apr 2008) | 1 line
Fix 43670, 44501 - Fix how HDGF deals with trailing data in the list of chunk headers
........
r645566 | yegor | 2008-04-07 16:34:53 +0100 (Mon, 07 Apr 2008) | 1 line
empty.ppt with the master styles compatible with PPT 2003
........
r645567 | yegor | 2008-04-07 16:35:49 +0100 (Mon, 07 Apr 2008) | 1 line
misc usermodel improvements in HSLF
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645823 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:07:36 +00:00
Paolo Mottadelli
6e35b1d786
XSSFSheet getNumMergedRegions, getMergedRegionAt methods + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645666 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 20:31:43 +00:00
Paolo Mottadelli
b80094b1a2
XSSFSheet freeze/splitPane support + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645662 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 19:54:43 +00:00
Yegor Kozlov
3174b1bf34
misc usermodel improvements in HSLF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645567 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:35:49 +00:00
Yegor Kozlov
4e58d9cff9
empty.ppt with the master styles compatible with PPT 2003
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645566 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:34:53 +00:00
Nick Burch
0d6a3d651d
Fix 43670, 44501 - Fix how HDGF deals with trailing data in the list of chunk headers
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645560 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:20:57 +00:00
Nick Burch
5da68800de
Fix the xssfcomments support, so we don't double-add the underlying ctcomment objects
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645547 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 14:55:50 +00:00
Nick Burch
ec795c8b4a
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645478 via svnmerge from
...
https://svn.apache.org:443/repos/asf/poi/trunk
........
r645348 | josh | 2008-04-07 04:02:03 +0100 (Mon, 07 Apr 2008) | 1 line
refactored all hssf junits to get test sample data in the in one place
........
r645352 | josh | 2008-04-07 04:23:04 +0100 (Mon, 07 Apr 2008) | 2 lines
30311 - More work on Conditional Formatting - patch from Dmitriy
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645483 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 12:51:50 +00:00
Nick Burch
7e389d0f36
Finish off XSSFHyperlink support
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645446 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 10:31:55 +00:00
Josh Micich
05eb15b87e
30311 - More work on Conditional Formatting - patch from Dmitriy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:23:04 +00:00
Josh Micich
27761348b9
refactored all hssf junits to get test sample data in the in one place
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645348 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:02:03 +00:00
Paolo Mottadelli
e7832d6876
AllXSSFTests fixed after moving TestCellReference
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645307 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 20:51:58 +00:00
Paolo Mottadelli
8e757ffd92
XSSFSheet some non-public methods moved to the bottom
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645306 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 20:44:11 +00:00
Paolo Mottadelli
ec05b2ca95
XSSFSheet addMergedRegion + Region class moved to org.apache.poi.ss.util.Region + Region.getRegionRef method + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 20:34:00 +00:00
Josh Micich
376fd3259b
Fix for bug 44708. XSSFCell.getCellType() now returns CELL_TYPE_BLANK for numeric cells with no value.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645298 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 20:27:40 +00:00
Paolo Mottadelli
0ef4251247
TestXSSFCellStyle fixed after StylesTable initialization stuff
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645257 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 16:17:45 +00:00
Paolo Mottadelli
2a1ee1eee3
Completed StylesTable initialization in order to create a new 'POIzed' file readable by Excel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645234 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 13:05:13 +00:00
Nick Burch
b021ef1561
More work on XSSF Hyperlinks. Still not quite there, but mostly now. Just need to fix a openxml4j bug first though
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645179 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 21:43:53 +00:00
Nick Burch
72ef8c39c0
Tweak DateUtil, an add cell content fetching to the quick guide documentation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645150 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 18:01:05 +00:00
Nick Burch
3300a38bec
Copy HSSFDateUtils to ss.usermodel, and leave a proxy behind
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645146 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 17:49:06 +00:00
Nick Burch
618713e147
Move CellReference from hssf.util into ss.util, but leave a class in the old package to proxy requests on. Also needed tweaks to several things that used it. Finally, add lots more tests, and fix the high column number num<->letter conversion
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645143 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 17:42:10 +00:00
Paolo Mottadelli
0c8605d7b9
XSSFCellStyle borderStyle methods -> TODO: borderColor related methods tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645141 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 17:35:28 +00:00
Paolo Mottadelli
8bc07881fb
XSSFCellAlignment get/setTextRotation + get/setWrapText + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645131 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 16:30:17 +00:00
Paolo Mottadelli
cdc57ab1b8
XSSFCellStyle alignment methods and others + tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645129 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 16:19:56 +00:00
Nick Burch
e8c9f208cc
Write a quite guide to converting hssf usermodel to ss usermodel
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645127 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 16:04:53 +00:00
Nick Burch
8ff08c1c1a
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-645088 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r643625 | josh | 2008-04-01 23:18:25 +0100 (Tue, 01 Apr 2008) | 1 line
Bug #44733 - DPRODUCT function should be index 189, not 191
........
r643654 | josh | 2008-04-02 00:53:51 +0100 (Wed, 02 Apr 2008) | 1 line
fix for bug 44710 - Incorrect skip() of second formula in DATAVALIDATION record
........
r643670 | klute | 2008-04-02 01:50:45 +0100 (Wed, 02 Apr 2008) | 1 line
44694 - HPSF: Support for property sets without sections
........
r643672 | klute | 2008-04-02 01:55:52 +0100 (Wed, 02 Apr 2008) | 1 line
Restored an entry that had been deleted by chance.
........
r643831 | yegor | 2008-04-02 11:20:31 +0100 (Wed, 02 Apr 2008) | 1 line
added set accessor to indentation level
........
r643834 | yegor | 2008-04-02 11:25:18 +0100 (Wed, 02 Apr 2008) | 1 line
Fixed inconsistency between HSSFSHeet.getColumnWidth and HSSFSheet.getDefaultColumnWidth: getColumnWidth should always return width measured in 1/256th units.
........
r644343 | nick | 2008-04-03 16:04:52 +0100 (Thu, 03 Apr 2008) | 1 line
Make a bit of a start on being able to edit chart titles, based on the email to user@poi from Russ on the 2nd of April. Not quite there though
........
r644473 | josh | 2008-04-03 21:25:53 +0100 (Thu, 03 Apr 2008) | 1 line
Fix for bug 44739 - Conditional formatting (regions with max row/col index)
........
r644509 | josh | 2008-04-03 22:17:26 +0100 (Thu, 03 Apr 2008) | 1 line
Follow up fix after r644473 (bug 44739) TestHSSFConditionalFormatting had a bug and wasn't yet included in the test suite hierarchy
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645096 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 13:38:52 +00:00
Nick Burch
641ab5bb06
Merged revisions 642878-642946 via svnmerge from
...
https://svn.apache.org/repos/asf/poi/trunk
........
r642878 | josh | 2008-03-31 06:10:35 +0100 (Mon, 31 Mar 2008) | 1 line
More work on Conditional Formatting (bug 30311) junit and fixes from Dmitriy. Some other clean-up.
........
r642880 | josh | 2008-03-31 06:19:00 +0100 (Mon, 31 Mar 2008) | 1 line
removed incorrect test case methods
........
r642891 | josh | 2008-03-31 06:56:11 +0100 (Mon, 31 Mar 2008) | 1 line
silenced noisy tests
........
r642904 | josh | 2008-03-31 07:55:04 +0100 (Mon, 31 Mar 2008) | 1 line
changes/status for #44675 , #44695 , #44691
........
r642946 | yegor | 2008-03-31 10:58:27 +0100 (Mon, 31 Mar 2008) | 1 line
Implement Sheet.removeShape(Shape shape) in HSLF
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@645088 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 13:07:22 +00:00
Nick Burch
a937f6c3d2
Create Hyperlink interface, based on HSSFHyperlink. Stub out for XSSF, but have yet to implement. (See WithMoreVariousData.xlsx for all the different kinds when implementing)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644797 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 17:59:43 +00:00
Nick Burch
95756c5472
Fix an off-by-one in the xssf eventmodel example and docs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644692 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 12:24:38 +00:00
Nick Burch
c44e3a4b4a
Tweak xmlbeans call to play nicely on macs
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644651 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 09:33:50 +00:00
Nick Burch
36a9edfe59
Add missing jar to init
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644650 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 09:25:54 +00:00
Josh Micich
1051e2853c
Follow up fix after r644473 (bug 44739) TestHSSFConditionalFormatting had a bug and wasn't yet included in the test suite hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644509 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 21:17:26 +00:00
Josh Micich
dff9b26565
Fix for bug 44739 - Conditional formatting (regions with max row/col index)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644473 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 20:25:53 +00:00
Nick Burch
a27d621e3c
Update the quick-guide some more for xssf comments
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644465 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 20:10:17 +00:00
Nick Burch
0f66138b8f
More tests for xssf comments. Now almost all there and working, except for rich text formatting, and new line munching (bug #44750 )
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644460 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 19:41:23 +00:00
Nick Burch
78c69f1230
Make a bit of a start on being able to edit chart titles, based on the email to user@poi from Russ on the 2nd of April. Not quite there though
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644343 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:04:52 +00:00
Nick Burch
cdd7246d3c
New ooxml4j, and finish getting xssf comments to be saved and re-loaded again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644118 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:23:59 +00:00
Nick Burch
ed2da7e40b
Fix the comments code so that we can correctly process existing XSSF comments, and add tests for this. Also tweak hssf comments slightly to match
...
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@644104 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 23:02:41 +00:00