diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-02-25 17:06:19 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-02-25 17:06:19 +0000 |
commit | 4ad4d76241eae44386e52c3a23ca1b7ca28d1458 (patch) | |
tree | e7150276cac477f7f7987d1fe1dffbc335e90d98 /src/examples | |
parent | 02719ac4ba076b0f4d4246794c7f5bae86123bcf (diff) | |
download | poi-4ad4d76241eae44386e52c3a23ca1b7ca28d1458.tar.gz poi-4ad4d76241eae44386e52c3a23ca1b7ca28d1458.zip |
[bug-62055] Fix XSSFImportFromXML table resize. Thanks to Leonard Kappe. This closes #99
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825315 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java b/src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java index e1905f5be2..d1acce5f72 100644 --- a/src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java +++ b/src/examples/src/org/apache/poi/xssf/usermodel/examples/CreateTable.java @@ -75,9 +75,9 @@ public class CreateTable { } } // Create the columns - table.addColumn(); - table.addColumn(); - table.addColumn(); + table.createColumn("Column 1"); + table.createColumn("Column 2"); + table.createColumn("Column 3"); // Set which area the table should be placed in AreaReference reference = wb.getCreationHelper().createAreaReference( |