Chapter 10. Add-ons for Applications

Table of Contents

1. Internet Explorer
2. Lotus Notes
2.1. Form MimeConverter
2.2. Agent "Export to Tahiti"
3. Microsoft Office
3.1. Troubleshooting
4. OpenOffice
4.1. Registration

Add-ons are components for external Applications which allows saving documents/data to the Tahiti. There are several components for various applications and others can be created using Tahiti COM objects. Detail description is part of the Tahiti SDK.

1. Internet Explorer

There is Internet Explorer extension called IEHelper.dll. This file have to be registered to be able to save actual page to the Tahiti.

2. Lotus Notes

It is possible to save email from Lotus Notes directly to the Tahiti. There is new Tahiti specific item in the menu Actions.

This add-on have to be installed in the Lotus Notes mail template on the server side. Usually file is called mailX.ntf (e.g. mail7.ntf). There are just two parts to do this. The first is form and the second is LotusScript that is called from an action. Steps to install add-ons:

  1. Create new form called MimeConverter

  2. Add new Agent "Export to Tahiti"

  3. Distribute template to the clients

This add-on requires Tahiti 4.5.0.8 or later. Library OfficeLink3Proxy.dll have to be registered during installation.

2.1. Form MimeConverter

This form has just two fields. The first is MimeRichTextField. This should be set to store contents as HTML and MIME and is a RichTextField, which is also editable. The second field is called HtmlText and is also an editable RichText field. Let it be known that this is a standard Lotus Notes Richtext field. The form should be called MimeConvert and created in the mail file or mail file template.

This form is used internally by newly created Agent.

2.2. Agent "Export to Tahiti"

The LotusScript code is part of the Tahiti SDK, file doc\addons\lotus-notes\script.txt. This code should be copied into an agent. Run it from the action menu and on all selected documents.

3. Microsoft Office

There are extensions for Excel, Outlook and Word. Each extension have to be registered and it will automatically appear in the File menu of each application.

Table 10.1. List of Microsoft Office Add-ons

ApplicationDll
ExcelExcelAddin.dll
OutlookOutlookAddin.dll
WordWordAddin.dll

3.1. Troubleshooting

It is possible to log any event in the extension and use the log to resolve potential problems. Logging can be set in the registry - if there is valid path to the log file component will log all events.

Path: HKCU\Software\LightComp\Tahiti\5.0

Table 10.2. List of Microsoft Office Add-ons Registry keys

KeyDescription
ExcelAddinLogExcel specific key, string value - path to the log file including file name.
OutlookAddinLogOutlook specific key, string value - path to the log file including file name.
WordAddinLogWord specific key, string value - path to the log file including file name.

4. OpenOffice

There is extension (TahitiOOExt.oxt) for Writer, Calc, Draw and Impress. This extension allows to save file directly to the Tahiti. Extension is common for all applications and can be installed automaticly during Tahiti installation or manualy. Use OpenOffice extension dialog to install this extension manualy. Check OpenOffice documentation for possible ways of installing extensions.

4.1. Registration

During installation from MSI if OpenOffice is installed extension will be automaticly registered. There is utility RegisterOOExt.exe which simplifies registration of the extension. File will register extension for all users (as shared extension) and can be used only when there is no running OpenOffice.

Note

RegisterOOExt calls internaly unopkg.com which is part of the OpenOffice.org installation. Extension can be registered only if there is no running OpenOffice.

RegisterOOExt returns 0 if registration succeeded or OpenOffice installation was not found. Utility returns error code 1 if registration of the extension fail. It means that OpenOffice is running or insufficient rights.