i am trying to generate docx file from .html template with inline styling. when i'm creating new doc file i found each paragraphs has extra spacing before it started. i could change that spacing by adjusting default font size and line spaces in styles.xml file in docx4j. but as a result the default font size become too small that i coudn't see anything written in that space. so i need to apply font sizing to the footer part of the document. also i need to add page number with some format like "Page 1 of 1" at the right bottom part of generated document.
thanks in Advance