Commit Graph

74 Commits

Author SHA1 Message Date
Nick Burch c132523b46 Sample embeded ooxml files from bug #45018
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@660466 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 11:00:22 +00:00
Nick Burch 81550a63a9 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-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-646853,646855-646869,646871-647151,647153-647185,647187-647277,647279-647566,647568-647573,647575,647578-647711,647714-647737,647739-647823,647825-648155,648157-648202,648204-648273,648275,648277-648302,648304-648333,648335-648588,648590-648622,648625-648673,648675-649141,649144,649146-649556,649558-649795,649799,649801-649910,649912-649913,649915-650128,650131-650132,650134-650137,650140-650914,650916-651991,651993-652284,652286-652287,652289,652291,652293-652297,652299-652328,652330-652425,652427-652445,652447-652560,652562-652933,652935,652937-652993,652995-653116,653118-653124,653126-653483,653487-653519,653522-653550,653552-653607,653609-653667,653669-653674,653676-653814,653817-653830,653832-653891,653893-653944,653946-654055,654057-654355,654357-654365,654367-654648,654651-655215,655217-655277,655279-655281,655283-655911,655913-656212,656214,656216-656251,656253-656698,656700-656756,656758-656892,656894-657135,657137-657165,657168-657179,657181-657354,657356-657357,657359-658312 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk

........
  r657702 | josh | 2008-05-19 02:06:54 +0100 (Mon, 19 May 2008) | 1 line
  
  Bug 44306 - fixed reading/writing of AttrPtg and rendering of CHOOSE formulas
........
  r657875 | yegor | 2008-05-19 18:29:55 +0100 (Mon, 19 May 2008) | 1 line
  
  updated release date and started a new section for 3.1-final
........
  r658033 | josh | 2008-05-20 00:07:27 +0100 (Tue, 20 May 2008) | 1 line
  
  Minor patch to improve FormulaParser error messages like those from bug 45041
........
  r658285 | nick | 2008-05-20 16:42:16 +0100 (Tue, 20 May 2008) | 1 line
  
  Fix bug 44898 - Correctly handle short last blocks in POIFS
........
  r658287 | nick | 2008-05-20 16:46:54 +0100 (Tue, 20 May 2008) | 1 line
  
  Fix #44824 - Avoid an infinite loop when reading some HWPF pictures
........
  r658302 | nick | 2008-05-20 17:01:53 +0100 (Tue, 20 May 2008) | 1 line
  
  Patch from bug #44937 from Squeeself- Partial support for extracting Escher images from HWPF files
........
  r658308 | nick | 2008-05-20 17:30:19 +0100 (Tue, 20 May 2008) | 1 line
  
  Support for specifying a policy to HSSF on missing / blank cells when fetching
........


git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@658333 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 16:49:41 +00:00
Paolo Mottadelli 32401dd168 ColumnHelper get/setColDefaultStyle; XSSFSheet setDefaultColumnStyle; XSSFCellStyle constructor refactored abd getIndex method implemented; StyesTable get/setCellXf and get/setCellStyleXf. + tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646668 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 07:35:47 +00:00
Paolo Mottadelli 3c1c5bac83 XSSFSheet removeMergedRegion + tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646527 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 20:50:55 +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
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
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 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
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 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 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 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 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
Nick Burch 3ed4f3d913 Start to wire up the commentstable stuff, now partly in place, and partly tested
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@643208 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 23:30:56 +00:00
Nick Burch d32fe3f319 Shift comments support over onto new style XSSFModel, in preparation for readings and writing existing ones
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@643204 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 23:15:38 +00:00
Nick Burch 64c685079c XSSF named range support
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@643189 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 22:30:56 +00:00
Nick Burch 396813285d Add XSSF eventusermodel support
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642788 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 17:28:29 +00:00
Nick Burch 7cf696f7c4 Improve how XSSFCell does error stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642769 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 16:25:52 +00:00
Nick Burch b6316bd72e Make a start on running all the formula tests for xssf. Currently not enabled, as many fail, but provides a start
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642741 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 14:16:22 +00:00
Nick Burch fb674709b7 Few little short/int tweaks, and then tests to show that FormulaEvaluator plays nicely with xssf
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642634 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 22:45:11 +00:00
Paolo Mottadelli 66d67ccab5 XSSFCellStyle getFont method; XSSFFont class added all methods to be implemented; tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640934 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 18:35:00 +00:00
Paolo Mottadelli 5b32d35fb6 XSSFCellBorder does not expose CTBorder object (same for XSSFCellFill); StylesTable refactored
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640915 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 17:55:26 +00:00
Paolo Mottadelli aa7fa34376 XSSFCellStyle fillColors support; XSSFCellFill class; tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640794 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 13:19:27 +00:00
Nick Burch c0e47ed015 New version of openxml4j, which supports reading from InputStreams. Enable WorkbookFactory test for this
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640015 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 17:03:27 +00:00
Nick Burch d6d75a3614 Now StylesTable works, re-enable previously failing cell test which now passes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640006 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 15:11:01 +00:00
Nick Burch 8490e7b6cf Write tests for xssf StylesTable, now able to round-trip just fine
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640005 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 15:09:37 +00:00
Nick Burch cf8fde4dee Quite a bit more xssf support for cell styles. Also, get all the ooxml tests to pass cleanly, partly by disabling broken ones
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@640003 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 14:38:43 +00:00
Nick Burch 9f5217d825 Get it to the point that existing .xslx files can be loaded+saved, and opened by excel without warning, and new files can be loaded but with a warning
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@639779 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 19:54:35 +00:00
Nick Burch 22c794c1ba Excel objects to <cols/> in a sheet, so avoid outputting that
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@639766 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 19:14:43 +00:00
Nick Burch 695dc4812e Expand on XSSFWorkbook tests, and get them working (needs updated ooxml)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@639752 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 18:35:52 +00:00
Nick Burch a769181ff3 New openxml4j. Also, re-order some of the xssfworkbook writing out steps, so we can update references. Finally, some more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@639723 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 17:31:14 +00:00
Nick Burch 000cafe678 Start to tie up the XSSF cell styles stuff with the StylesTable code
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637692 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 00:10:17 +00:00
Nick Burch 86bac45ee8 Tidy up the xssf models stuff, by pushing more of the logic onto XSSFWorkbook
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637688 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 23:30:51 +00:00
Nick Burch fe2cd2d286 Start to tidy up the model loading, to reduce duplicated code, and make it cleaner
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637680 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 22:44:10 +00:00
Nick Burch 7cec45a438 Start supporting styles on the XSSFWorkbook, and tests for it
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637669 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 22:07:38 +00:00
Nick Burch 84a1e2052d Patch from Paolo from bug #44581 - fix ColumnHelper bug, and start on xssf stylings
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@636729 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:50:50 +00:00
Nick Burch c8afd832c7 Start on a factory for producing the right Workbook
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@635902 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 12:47:16 +00:00
Nick Burch b084eb866d Update the word code to the new style ooxml stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@635253 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:39:36 +00:00
Nick Burch be6166389f Get the powerpoint ooxml stuff converted over, and fix up a few tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@635243 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:21:34 +00:00
Nick Burch 4f0afb0335 Start to rename hslf and hwpf in ooxml to xslf and xwpf
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@635031 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 18:09:07 +00:00