rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library

rtLibrary classes vs. Domino 6 Rich Text classes

NotesRichTextDocLink vs. rtNoteLink and rtHotLink

Start search Mail feedback Back to Description


NotesRichTextDocLink
Properties
Comment
DbReplicaID
DisplayComment
DocUNID
ServerHint
ViewUNID
Methods
Remove

rtNoteLink
Properties
Anchor
Comment
DbReplicaID
DisplayComment
DocUNID
linkType
ServerHint
ViewUNID

Methods
getDatabase
getDoc
getView
new
NDL
Remove
setSource

rtHotLink
Properties
BeginInsert
Comment
Content
dbReplicaID
LinkType
NoteLink As rtNoteLink
ServerHint
Methods
Add
EndInsert
new
remove
removeHotspot
setStyle

rtNoteLink class matches NotesRichTextDocLink class with following
Suplementary features:
Additional property Anchor allows to get/set target anchor name.
setSource allows to simply change the doclink (viewlink, databaselink) target.
Methods getDatabase, getDoc and getView retrieve corresponding Notes objects if available. Method NDL retrieves text representation of doclink necessary to build OS links to referenced objects.
Additional extension
NotesRichTextDoclink marks also links created as hotspots. However it takes some manipulation to access/set the link text. In rtLibrary this type of objects are handled by class rtHotLink.
The text (or images or any other content of hotlink) are accessible through Content property like any other object content.
Add property allows to add to this content that can be manipulated like the content of any other container like rtCell or rtSection object.
rtHotLink has much wider application than only doclinks. It allows read/write access to other object types available to hotlink in Notes like URL links, Notes named elements like views, pages and navigators, defining url/names by using either simple text or formula and providing target replica id or special db ids, like "current user mailfile".