JSON API - addEndnote

addEndnote

PREMIUM TRIAL / ADVANCED

Inserts an endnote.

Note

You are reading the JSON API documentation. For the PHP API method please go to addEndnote.

JSON data

Other styles from createParagraphStyle can be used.

Key Description
textDocument string or WordFragment.
textEndnote string or WordFragment.
textEndnotes Add multiple endnotes.
pStyle Paragraph style. Default as endnoteTextPHPDOCX.
rStyle Character style. Default as endnoteReferencePHPDOCX.
endnoteMark
  • "customMark": a special character, if any, that you would like to use for the call to the endnote content.
  • "font": font family (Arial, Calibri...).
  • "fontSize": the font size.
  • "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.
  • "highlightColor": black, blue, cyan, green, magenta, red, yellow, white, darkBlue, darkCyan, darkGreen, darkMagenta, darkRed, darkYellow, darkGray, lightGray, none.
  • "underline": underlines text: single.
  • "backgroundColor": an hexadecimal color.
referenceMark
  • "font": font family (Arial, Calibri...).
  • "fontSize": the font size.
  • "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.
  • "highlightColor": black, blue, cyan, green, magenta, red, yellow, white, darkBlue, darkCyan, darkGreen, darkMagenta, darkRed, darkYellow, darkGray, lightGray, none.
  • "underline": underlines text: single.
  • "backgroundColor": an hexadecimal color.
Code samples

Example #1

Release notes
  • phpdocx 18.0:
    • new action.