title: How to add page numbers in format X of Y while creating a word document using apache poi api?
body: <p>Is there any method specified in POI API to get the total number of pages, I am able to add page number in the footer of the document but i am not able to add the total number of pages value. </p>