I'm writing a script for Google Docs. I want to get the position of all the headings in the document. Then I want to create a list of other links with these headings in the document. I do not want to use TABLE_OF_CONTENTS. I want to make similarity Navigation Panel in Word 2010(link). Only in Google Docs. How can I get the position, or create links to all the headings in the document and put them in the sidebar? Thank you for your help! Have a nice day.
You no longer need to resort to 3rd party add-ons as Google has embraced this feature and released it on 09/03/2016.
Just check Tools > Document outline
option and you are good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With