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 1957D188F7 for ; Mon, 1 Feb 2016 18:17:46 +0000 (UTC) Received: (qmail 86023 invoked by uid 500); 1 Feb 2016 18:17:42 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 85981 invoked by uid 500); 1 Feb 2016 18:17:42 -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 85969 invoked by uid 99); 1 Feb 2016 18:17:42 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 18:17:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DB12CC0C87 for ; Mon, 1 Feb 2016 18:17:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.546 X-Spam-Level: X-Spam-Status: No, score=-0.546 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.545, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5vKp_-NrrFDU for ; Mon, 1 Feb 2016 18:17:34 +0000 (UTC) Received: from BLU004-OMC3S36.hotmail.com (blu004-omc3s36.hotmail.com [65.55.116.111]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9BB342565F for ; Mon, 1 Feb 2016 18:17:33 +0000 (UTC) Received: from BLU436-SMTP113 ([65.55.116.72]) by BLU004-OMC3S36.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 1 Feb 2016 10:17:27 -0800 X-TMN: [JVKPFhInzGQytzgvFspWf5N6Xgs00TCL] X-Originating-Email: [maheshwar_eng@hotmail.com] Message-ID: User-Agent: Microsoft-MacOutlook/0.0.0.151217 Date: Mon, 1 Feb 2016 10:17:21 -0800 Subject: Re: Ability to set solid color on DataBarFormatting From: Maheshwar Jayaraman To: POI Users List Thread-Topic: Ability to set solid color on DataBarFormatting References: <4CBBBDD7FB566C4DB70EB7A04E0B466FC40FC8@Exchange3.exchange2.metalexmfg.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Feb 2016 18:17:25.0316 (UTC) FILETIME=[CD2C6040:01D15D1C] Nick, Thanks for the instructions. I realize I need to make changes to the underlying CT_DataBar class as well as that defines the actual attribute for gradient. That is a separate library. Is there a standard process for stacking such dependent changes across 2 libraries? Mahesh On 1/27/16, 10:39 AM, "Nick Burch" wrote: >On Tue, 26 Jan 2016, Maheshwar Jayaraman wrote: >> The default is gradient fill for a data bar. I wanted it to be a solid >> (I think it translates to a gradient=0 attribute). I spent enough time >> trying to set this via reflection that I think I can take a stab at >> adding a patch for this. I will read docs to see how to contribute and >> take it forward from there. > >First thing would be to produce new versions of >NewStyleConditionalFormattings.xls / NewStyleConditionalFormattings.xlsx >which add in examples of the formatting you want into additional columns > >Next, work out how to read that difference (unzip the XLSX file & read the >xml / use BiffViewer) > >Next, work out a sensible way to expose that difference in the conditional >formatting usermodel classes > >Now, add that to the usermodel, and matching lower level code as needed > >Then update the unit tests to check on read and write > >Finally, update the example to also generate these > >And then you're done :) > >Nick > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@poi.apache.org >For additional commands, e-mail: user-help@poi.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org