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 70C1318672 for ; Wed, 24 Feb 2016 22:00:59 +0000 (UTC) Received: (qmail 55686 invoked by uid 500); 24 Feb 2016 22:00:46 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 55653 invoked by uid 500); 24 Feb 2016 22:00:46 -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 55640 invoked by uid 99); 24 Feb 2016 22:00:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 22:00:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D6E861A4301 for ; Wed, 24 Feb 2016 22:00:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2 X-Spam-Level: ** X-Spam-Status: No, score=2 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cjx4GcLHzs_f for ; Wed, 24 Feb 2016 22:00:44 +0000 (UTC) Received: from mx0b-00153b01.pphosted.com (mx0b-00153b01.pphosted.com [208.86.201.241]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 02EA95F3F0 for ; Wed, 24 Feb 2016 22:00:41 +0000 (UTC) Received: from pps.filterd (m0042348.ppops.net [127.0.0.1]) by mx0b-00153b01.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id u1OLxNVa007345 for ; Wed, 24 Feb 2016 14:00:35 -0800 Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by mx0b-00153b01.pphosted.com with ESMTP id 218uxgwhx9-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 24 Feb 2016 14:00:35 -0800 Received: by mail-pa0-f41.google.com with SMTP id ho8so20287713pac.2 for ; Wed, 24 Feb 2016 14:00:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=hb8qTNEChYH0vlaRGFPtdRr0XYaS1QMgTbFU5aoPNVU=; b=MLBvCy/HyQy4612P5fsG+yocwH1ud7+zN1nsCokwqNgJbYRu1dY0LZ9VZNqtrhJ3Xq xJ1ZbOU1E3wxZTCWOmD+AeQvKjhhUYDf2Zfg6g8gQr0yp9IT7IZbVFefeAPYgh8SUaV2 +QX/9C8E1dIkG93ROSxcXCCtqBmxrkJ76JINjbTycGZW98w13S8vMBZ+04RvZ5AdbSL3 rUEeKv1pZtA+KEmcbGQeZNwVJBLvixsDxU2xVU39UrLg5HXF0pXqgMKTI4CFqGeUHYzq EnsY/WeVkSYAWHXG/0TMfgv2YjZWc+iXuqEraDM2Ov8Mksebnq9NzhkbUXqzQPrX3dC1 XcAw== X-Gm-Message-State: AG10YOS8bXYIJkLWbw3RYttAAd+i3qOHOsP5v84rvSv0YD5ouopDCFmv4wVCSFHVtWA2gjdBf7jYLwkAcmKr4us45XyiKuoasQdC2LgBwSOA9eN/awJqu4zHpWIxBDPSWoUtLR5PZsUCWa8fD0PYe6xkvVY7k/MoewMFjxw49x4SRHzF X-Received: by 10.66.158.232 with SMTP id wx8mr24281475pab.159.1456351229224; Wed, 24 Feb 2016 14:00:29 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.66.158.232 with SMTP id wx8mr24281459pab.159.1456351229075; Wed, 24 Feb 2016 14:00:29 -0800 (PST) Received: by 10.66.161.41 with HTTP; Wed, 24 Feb 2016 14:00:29 -0800 (PST) Date: Wed, 24 Feb 2016 14:00:29 -0800 Message-ID: Subject: Reading (not writing) conditional states: possible? From: Blake Watson To: POI Users List Content-Type: multipart/alternative; boundary=047d7b673198ad7b95052c8b317d X-Proofpoint-Spam-Reason: safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-02-24_11:,, signatures=0 --047d7b673198ad7b95052c8b317d Content-Type: text/plain; charset=UTF-8 So, there's lots of examples on how to write out conditional stuff to Excel files. But I've got an Excel workbook with some conditional cells in it already, and I want to know how to format those cells. Simple example: ==> Cell A1, otherwise unformatted, turns purple if its contents are greater than 0. If I read A1's style, I'll get the plain format. Now, I put "100" into A1. This doesn't change the cell style. If I evaluate A1, that still doesn't change the style. Do I have to go through all the conditions that might apply and do it that way? IOW, POI doesn't directly/automatically support conditional formatting triggered by changes made to an XSSFCell? -- *Blake Watson* *PNMAC* Application Development Manager 5898 Condor Drive Moorpark, CA 93021 (805) 330.4911 x7742 blake.watson@pnmac.com www.PennyMacUSA.com --047d7b673198ad7b95052c8b317d--