Skip to content

Commit 2e4db1c

Browse files
committed
updated documentation
1 parent e2730d6 commit 2e4db1c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/elements.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ Currently the following fields are supported:
400400
- DATE
401401
- XE
402402
- INDEX
403+
- REF
403404

404405
.. code-block:: php
405406
@@ -427,6 +428,12 @@ For instance for the INDEX field, you can do the following (See `Index Field for
427428
//this actually adds the index
428429
$section->addField('INDEX', array(), array('\\e " " \\h "A" \\c "3"'), 'right click to update index');
429430
431+
//reference a book mark
432+
$section->addField(
433+
'REF',
434+
array('name' => 'your-bookmark'),
435+
array('InsertParagraphNumberRelativeContext','CreateHyperLink')
436+
);
430437
Line
431438
----
432439

0 commit comments

Comments
 (0)