Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 38162 invoked from network); 4 Jul 2006 14:07:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jul 2006 14:07:37 -0000 Received: (qmail 20170 invoked by uid 500); 4 Jul 2006 14:07:31 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 20151 invoked by uid 500); 4 Jul 2006 14:07:31 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 20139 invoked by uid 99); 4 Jul 2006 14:07:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 07:07:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [81.187.40.70] (HELO fluffy.torchbox.com) (81.187.40.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jul 2006 07:07:30 -0700 Received: from grenache.internal.torchbox.com ([192.168.1.81]) by fluffy.torchbox.com with esmtp (Exim 4.50) id 1FxlYT-00069e-DO for poi-user@jakarta.apache.org; Tue, 04 Jul 2006 15:07:09 +0100 Date: Tue, 4 Jul 2006 15:07:09 +0100 (BST) From: Nick Burch X-X-Sender: nick@localhost.localdomain To: POI Users List Subject: Re: PPT Pictures In-Reply-To: Message-ID: References: <2035.200.19.186.19.1151697719.squirrel@webmail.nuts.ufc.br> <45348796.20060703114027@dinom.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -104.3 (---------------------------------------------------) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 4 Jul 2006, mr.jonze wrote: > I'd like to report an error that i found while using POI. I was > retrieving the pictures from a ppt file and saving each one in a file > and it was working ok, but i deleted one of the pictures of the > PowerPoint file and POI was still saving it in a file. Then I realized > that it happens when the source file of the picture is NOT a .PNG file. > In this case, it happened with a .BMP and a .JPG file. Are you getting the pictures from HSLFSlideShow, or from individual slides? Quite often, powerpoint will leave behind old records when you do a save. So, it's not impossible that when you "delete" some images, all that'll happen is the slide -> picture reference is deleted. The pictures could well remain in the pictures stream until powerpoint feels like doing a full resave As Yegor said, if you could upload the problem PPT file, and your code to bugzilla, that'll help us look into it Nick --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/