Hi all iam trying to convert html to docx using Docx4j. I want to set the docx page orientation depending on the html page orientation, i.e if html is in landscape mode i want the converted docx to be landscape mode. Can any one help me how i can achieve this.
Iam able to set the converted docx orientation to landscape by using the below code:
PageDimensions page = new PageDimensions();