0
votes

I am writing a book using Google Docs and trying to put the heading of each page into the header of the specific page.

I did not find a way to have different headers on different pages. The header section seems to be static for all pages except for the first one.

I am wondering if there is a way to dynamically change the heading based on the heading of a page and if someone already has experiences with that topic.

1

1 Answers

0
votes

Based from this documentation,

There are rules about which types of elements can contain other types. Furthermore, the Document Service in Apps Script can only insert certain types of elements.

HeaderSection is one of those elements that can only be manipulated in place.