Commit Graph

94 Commits

Author SHA1 Message Date
Nick Burch 263c8a28f4 Fix bug #50846 - XSSFCellBorder needs a theme table too, but as it gets created early switch it to the same model as XSSFFont for getting it later
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082946 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 15:18:45 +00:00
Nick Burch 8df8ecc4ec Add unit test showing that bug #50867 works fine
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078065 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:31:52 +00:00
Nick Burch d7e670842b Add unit test showing that bug #48877 no longer applies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 17:06:01 +00:00
Nick Burch 93e7799a7b Fix bug #50784 - XSSFColors return by XSSFFont now have theme information applied to them, as XSSFFont is now ThemesTable aware
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077986 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 15:05:18 +00:00
Nick Burch a9133e1b3b Hopefully fix bug #50846 - Improve how XSSFColor inherits from Themes, by pushing the logic out of XSSFCellStyle and into ThemesTable + make it easier to call
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077968 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:38:13 +00:00
Nick Burch 5792826402 More on XSSFColor and ARGB vs RGB for bug #50299 - provide methods to let you get at either 3 byte RGB, or 4 byte ARGB, whichever you prefer for your needs.
Includes the new patch from bug #50299 for 3 colour RGB black/white being inverted from Excel


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1074703 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 21:21:45 +00:00
Nick Burch 39a3b1c35a Fix bug #50786 - Fix XSSFColor to fetch the RGB values of old-style indexed colours
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072082 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 17:41:42 +00:00
Nick Burch 77fb5f43ee Fix bug #50299 with patch from Andrei - Fix XSSFColor fetching of white and black background themes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:44:05 +00:00
Nick Burch faba225c7c Add a disabled unit test for bug #50784. We need to add support for XSSF Colours to pull details from their parent theme where there is one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072027 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:45:59 +00:00
Nick Burch 3351df0d1b Fix bug #50795 - Avoid NPE from xmlbeans when moving XSSF Comments from one cell to another
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072022 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:29:22 +00:00
Nick Burch 3d74ebf836 Fix bug #50440 - Support evaluating formulas with newlines in them, which XSSF may have (but HSSF may not)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1045021 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 05:39:39 +00:00
Yegor Kozlov 039f4ccfa1 added a unit test for not reproducible bug #49156
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044647 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 13:09:12 +00:00
Yegor Kozlov 97b07620de Added implementation for MROUND(), VAR() and VARP()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044642 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 12:41:17 +00:00
Yegor Kozlov e8bbd4c957 clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1034358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:03:56 +00:00
Nick Burch 39a185e9a7 Fix bug #49966 - Correctly remove calcChain entries for XSSF cells that stop holding formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999314 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 11:16:12 +00:00
Nick Burch 78e6e00e2d Fix bug #49941 - Correctly handle space preservation of XSSFRichTextRuns when applying fonts to parts of the string
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997811 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 16:01:12 +00:00
Nick Burch d791eb68a9 Add disabled, failing unit test for bug #49940
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@997752 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 13:46:17 +00:00
Yegor Kozlov 5df572a3b6 fixed evaluation of XSSF workbooks containing formulas with reference errors (#REF!), see Bugzilla 49783
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@989100 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 13:29:55 +00:00
Yegor Kozlov 8047e7e84d do case-insensitive comparison when detecting Content_Types part, tolerate backslashes in part names. see bug 49609
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@965258 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 16:12:17 +00:00
Nick Burch 0e86939f7e Add tests to verify that XSSF and HSSF do the same thing with retrieving the wrong type of value from string/numberic/formula cells, and tweak documentation to match the long standing behaviour (bug #47815)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951466 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:58:02 +00:00
Nick Burch 74c40ef943 Add unit test to verify that bug #47490 no longer exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@951446 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 15:33:47 +00:00
Nick Burch e09e67c403 Fix bug #48718 - Make the creation of multiple, un-modified fonts in a row in XSSF match the old HSSF behaviour
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949177 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 13:44:45 +00:00
Nick Burch 5cfa676c0b Add missing test file for bug #48779
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948752 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 10:15:10 +00:00
Nick Burch f6bda6f28a Solution for bug #48779 - Allow you to get straight from a CellStyle to a Color, irrespective of if the Color is indexed or inline-defined
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 17:46:46 +00:00
Nick Burch 5d461efea2 Add disabled unit test for bug #48539, which is currently still broken
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948477 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 15:22:04 +00:00
Nick Burch 29dab17a44 Add unit test to show that the behaviour in bug #48923 is as expected
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948462 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:51:49 +00:00
Yegor Kozlov 17c2a4208f Ensure that CTPhoneticPr is included in poi-ooxml jar, see Bugzilla 49325
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947312 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 16:07:31 +00:00
Nick Burch ede8beb227 Fix bug #49020 - Workaround Excel outputting invalid XML in button definitions by not closing BR tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941399 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 17:49:59 +00:00
Josh Micich 88dbbbf1c6 Replaced getInstance methods with field for instances of ITestDataProvider. Some simplification in hierarchy of related tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 02:17:34 +00:00
Josh Micich 9926c89006 Fixed compiler warnings - unnecessary throws declaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 19:49:28 +00:00
Josh Micich 995d8fe73f Fixed unused imports compiler warnings (and some others)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805262 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 02:41:45 +00:00
Yegor Kozlov 26f18ed27a fixed XSSF and OpenXml4J to read/write relationships with targets starting with '#' (internal locations), see Bugzilla 47504
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@793280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 07:18:42 +00:00
Yegor Kozlov 51d71180ab more refactoring of common ss tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759714 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 16:10:40 +00:00
Josh Micich 67196db87e Renamed Package (in org.apache.poi.openxml4j.opc) to OPCPackage so as to avoid clash with java.lang.Package (see bugzilla 46859)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@755699 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:54:01 +00:00
Yegor Kozlov ef4b2ebc2e import OpenXML4j codebase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@738842 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 12:44:31 +00:00
Yegor Kozlov 796a0eea4f renamed Name.setFormula to more descriptive setRefersToFormula, also misc improvements in the site docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@719547 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 09:22:07 +00:00
Yegor Kozlov baa56c4fc8 refactored POIXMLDocument to be a composite of POIXMLDocumentPart, this way XSSFWorkbook is a root of a tree: XSSFSheets are children, XSSFDrawings are children of worksheets, etc,
Also, performed major cleanup of core XSSF classes and test cases

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@700472 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 13:57:36 +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