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 21A93D971 for ; Tue, 5 Mar 2013 16:44:31 +0000 (UTC) Received: (qmail 70198 invoked by uid 500); 5 Mar 2013 16:44:30 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 69145 invoked by uid 500); 5 Mar 2013 16:44:27 -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 69107 invoked by uid 99); 5 Mar 2013 16:44:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 16:44:25 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mike.mccullough@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-ia0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 16:44:21 +0000 Received: by mail-ia0-f172.google.com with SMTP id l29so6401070iag.31 for ; Tue, 05 Mar 2013 08:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=OkXkT7vLv+L11yFtQ8cEYcGvSBMtl85mhxv2r8d0d5o=; b=JXaiC6BrNu8XJE4TxR4Fm3+jUEimAp4bnbosHSQfKBUB8USrbrHRF8GdEUTXX2yAON 9UQQy8jVZJrWonVZPvx55x0RrY0HNC8JH2Yk1Us3IqR2IKZwBeEwOp4LJBZOak1fCIvc U/PW5UYONiWI9oJevMfktu3JRWaeotC1UzU8DUUOMqOiZOemOIOcaXgSpDj079ek3+8O FnWRP3w6Wmh5/Dk4m3TE7XxSdzgUhVOn/Gww5GpvzrBNjA+qi4T9QfFcE/MmQ1VW2S89 j6JKbUZ7B2ImGDkAsEIPjio/ny9O3iKp6XuWoB8uM9lSVAgHQr22DQ/d2kh+ttt2B4i3 q7DA== MIME-Version: 1.0 X-Received: by 10.50.53.136 with SMTP id b8mr6663495igp.0.1362501840447; Tue, 05 Mar 2013 08:44:00 -0800 (PST) Received: by 10.50.197.133 with HTTP; Tue, 5 Mar 2013 08:44:00 -0800 (PST) In-Reply-To: <1362498720560-5712242.post@n5.nabble.com> References: <1359037952175-5711976.post@n5.nabble.com> <1359041351365-5711978.post@n5.nabble.com> <1359042382232-5711980.post@n5.nabble.com> <1359043619857-5711982.post@n5.nabble.com> <1359113146394-5711994.post@n5.nabble.com> <1362498720560-5712242.post@n5.nabble.com> Date: Tue, 5 Mar 2013 11:44:00 -0500 Message-ID: Subject: Re: Create Header XWPF From: Mike McCullough To: POI Users List Content-Type: multipart/alternative; boundary=f46d043c7d1634b63304d7302e3e X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c7d1634b63304d7302e3e Content-Type: text/plain; charset=ISO-8859-1 The dependencies that I used in my maven pom.xml files include: org.apache.poi poi-ooxml 3.9 org.apache.poi ooxml-schemas 1.1 org.apache.xmlbeans xmlbeans 2.3.0 So you can either update your classpath to include the above jar files, or, what I would recommend is that you use maven to handle all your dependency management. As a side note, if you have maven as your project file, you can easily move towards any other java IDE that supports it as well *cough* IntelliJ IDEA *cough*. Mike On Tue, Mar 5, 2013 at 10:52 AM, Paul C. wrote: > Hi Mike, > Thanks for the post. When I was trying out your sample code, I have > difficult compiling the code. My eclipse project complaining that > STPTabRelativeTo, STHorizontalAlignment and STPTabLeader cannot be > resolved. > I do have poi-ooxml-schemas-3.7-20101029.jar on my class path. Sorry I am > new to POI. Is there something that I might be missing? > Thanks, > Paul > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5712242.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@poi.apache.org > For additional commands, e-mail: user-help@poi.apache.org > > --f46d043c7d1634b63304d7302e3e--