Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
I want to create a footer for word document meanwhile i got the create footer() method but first parameter is enum type .How i will set enum parameter for this function. Anyone pls help me.....
Java
XWPFFooter footer = policy.createFooter(Enum type, XWPFParagraph[] pars)

Regards
Andavar.p
Posted
Updated 15-Feb-12 22:39pm
v3

you have never tried to read the documentation, did you?

http://poi.apache.org/apidocs/org/apache/poi/xwpf/model/XWPFHeaderFooterPolicy.html[^]

The enum used here is described right as first thing.
 
Share this answer
 
v2
Check the documentation[^] for the possible options.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900