Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 510BB8605 for ; Thu, 1 Sep 2011 19:52:41 +0000 (UTC) Received: (qmail 90771 invoked by uid 500); 1 Sep 2011 19:52:40 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 90712 invoked by uid 500); 1 Sep 2011 19:52:40 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 90701 invoked by uid 99); 1 Sep 2011 19:52:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 19:52:40 +0000 X-ASF-Spam-Status: No, hits=-0.2 required=5.0 tests=FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-poi-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 19:52:30 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QzDIy-0005Gx-H5 for user@poi.apache.org; Thu, 01 Sep 2011 21:52:04 +0200 Received: from 205.193.112.119 ([205.193.112.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Sep 2011 21:52:04 +0200 Received: from ianwallen by 205.193.112.119 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Sep 2011 21:52:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@poi.apache.org From: Ian Subject: autoSizeColumn setColumnWidth passed 255 Date: Thu, 1 Sep 2011 19:51:53 +0000 (UTC) Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 205.193.112.119 (Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1) X-Virus-Checked: Checked by ClamAV on apache.org When I attempt to use the autoSizeColumn on a column that contains a lot of text I get the following error. Is this a known bug? ------------------------------------------------------------------------- The maximum column width for an individual cell is 255 characters. java.lang.IllegalArgumentException: The maximum column width for an individual cell is 255 characters. at org.apache.poi.hssf.model.InternalSheet.setColumnWidth(InternalSheet.java) at org.apache.poi.hssf.usermodel.HSSFSheet.setColumnWidth(HSSFSheet.java) at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java) at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java) ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org