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 E20C0D1E1 for ; Fri, 12 Oct 2012 09:47:35 +0000 (UTC) Received: (qmail 63018 invoked by uid 500); 12 Oct 2012 09:47:35 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 62724 invoked by uid 500); 12 Oct 2012 09:47: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 62666 invoked by uid 99); 12 Oct 2012 09:47:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 09:47:32 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.13.204.73] (HELO urchin.earth.li) (212.13.204.73) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 09:47:24 +0000 Received: from port-212-202-97-146.static.qsc.de ([212.202.97.146] helo=[192.168.50.109]) by urchin.earth.li with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TMbpf-0004rx-5g for user@poi.apache.org; Fri, 12 Oct 2012 10:47:04 +0100 Message-ID: <5077E711.8060101@apache.org> Date: Fri, 12 Oct 2012 10:46:57 +0100 From: Nick Burch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: user@poi.apache.org Subject: Re: [HWPF] Get Style Name for Paragraph/Character from Word Doc (.doc) References: <13AD7CD97C2D6F4291C93BFE189F0252AD3732@usiowace3mx10.PEROOT.COM> In-Reply-To: <13AD7CD97C2D6F4291C93BFE189F0252AD3732@usiowace3mx10.PEROOT.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Urchin-Spam-Score-Int: -28 X-Urchin-Spam-Bar: -- X-Virus-Checked: Checked by ClamAV on apache.org On 11/10/12 19:30, Polk, Scott W wrote: > The style of the first line is set to Quote, while the style of the > second line is set to Strong. Is that the style of the paragraph, or just of some text? IIRC, you can style either a paragraph or some text in it (possibly all of it!), and they end up differently in the file It might be worth checking the start and end of the character runs within in the paragraphs, to check what's happening. You might find you need to get character style info rather than paragraph style info Nick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org