문제

Does anybody know how to change page size (from letter to A4) for XWPFDocument (docx)?

I cannot find any PrintSetup like it is done in XSSFDocument (xlsx).

Thanks for any help.

도움이 되었습니까?

해결책

You'll find similar question like your's here ..You'll find a sample code plus the required page sizes

How to set page orientation for Word document?

I hope this could help!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top