What's new in version 1.3
Version 1.3 introduce new classes:
AddLink (parm as rtHotLink)
Links as rtEnumeration get property returns enumeration of all area hotspots contained by the Map
Link (parm as String) as rtHotLink gets Link by IDName property
deleteLink (IDName as String) deletes named link/hotspot
contains area hotspots, represented by rtHotLink class. Together with rtGraphic they now provide means to manage, create/modify area hotspots over images. rtGraphic also allows to modify image alignment and float attributes.
New layer in object hierachy -- rtItem represents the whole rich text item. It will evenually enable access to functionality for the whole item. At the same time it also returns rtContainer that allows detailed examination of item structure.
Both functionalities -- that provided by Container and direct methods of rtItem like Replace or ExportRTF does not act upon the same data. Once the text have been modified using Replace, use Update, before retrieving content using Container. In the same way, in case you have changed data using Container, use rtContainer.replaceItemValue or Update and Refresh before using rtItem methods.
The following table shows coexistance of two ways to manipulate item. Replace and Refresh methods deal only with state of rtItem object itself. Update method checks if rtItem has been changed -- if yes updates underlying Notes item, else attempts to replace Notes item with Container content. There is no way to tell if Container has been modified since last retrieved, so if there are no changes in rtItem itself and Container has been retrieved (via rtItem.Container property), it is written back.
In case Replace method does not find the target to be replaced rtItem is not regarder as modified.
global public object of class rtPublicSession. Eventually will provide different global settings. The first functionality is:
CRLF returns paragraph mark according to current OS standard. Shold be used in replace functionality to designate paragraph breaks (Replace method of rtContainer)
recycleAll releases memory and Notes objects still held by rtLib. Important to call in Terminate event -- if code executes in Agent, put rtLibSession.recycleAll in terminate event of the agent. Domino 6 unloads code slightly different than R5, so in some cases it can release code resources before it has chance to run Delete events of all objects, that can result in redbox.
rtTable class is ready for Domino 6 supporting new tabbed table styles. They may be created also in R5, but can be properly viewed only in Domino 6.
The new properties include new option for Viewer property of rtRowDisplayStyle -- CDTABLEVIEWER_CAPTIONS to create window like row selection, as well as well as new values for TabPosition property of rtRowDisplayStyle - TAB_POSITION_TOP (default), TAB_POSITION_BOTTOM, TAB_POSITION_RIGHT and TAB_POSITION_RIGHT.
rtParagraphstyle now provides properties to manage (or delete if you wish) named styles.
rtAttachment has slightly changed attachment handling. Now they do not get saved independently of final decision to save the document or not. Besides now it uses default image resource (rtlib-attach.gif) instead of gray LotusScript attachment icon. To change default icon it is enough to modify the image resource. It can also modified after attaching the file as before.