Commit Graph

3307 Commits

Author SHA1 Message Date
Yegor Kozlov 5ed977001d Fixed XSLFPowerPointExtractor to properly process line breaks, see bugzilla 46568
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766775 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 18:04:37 +00:00
Yegor Kozlov 3842f1ff22 Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStream, see bugzilla 39056
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766757 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 17:09:09 +00:00
Yegor Kozlov fe50c3f15c moved 'throw' into else clause avoiding exception on every call of cloneStyleFrom, see bugzilla 47054
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766755 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 16:58:29 +00:00
Yegor Kozlov a5afdd38d2 avoid NPE when calling XSSF.setCellFormula(null) for a non-formula cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766750 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 16:50:05 +00:00
Yegor Kozlov db553fd510 read GutsRecord in in the Sheet(RecordStream rs)
constructor (see bugzilla 46186); always call sheet.setAlternativeExpression in conjuction with sheet.setRowSumsBelow, see bugzilla 46714 and 30714

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766273 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 09:06:16 +00:00
Yegor Kozlov 62b0595b83 Allow 255 arguments for excel functions in XSSF, see bugzilla 46279
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766251 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 07:12:38 +00:00
Yegor Kozlov ecb76070a9 Fixed XSSFCell to preserve cell style when cell value is set to blank, also avoid NPE in XSSFCell.setCellType() when workbook does not have SST, see bugs 47026 and 47028
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766103 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 18:02:01 +00:00
Yegor Kozlov 1e40b052a3 removed deprecated code to keep javac happy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766102 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 17:59:01 +00:00
Josh Micich f41239ad03 Fix for bug 46987 - allow RecordFactory to handle non-zero padding at the end of the workbook stream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@765866 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:53:49 +00:00
Josh Micich 10ee56f313 added Workbook.getName(String) method. Fixed javadoc on related methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@765751 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:34:13 +00:00
Nick Burch be1fb69d9b Fix bug #47034 - Reading the name of a NameRecord when the name is > 127
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@765163 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 12:42:53 +00:00
Josh Micich 344e422785 Improvements to Test[HX]SSFCell. Small fix to XSSFCell to get one more common test working.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764225 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 17:53:39 +00:00
Yegor Kozlov 050f386bba removed unused imports of deprecated classes, fixed javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764203 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:15:27 +00:00
Yegor Kozlov 76ba6889d4 improved the script for uploading maven artefacts, use gpg:sign-and-deploy-file instead of deploy:deploy-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764198 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:11:39 +00:00
Yegor Kozlov 64a1c8bf92 fixed forrest.properties to work with jdk 1.6, see https://issues.apache.org/jira/browse/FOR-984; removed unused and deprecated stuff from build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764194 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 11:55:06 +00:00
Yegor Kozlov 9ac1e8df71 set forkmode=once for junit tests, it made the build process faster by 5x
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@763881 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 06:45:04 +00:00
Josh Micich 806706b135 Bugzilla 47001 - Fixed WriteAccessRecord and LinkTable to handle unusual format written by Google Docs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@763391 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 21:01:43 +00:00
Yegor Kozlov bb1ce91342 moved common interfaces from src/ooxml/interfaces-jdk15 to src/java, they do belong there
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@763332 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 17:51:33 +00:00
Josh Micich 60fd0a0fae Bugzilla 46973 - fixed defined names to behave better when refersToFormula is unset
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762479 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 19:57:21 +00:00
Yegor Kozlov 6ceeb39a45 consolidate limits specific to Excel version(Excel97, Excel2007) in SpreadsheetVersion enum, allow merged regions with columns greater than 255 or rows bigger than 65536 in XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762372 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 15:06:23 +00:00
Nick Burch e859a684f3 Quick update of the who-we-are page
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762288 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 11:36:29 +00:00
Josh Micich 527b4c7fc5 Bug 46951 - fixed formula parser to better handle range operators and whole row/column refs.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762250 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 08:22:25 +00:00
Yegor Kozlov 3fa069c79e changed build.xml to download all jar from a single location: http://repo1.maven.org, Gump failed many times in March 2009 because of timeout when downloading jars from ibiblio.org
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@762065 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 10:44:29 +00:00
Josh Micich dc2630494d Added toString debug method to MemAreaPtg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 02:53:08 +00:00
Josh Micich 0d76928c37 fixed compiler error from r761723
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761836 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 23:16:44 +00:00
Yegor Kozlov 3bcd8fd479 added SpreadsheetVersion enum to hold version-specific properties such as maximum number of rows and columns, etc.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761723 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 16:42:39 +00:00
Josh Micich b558d99132 Changed cell and area ref Ptgs to allow creation using CellReference and AreaReference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761553 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 07:41:29 +00:00
Josh Micich 0e7da90f77 Fix for bug 46948 - Range operator can now take area-refs for operands
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@761023 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:41:12 +00:00
Josh Micich fba33cf5a4 Fix for 46918 - Allow shorter format for ExtendedPivotTableViewFieldsRecord(SXVDEX) record
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@760646 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 21:12:47 +00:00
Nick Burch a9cfed0ccc Ditch poi 2.0 jar in the ruby contrib, and make it pull the one from dist instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@760494 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 15:49:43 +00:00
Josh Micich 6fb401a724 Bugzilla 46818 (patch from Wayne Clingingsmith) - added implementation for HYPERLINK function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@760343 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 06:09:06 +00:00
Josh Micich 91a91b2301 Fix for bug 46898 - Formula evaluator should not cache intermediate circular-reference error results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@760162 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 20:46:51 +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
Yegor Kozlov 52ab464cab improved test cases: moved common hssf-xssf test to org.apache.poi.ss namespace, removed duplicate tests, refactored code to throw same exceptions, etc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@759112 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 11:50:52 +00:00
Josh Micich ecf6617071 Fix for bug 46917 - PageItemRecord(SXPI) can contain multiple field infos
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@758770 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 17:42:18 +00:00
Yegor Kozlov 351dd75174 support rotation of simple shapes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@758578 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 10:13:50 +00:00
Nick Burch 46590f58a1 Fix the block allocation test, but still leave the recent blocks hssf bug fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@758353 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:22:06 +00:00
Nick Burch 579a4b95a4 Explicit cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757904 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 17:00:00 +00:00
Nick Burch d8af6dfdd4 Fix bug #46904, for old biff5/biff7 files where the block chain is terminated incorrectly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757873 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 16:07:49 +00:00
Nick Burch ad8f6284e8 Disabled test for bug #46904
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757860 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 15:50:36 +00:00
Josh Micich ef93bdc6ae Fix for bug 46840 - PageSettingsBlock should include HEADERFOOTER record
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757520 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 19:42:39 +00:00
Yegor Kozlov 5b0329873a update cell type when setting cached formula result in XSSFCell, also improved common xssf-hssf tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757198 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 15:12:11 +00:00
Yegor Kozlov 83dad280d8 added modifiers for anchor type to XSSFClientAnchor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@756965 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 16:28:26 +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
Josh Micich 4f4ad37765 Abstracted record construction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@754828 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 07:03:13 +00:00
Josh Micich 032d57431f updated url in comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@750316 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 04:54:27 +00:00
Yegor Kozlov e4d94add7f support built-in data formats in XSSFDataFormat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@749054 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 16:24:40 +00:00
Yegor Kozlov 1dfecf377c improved shifting of sheet-level names, also fixed an incorrect Bugzilla number in status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@748064 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 09:10:35 +00:00
Yegor Kozlov b93d8e4ff7 fixed bug #46715 - Column width from original xlsx file is discarded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747895 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 19:12:53 +00:00
Yegor Kozlov bebc51def9 more improvements in shiftRows: 1. shift named ranges and merged regions, JUnit added. 2. fixed shiftRows in XSSF to preserve row heights, see bugzilla 46719.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@747894 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 19:12:06 +00:00