Commit Graph

85 Commits

Author SHA1 Message Date
Nick Burch 1acb09f9bd Start on bug 45540, not fixed yet though
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682655 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 09:50:05 +00:00
Nick Burch 647537c626 Change how we do the control and drawing write out, so that XSSFRelation can do much more of the work for us
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680889 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 00:29:55 +00:00
Nick Burch 613f361d61 Tidying up of some xssfmodel stuff, by doing more work generically in XSSFRelation
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680882 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 23:37:35 +00:00
Nick Burch 233d99fc4d More work on bug #45431 - Support for .xlsm files, sufficient for simple files to be loaded by excel without warning
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680871 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 23:03:25 +00:00
Nick Burch c090d99907 Improved .xlsm support - still not quite there though
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680857 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 22:02:09 +00:00
Nick Burch 2eb8c41181 New openxml4j version, and new save/reload test
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@680564 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 23:32:13 +00:00
Nick Burch 2591008752 Partial support for .xlsm files (bug #45431), but still not quite there as they seem to have some hidden reference we don't know about to update
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@677990 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 18:22:25 +00:00
Nick Burch 5d5982fb0f Fix bug #45430 - Correct named range sheet reporting when no local sheet id is given in the xml
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@677979 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 17:37:44 +00:00
Nick Burch cec1612121 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-657701,657703-657874,657876-658032,658034-658284,658286,658288-658301,658303-658307,658309-658321,658323-658335,658337-658348,658351,658353-658832,658834-658983,658985,658987-659066,659068-659402,659404-659428,659430-659451,659453-659454,659456-659461,659463-659477,659479-659524,659526-659571,659574,659576-660255,660257-660262,660264-660279,660281-660343,660345-660473,660475-660827,660829-660833,660835-660888,660890-663321,663323-663435,663437-663764,663766-663854,663856-664219,664221-664489,664494-664514,664516-668013,668015-668142,668144-668152,668154,668156-668256,668258,668260-669139,669141-669455,669457-669657,669659-669808,669810-670189,670191-671321,671323-672229,672231-672549,672551-672552,672554-672561,672563-672566,672568,672571-673049,673051-673852,673854-673862,673864-673986,673988-673996,673998-674347,674349-674890,674892-674910,674912-674936,674938-674952,674954-675078,675080-675085,675087-675217,675219-675660,675662-675670,675672-675716,675718-675726,675728-675733,675735-675775,675777-675782,675784,675786-675791,675794-676205 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk

........
  r675853 | josh | 2008-07-11 08:59:44 +0100 (Fri, 11 Jul 2008) | 1 line
  
  Patch 45289 - finished support for special comparison operators in COUNTIF
........
  r676201 | nick | 2008-07-12 17:56:55 +0100 (Sat, 12 Jul 2008) | 1 line
  
  Support for cloning one font record onto another, plus tests
........
  r676203 | nick | 2008-07-12 18:21:54 +0100 (Sat, 12 Jul 2008) | 1 line
  
  Support for cloning one extended format record onto another, plus tests
........
  r676205 | nick | 2008-07-12 18:38:10 +0100 (Sat, 12 Jul 2008) | 1 line
  
  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/branches/ooxml@676209 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 18:17:16 +00:00
Nick Burch 627c7cc083 Update to ooxml embeding from bug #45018 from Yury
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@660945 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 13:32:03 +00:00
Nick Burch fb7f5240fe More merging, plus tests for embeded ooxml files
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@660488 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 12:36:00 +00:00
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