Commit Graph

83 Commits

Author SHA1 Message Date
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 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 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 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 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 6a9d8e6ea5 Fix up the jdk1.4 interfaces, so that it all compiles and is happy once again
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@643350 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 10:17:06 +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 f14684fd69 Make the jdk 1.5 interfaces a bit more jdk 1.5 friendly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642641 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 23:04:48 +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
Nick Burch 3d9e7d5bf5 Shuffle the FormulaParser stuff about, and get it all working with the new interfaces, and not just with the hard coded HSSF classes
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642624 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 22:03:18 +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 944da771ba Move the SharedStringsTable to a more generic package, and make a start on the styles table
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637624 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 18:57:15 +00:00
Nick Burch 1f3c93908c Further workarounds for java being rubbish, by having a dedicated class to create concrete instances of interfaces for you
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637610 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 16:51:58 +00:00
Nick Burch 379e682366 Update some more documentation, and put in a workaround for needing to create a RichTextString, without wanting to know the concrete type, but Java interfaces are crap
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@637607 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 16:24:23 +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 f3c5b82d9d Fix a few ooxml unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@635255 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 15:05:22 +00:00