Skip to main content
Inspiring
August 10, 2022
Answered

Inserting Endnote in InDesign document programatically

  • August 10, 2022
  • 1 reply
  • 1331 views

Hello All,

 

I am trying to add/insert endnote in InDesign document programatically.

I manage to add it and end notes are coming at the end of document, but my goal is to add endnote at bottom of each page/story 

 

To do this I tried setting Scope and Place in endnote settings as follows

 

        iEndnoteSettings->SetScope(IEndnoteSettings::Scope::kStory);

        iEndnoteSettings->SetPlace(IEndnoteSettings::Place::kNewPage);

 

Above code works and endnote gets created in new page after page/story where I am inserting it. 

I want to add endnote on main page/story itself and do not want to create new page for it.

 

I tried setting  Place(Endnote Frame) as “Load the place cursor”  but this requires user action to draw text frame for endnote 

        iEndnoteSettings->SetPlace(IEndnoteSettings::Place::kPlacegun);

 

Is there way I can do it programatically to add end note at the bottom of same page?

 

Any help is highly appreciated, Thanks in advance 

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

End notes, by definition, go to the end of a document. I believe ID's options are to the end of a section, a chapter or the entire book/document.

 

Notes at the bottom of a page are footnotes — structurally and in ID terminology — even if as author you're regarding them as "end notes."

 

1 reply

James Gifford—NitroPress
Legend
August 10, 2022

End notes, by definition, go to the end of a document. I believe ID's options are to the end of a section, a chapter or the entire book/document.

 

Notes at the bottom of a page are footnotes — structurally and in ID terminology — even if as author you're regarding them as "end notes."

 

Chetan SAuthor
Inspiring
August 11, 2022

Thank You James

 

Is it possible to have footnote like attached image in InDesing on each page?

 

 

 

Participating Frequently
September 13, 2022

Hi Xpertios, i'm trying to do exactly the same thing, did you found how to do with the C++ SDK ?  Many thanks in advance for your help.

Guillaume