how do I add a pageref to my text?
In Word I would add:
- Code: Select all
{ \PAGEREF bookmark }
Thanks a lot for your help!
Best regards.
It is currently Wed Oct 15, 2025 7:28 am
{ \PAGEREF bookmark }
Relationship altChunkRel1 = documentTemplate.getMainDocumentPart().addTargetPart(DocumentUtil.showHtml((new String(section.getSectionNotes().toCharArray())), index));
CTAltChunk ac1 = Context.getWmlObjectFactory().createCTAltChunk();
ac1.setId(altChunkRel1.getId());
documentTemplate.getMainDocumentPart().getContent().add(index, ac1);
Total posts 10200 • Total topics 2872 • Total members 2100