Page 1 of 1

page number reset while converting xhtml to docx

PostPosted: Tue Mar 15, 2022 3:50 pm
by mithilesh.jha
I want restart the page number for the last section/div of xhtml while it converting to docx .
Like I have two parts(divs) in my xhtml . One for letter and and another one for reply form. I want to include both in my final docx file and restart the page numbering for reply form . Let suppose I have 6 no. of physical pages in my final docx file in which 1st four pages are of letter and rest 2 pages are for reply form . Then 1st four page will have page 1 of 4, 2 of 4 , 3 of 4 and 4 of 4 and last 2 pages will have page 1 of 2 and page 2 of 2. Reply form should always start from new page. Margins of reply form will be different .
I can create two different xhtml as well one for letter and one for reply form .