Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 83953 invoked from network); 11 Aug 2006 15:19:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 15:19:08 -0000 Received: (qmail 61223 invoked by uid 500); 11 Aug 2006 15:19:06 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 61205 invoked by uid 500); 11 Aug 2006 15:19:05 -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 61194 invoked by uid 99); 11 Aug 2006 15:19:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 08:19:05 -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.13.50.178] (HELO dinom.ru) (81.13.50.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 08:19:04 -0700 Received: from [62.118.58.210] (helo=jmldev1) by dinom.ru with asmtp (Exim 4.41) id J3UBOG-00015C-26 for poi-user@jakarta.apache.org; Fri, 11 Aug 2006 19:43:28 +0400 Date: Fri, 11 Aug 2006 19:22:24 +0400 From: Yegor Kozlov X-Mailer: The Bat! (v1.60) Business Organization: Dinom LLC X-Priority: 3 (Normal) Message-ID: <120381720000.20060811192224@dinom.ru> To: "POI Users List" Subject: Re: Get text from a URL pointing to a ppt file In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I think it can be caching issue. I guess your code was something like this: URL url = new URL("http://localhost:8080/analysis.ppt"); URLConnection conn = url.openConnection(); InputStream is = conn.getInputStream(); SlideShow ppt = new SlideShow(is); //the order of slides is incorrect I would try to call conn.setUseCaches(false) before opening the input stream: URL url = new URL("http://localhost:8080/analysis.ppt"); URLConnection conn = url.openConnection(); conn.setUseCaches(false); InputStream is = conn.getInputStream(); SlideShow ppt = new SlideShow(is); //Does it fix the problem? Regards, Yegor LH> Hello, LH> I am trying to use SlideShow.getSlides() to get slides from a URL pointing LH> to a powerpoint file. The problem is that I am not getting the LH> slides in the correct order. However, if I download the ppt file and run LH> the same program, The order of the slides is much closer to the real LH> order, i.e. at least I get the first few slides in order (and this is LH> what I need). Any idea how I can fix the problem? LH> Thanks, LH> Leila LH> --------------------------------------------------------------------- LH> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org LH> Mailing List: http://jakarta.apache.org/site/mail2.html#poi LH> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ --------------------------------------------------------------------- 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/