Word file has a header and footer but when converting to pdf the headers and footers are not present in PDF. To overcome this I used the DocumentBuilder but faced below problems:
If the Header is multi line (using InsertHtml) then the content of the first page moves completely to the second page. (refer attached Issue.Png)
I am providing margins to page set up and footer distance. If the footer also is multi line then the footer distance is not maintained. For 2 line footer I specified footer distance as 70 (for a 0.4 inch space between the footer and bottom of page) when 3 line specified footer distance as 50 for same 0.4 inch. This is confusing.