Is there a tag or a method to include page numbers in the WordDocument class? I'm looking for a way to automatically insert page numbers into my document generated using the WordDocument class in B4J. Any guidance or examples would be greatly appreciated.
B4X:
Dim wd As WordUtils
wd.Initialize
Dim doc As WordDocument = wd.CreateDocument
doc.Append($"
[header]
[p]this text will go to the header - PAGENUMBER? [/p]
[/header]"$)
...