5/11/2023 0 Comments Word headers different first page![]() ![]() īut apache poi version 3.16 Beta 2 has doc.createHeader(HeaderFooterType.FIRST) which sets titlePg flag in XML. In actual final apache poi version 3.15 this XML element titlePg can only be set using underlying low level objects using doc.getDocument().getBody().getSectPr().addNewTitlePg(). Then double click the header area of the second page, uncheck Link to Previous in Design ( Header & Footer Tools) tab. Click Layout Breaks Continuous to insert a section break 2. Put your cursor in the end of the first page. In Word GUI there is a checkbox Different First Page in Header & Footer Tools to achieve that.Īnd according Office Open XML Part 4 - Markup Language Reference there must a boolean XML element titlePg be set to determine that there is a title page present. But if it’s still not enough for you, try following steps: 1. That there is a different header set for first page only, means not that this header will also be shown. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |