From df49838158066b89414c347b43412dde795539cf 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 3ee716b13..fa77fbdf1 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 b7ae03150..f4512914d 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