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 750C5E2E1 for ; Thu, 14 Mar 2013 15:00:18 +0000 (UTC) Received: (qmail 91500 invoked by uid 500); 14 Mar 2013 15:00:18 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 91012 invoked by uid 500); 14 Mar 2013 15:00:15 -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 90994 invoked by uid 99); 14 Mar 2013 15:00:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 15:00:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-poi-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 15:00:08 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UG9dU-0007l4-4H for user@poi.apache.org; Thu, 14 Mar 2013 16:00:04 +0100 Received: from 50-76-27-241-static.hfc.comcastbusiness.net ([50.76.27.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 16:00:04 +0100 Received: from yousuf.ma by 50-76-27-241-static.hfc.comcastbusiness.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Mar 2013 16:00:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@poi.apache.org From: Yousuf Subject: Getting OLE Objects from HWPF Doc Date: Thu, 14 Mar 2013 14:56:51 +0000 (UTC) Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 50.76.27.241 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.99 Safari/537.22) X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am looking to inspect the OLE objects from a given document. Using the getObjectsPool() method on the HWPFDocument gives me an ObjectsPool that I can call getObjectById(String) on, but that does not help me since I do not know the id. I modified the ObjectsPoolImpl locally and added a public Iterator getObjects() method, and that seems to work for me, but is there another way? or should I propose this API be added? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org