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 8C7A5E57D for ; Thu, 24 Jan 2013 15:51:54 +0000 (UTC) Received: (qmail 87948 invoked by uid 500); 24 Jan 2013 15:51:53 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 87744 invoked by uid 500); 24 Jan 2013 15:51:53 -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 87732 invoked by uid 99); 24 Jan 2013 15:51:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 15:51:53 +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.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-ia0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 15:51:48 +0000 Received: by mail-ia0-f178.google.com with SMTP id y26so5110463iab.9 for ; Thu, 24 Jan 2013 07:51:27 -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=2VVWLO7gv3P4FdbrSVMUJ1o1YVcRwHn/y0reOLs4lfI=; b=AivNlOWuy5QocB3QH2gUHU9oEzKGDQ/cvA2LmEnyRN5bOSyP8uHaGtcZRpSBc1/g9q ycT40H4Q5b57wOMBIUYQxTFAs2HOwzFUnY0/2zJTkAyJNlCvqoWumVOOewfZgfGAyIlv imiDHWsBzRcBtDqq8oPrNR+8gv+xSl2U4vk8C9zqwTfGpTAvJC5M+fZSz/qp+EYVwEnt HE2MxlUDv7fPAmjt7OtMGFZcmqNtnsi3uhvYZAHEMYv4APwrGKXG1vIV3QtLxug5wHlc XGPCx+zj8nHU1ol86mJiMQKjp2fWdUkPuhL48wWTqsEaPkNlzX7t8kZMfCgH7nhulBP/ +0vA== MIME-Version: 1.0 X-Received: by 10.43.114.4 with SMTP id ey4mr1432791icc.27.1359042687930; Thu, 24 Jan 2013 07:51:27 -0800 (PST) Received: by 10.50.100.3 with HTTP; Thu, 24 Jan 2013 07:51:27 -0800 (PST) In-Reply-To: <1359042382232-5711980.post@n5.nabble.com> References: <1359037952175-5711976.post@n5.nabble.com> <1359041351365-5711978.post@n5.nabble.com> <1359042382232-5711980.post@n5.nabble.com> Date: Thu, 24 Jan 2013 10:51:27 -0500 Message-ID: Subject: Re: Create Header XWPF From: Mike McCullough To: POI Users List Content-Type: multipart/alternative; boundary=bcaec5171a47a6112a04d40ac89c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5171a47a6112a04d40ac89c Content-Type: text/plain; charset=ISO-8859-1 Make certain you created the correct header in your template document. There are three different types defined by XWPFHeaderFooterPolicy (DEFAULT, EVEN, and FIRST), and I'm assuming that you created a header for only the first page, but I could be wrong. On Thu, Jan 24, 2013 at 10:46 AM, sars84 wrote: > It is the header! DefaultHeader is Null. But i have headers in my input > file > > XWPFHeaderFooter header = headerFooterPolicy.getDefaultHeader(); > System.out.println(header.getText()); > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5711980.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 > > --bcaec5171a47a6112a04d40ac89c--