Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 48277 invoked from network); 2 Oct 2010 09:05:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 09:05:40 -0000 Received: (qmail 97154 invoked by uid 500); 2 Oct 2010 09:05:38 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 97141 invoked by uid 500); 2 Oct 2010 09:05:35 -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 97125 invoked by uid 99); 2 Oct 2010 09:05:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 09:05:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nick.burch@alfresco.com designates 88.151.129.23 as permitted sender) Received: from [88.151.129.23] (HELO mx-out-manc3.simplymailsolutions.com) (88.151.129.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 09:05:25 +0000 Received: from zimbra.alfresco.com ([10.2.10.4]) by mx-out-manc3.simplymailsolutions.com (8.14.1/8.14.1) with ESMTP id o9294uLC005108; Sat, 2 Oct 2010 10:04:56 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.alfresco.com (Postfix) with ESMTP id 1C18E414023; Sat, 2 Oct 2010 10:04:56 +0100 (BST) X-Virus-Scanned: amavisd-new at unx-d-manc4.tc.ifeltd.com Received: from zimbra.alfresco.com ([127.0.0.1]) by localhost (zimbra.alfresco.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYb-Bgd3KNcB; Sat, 2 Oct 2010 10:04:55 +0100 (BST) Received: from urchin.earth.li (urchin.earth.li [212.13.204.73]) (Authenticated sender: nick.burch@alfresco.com) by zimbra.alfresco.com (Postfix) with ESMTP id B168741401D; Sat, 2 Oct 2010 10:04:55 +0100 (BST) Date: Sat, 2 Oct 2010 10:04:55 +0100 (BST) From: Nick Burch X-X-Sender: nick@urchin.earth.li To: POI Users List , Zachary Mitchell Subject: Re: HWPFDocument and dataStream. In-Reply-To: <41928758435D4CBBA458A9C2A4EAB52F@homeone> Message-ID: References: <41928758435D4CBBA458A9C2A4EAB52F@homeone> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Sat, 2 Oct 2010, Zachary Mitchell wrote: > -What do I data seperator do I use at the start and end of each byte [] > range? Do images all just concatenate at the beginning? You need to put a word image header onto the front of your image before inserting it. See probably half a dozen emails now where everyone keeps telling you the same thing.... > -What role does the "\u0001" symbol play? As explained a number of times, and likely consider this my last attempt to repeat myself.... It goes into the text where you want the picture to be displayed. It has a special property on it (it's a single character character run) which has the offset into the picture table of the start of the word image header for that image Please please re-read all the replies everyone has already given you. Pretty much everything you need to know is there. However, you are going to have to do some work, you will not find a magic simple answer no matter how many times you repeat your question.... Nick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org