Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Name Type Description 
Parameter(s) bookmarkId java.lang.StringThe bookmark
ID.
 content java.lang.Object The text
content.
Return -com.nomagic.magicreport.LinkThe text content
with a hyperlink
in the RTF format. 

For example:

Code Block
languagetext
Click this link to: $bookmark.open($element.elementID, "Click here to $element.name")


$bookmark.create(bookmarkObject)

Create a bookmark. The bookmark ID will be automatically generated from the bookmark object.

...

 Name Type Description 
Parameter(s)bookmarkId java.lang.String The bookmark
ID.
  bookmarkObjectjava.lang.ObjectA bookmark
object or content.
Return -com.nomagic.magicreport.Bookmark The content with
a bookmark in
the RTF format. 

For example:

Code Block
languagetext
$bookmark.create($element.elementID, $element.name)


$bookmark.create(bookmarkId, bookmarkObject, elementType)

...