Copy link to clipboard
Copied
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
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."
—
Copy link to clipboard
Copied
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."
—
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I don't see anything that isn't a pretty usual footnote position and format. All of that would be controlled under Footnote Options.
What are you finding hard to do here?
—
Copy link to clipboard
Copied
Hello James,
I still cannot create a footnote / endnote programmatically, within our plugin in C++ for InDesign.
If you have a piece of code to share it would be appreciated
Copy link to clipboard
Copied
Oh, sorry, wasn't clear that automating the process was part of your goal as well.
I'm not really a script or code guy in ID, so I don't have an answer, but I am puzzled by how you see this process as something that can be done by a script, or code, or automation. Some degree of 'intelligence' is needed to place and match a footnote (or endnote) to the document content.
—
Copy link to clipboard
Copied
No worry James, the creation by program of endnotes is the goal, from a source text which contains main text and notes, it is indeed a human intelligence which at the beginning wrote and placed the notes.
Copy link to clipboard
Copied
So, specifically, what would you automate about the process, and how (as in what steps)?
—
Copy link to clipboard
Copied
@Guillaume D what help do you need, do you want example to create endnote/footnote using C++ SDK?