Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 54987 invoked from network); 7 Jan 2009 15:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 15:05:34 -0000 Received: (qmail 27981 invoked by uid 500); 7 Jan 2009 15:05:33 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 27952 invoked by uid 500); 7 Jan 2009 15:05:33 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 27938 invoked by uid 99); 7 Jan 2009 15:05:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 07:05:33 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 15:05:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LKZxw-0006du-Rl for dev@poi.apache.org; Wed, 07 Jan 2009 07:05:04 -0800 Message-ID: <21333054.post@talk.nabble.com> Date: Wed, 7 Jan 2009 07:05:04 -0800 (PST) From: dinshetty To: dev@poi.apache.org Subject: Re: Generating ppt through java In-Reply-To: <18399673.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dinakara.shetty@gs.com References: <18399673.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Yegor, I need to read text in the cells (in the form of string) from an Excel 2007 file. I am using the package org.apache.poi.ss.usermodel.*. I tried to use the methods Cell.getRichStringCellValue().getString() and Cell.getRichStringCellValue().toString(). But these methods are returning null, when the cell's text is having different fonts (i.e. some part of the cell's text is bold and some part is plain). Is there any way I can get the plain text regardless of the font and format of the text ? Regards, Dinakara -- View this message in context: http://www.nabble.com/Generating-ppt-through-java-tp18399673p21333054.html Sent from the POI - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org