Page 1 of 1

Hiding Footer in Homepage(First page)

PostPosted: Wed Mar 21, 2012 10:14 pm
by sureshbabubv
Dear All,

I would like to hide (not to display) the footer text in the first page of the document.

ie the footer should not be displayed in the first page of the document.

Do we have a provision for this in docx4j api?


Thanks & Regards,
B.V.Suresh Babu.

Re: Hiding Footer in Homepage(First page)

PostPosted: Thu Mar 22, 2012 12:49 pm
by jason
Use a first page footer containing only an empty paragraph.

As usual, create this structure in Word to see what you need.

I expect you'll want a FooterReference of type HdrFtrRef.FIRST; you may also need to pay attention to title page setting.