Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 75745 invoked from network); 11 Oct 2007 16:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 16:03:24 -0000 Received: (qmail 61442 invoked by uid 500); 11 Oct 2007 16:03:11 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 61265 invoked by uid 500); 11 Oct 2007 16:03:10 -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 61256 invoked by uid 99); 11 Oct 2007 16:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 09:03:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.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; Thu, 11 Oct 2007 16:03:14 +0000 Received: from grenache.internal.torchbox.com ([192.168.1.81]) by fluffy.torchbox.com with esmtp (Exim 4.63) (envelope-from ) id 1Ig0Ut-00031M-KI for user@poi.apache.org; Thu, 11 Oct 2007 17:02:51 +0100 Date: Thu, 11 Oct 2007 17:06:04 +0100 (BST) From: Nick Burch X-X-Sender: nick@localhost.localdomain To: POI Users List Subject: Re: Changing .DOC files with HWPF and .PPT files with HSLF In-Reply-To: <8d00e9fc0710110741x42dc69c5kf550e7794a465bda@mail.gmail.com> Message-ID: References: <8d00e9fc0710110450x3f7a1259s6ff1d79b9b425fe1@mail.gmail.com> <8d00e9fc0710110741x42dc69c5kf550e7794a465bda@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -104.0 (---------------------------------------------------) Organization: Torchbox Ltd, Registered Company #3983354, Unit 9, Southill Business Park, OX7 3EW, UK X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 11 Oct 2007, Luiz Antonio Falaguasta Barbosa wrote: > And what about the text formatting of files generated? Could I choose > the format of values before generate the files? That ought to be fine. As long as you step down to the lowest level of text (character run in word, RichTextRun in powerpoint) and change the text there, then your new text ought to get the same formatting as the old token had. (Slight caveat - the formatting stuff in hwpf can sometimes get confused when changing text, so you might hit issues. Alas we're in need of a new hwpf champion to fix this sort of thing) > And what about the insertion of images, can I change a key by an image? I don't think that's possible, no. Off the top of my head, I can't think of any parts of HWPF that allow adding images, and I don't think the HSLF image code supports that sort of thing yet (but Yegor might prove me wrong!) Nick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org