Register Lost your password?
Full api documentation: full api documentation FREE version full api documentation PRO version

public function addEndnote(array paramsEndNote)

Parameters

$paramsEndNote : This parameter is an associative array and you must indicate the key and the value

  • ‘textEndNote’ (The endnote is a supplementary information which does not interrupt the normal reading flow of the document and it appears at the end of the page)
  • ‘textDocument’ (A reference mark within the text that indicates that additional information is available in a footnote or endnote. Each instance is properly numbered to allow the readers to find the information at the end of the page, the end of the document or at the end of the section.)
  • ‘font’ (A specific size and style of font type within a type family. Example ‘Times New Roman’, ‘Arial’,…)

Examples

Example 1 Version Pro


require_once 'classes/CreateDocx.inc';

$docx = new CreateDocx();

$docx->addEndnote(
    array(
        'textDocument' => 'Lorem ipsum dolor sit amet',
        'textEndNote' => 'endnote',
        'font' => 'Arial'
    )
);

$docx->createDocx('example_endnote');

Your comments