From ee6bb48894ed6e7bbcd6236dec968fbc347d1e45 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Fri, 18 Mar 2011 16:06:10 +0000 Subject: [PATCH] Fix bug #49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1082961 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/status.xml | 1 + .../poi/xssf/usermodel/XSSFWorkbook.java | 13 +++++- .../poi/xssf/usermodel/TestXSSFBugs.java | 42 +++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 3ee716b135..fa77fbdf19 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there 49219 - ExternalNameRecord support for DDE Link entries without an operation 50846 - More XSSFColor theme improvements, this time for Cell Borders 50939 - ChartEndObjectRecord is supposed to have 6 bytes at the end, but handle it not 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 b7ae031502..f4512914df 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java @@ -1018,8 +1018,17 @@ public class XSSFWorkbook extends POIXMLDocument implements Workbook, Iterable