addEndnote

addEndnote

BASIC / ADVANCED / PREMIUM

Inserts an endnote into the Word document.

Description
public void addEndnote(OptionsEndnote options)

This method allows the insertion of a endnote into the Word document.

Parameters

options

Option Type Description
textDocument WordFragment Text that will appear in the Word document just before the endnote call.
textEndnote WordFragment WordFragment that will appear in the Word document.
endnoteMark HashMap<String, String>
  • customMark: a special character, if any, that you would like to use for the call to the endnote content.
  • font: the font family you wish to use (Arial, Calibri...).
  • bold: true or false for bold text.
  • bidi: true for right to left languages.
  • italic: true or false to turn on italics.
  • color: an hexadecimal color ('000000', 'FF0000'...).
  • rtl: true for right to left languages.
referenceMark HashMap<String, String>
  • font: the font family you wish to use (Arial, Calibri...).
  • bold: true or false for bold text.
  • bidi: true for right to left languages.
  • italic: true or false to turn on italics.
  • color: an hexadecimal color ('000000', 'FF0000'...).
  • rtl: true for right to left languages.
Code samples

Example #1

The resulting Word document looks like:

Example #2