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 616116B32 for ; Tue, 7 Jun 2011 11:32:08 +0000 (UTC) Received: (qmail 59827 invoked by uid 500); 7 Jun 2011 11:32:07 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 59807 invoked by uid 500); 7 Jun 2011 11:32:07 -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 59799 invoked by uid 99); 7 Jun 2011 11:32:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 11:32:07 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nick.burch@alfresco.com designates 207.126.144.135 as permitted sender) Received: from [207.126.144.135] (HELO eu1sys200aog113.obsmtp.com) (207.126.144.135) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Jun 2011 11:31:58 +0000 Received: from zimbra.alfresco.com ([88.151.129.3]) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKTe4MGQZ7dARE0Y41/Bu8MNaoOnA+rbjQ@postini.com; Tue, 07 Jun 2011 11:31:38 UTC Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.alfresco.com (Postfix) with ESMTP id 73BF128C375 for ; Tue, 7 Jun 2011 12:31:37 +0100 (BST) X-Virus-Scanned: amavisd-new at unx-d-manc4.tc.ifeltd.com Received: from zimbra.alfresco.com ([127.0.0.1]) by localhost (zimbra.alfresco.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sUYauAyPqzOc for ; Tue, 7 Jun 2011 12:31:07 +0100 (BST) Received: from urchin.earth.li (urchin.earth.li [212.13.204.73]) (Authenticated sender: nick.burch@alfresco.com) by zimbra.alfresco.com (Postfix) with ESMTP id E497B28C36F for ; Tue, 7 Jun 2011 12:30:45 +0100 (BST) Date: Tue, 7 Jun 2011 12:30:45 +0100 (BST) From: Nick Burch X-X-Sender: nick@urchin.earth.li To: POI Users List Subject: Re: Cloning Style problem In-Reply-To: <4DEDF7AC.8060608@docpath.com> Message-ID: References: <4DEDF7AC.8060608@docpath.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 7 Jun 2011, Miguel Gomez wrote: > - In Excel 2003, it works, but there are problems with the colors, they > are similar but not the same. If you follow these steps, how far do you get before it breaks? * Set colour in poi * Clone style to new workbook * Check colour on style in new workbook * Save, and re-load in POI * Check colour on style in new workbook * Open in excel > - In Excel 2007, it doesn't work as when I open the workbook the bug > 50956 still appears. When I open a generated xlsx Excel shows a message > about corrupted styles.xml, but I am using POI 3.8 beta 3, which should > have the bug already corrected according to the change log: "50956 - > Correct XSSF cell style cloning between workbooks(poi-developers)". Can you try looking at the xml, and see if there's anything obviously wrong with it? Can POI read it properly? Do simple styles work and complex ones fail, or all? Nick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org