From: Yegor Kozlov Date: Fri, 24 Apr 2009 18:25:19 +0000 (+0000) Subject: fixed XSSFWorkbook.createSheet to properly increment sheetId when sheetId sequence... X-Git-Tag: REL_3_5_BETA6~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8363279282f5219f05f18374566509357b1d080d;p=poi.git fixed XSSFWorkbook.createSheet to properly increment sheetId when sheetId sequence is not continious git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@768389 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/changes.xml b/src/documentation/content/xdocs/changes.xml index 6619952eed..39f0cfc0e0 100644 --- a/src/documentation/content/xdocs/changes.xml +++ b/src/documentation/content/xdocs/changes.xml @@ -37,6 +37,7 @@ + 47089 - Fixed XSSFWorkbook.createSheet to properly increment sheetId 46568 - Fixed XSLFPowerPointExtractor to properly process line breaks 39056 - Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStream 47054 - Fixed cloneStyleFrom to avoid exception when cloning styles of the same family diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 7da766676d..82563c9f67 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 47089 - Fixed XSSFWorkbook.createSheet to properly increment sheetId 46568 - Fixed XSLFPowerPointExtractor to properly process line breaks 39056 - Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStream 47054 - Fixed cloneStyleFrom to avoid exception when cloning styles of the same family diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java index 1648ac86f3..c288354898 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java @@ -453,7 +453,9 @@ public class XSSFWorkbook extends POIXMLDocument implements Workbook, Iterable