==============================================================================
Lotus Notes 4.x object layer
Version 3.9.1
Created by:
   Sergey Kolchin (Russia) skolchin@yahoo.com
   Sergey Kucherov (Russia)                                 
   Sergey Okorochkov (Russia)
  Last Modified:
    18.02.15, Hartmut David (hadv.de)

==============================================================================


==============================================================================
Description
==============================================================================
This class library allows to work with the Lotus Notes from Delphi programs. 
It covers almost all aspects of Notes functionality:
- databases (open/create, search)
- mail (send/receive)
- documents (read/create, send)
- items (read/create, RTF)
- database directories (browse)
- hierarchical names (parsing/combining, lookups)
- access control list support;
- password interception
- save attachments to files
The library supports Delphi XE7 and Lotus Notes "8.5.3", "9.0".

==============================================================================
New in this version
==============================================================================
- Port to Delphi XE7
- New Function "TNotesDocument.SaveAttachment"

The latest version is always available at http://www.geocities.com/skolchin
Please, send bugs, comments and suggestions to Hartmut David ( info@hadv.de ).

==============================================================================
Installation
==============================================================================
- Unzip all *.pas and *.dfm files to any directory and include it into Delphi search path
- Make sure that Lotus Notes directory (where NLNOTES.DLL resides, like C:\Notes) is in PATH
- Once again: this is NOT a component library, so DO NOT try to install it as a package

==============================================================================
Examples
==============================================================================
In this version, example program is in a separate zip file LNHELP.ZIP. Unzip all files from this archive to any 
directory, except TEST.NSF, which must be in Notes' data directory (like C:\Notes\Data). Main project file is 
LNHELP.DPR.

==============================================================================
Disclaimer
==============================================================================
THIS LIBRARY IS PROVIDED "AS-IS". NO WARRANTIES OF ANY KIND, EXPRESSED OR IMPLIED, ARE MADE AS TO IT OR 
ANY MEDIUM IT MAY BE ON. NO REMEDY WILL BE PROVIDED FOR INDIRECT, CONSEQUENTIAL, PUNITIVE OR
INCIDENTAL DAMAGES ARISING FROM IT, INCLUDING SUCH FROM NEGLIGENCE, STRICT LIABILITY, OR BREACH OF 
WARRANTY OR CONTRACT, EVEN AFTER NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.

The library is distributed as an open source project under Mozilla public license. See MPL10.TXT file for details.

==============================================================================
History
==============================================================================
Version 4.0 (18.02.15)
- Port to XE7 
- New Function "TNotesDocument.SaveAttachment"
- Works with Notes Client 8.5.3 and Notes Client 9.0 

Version 3.9 (29.11.00)
- support for multiple items with the same name: TNotesItem.CreateNextItem
- fixed bug in TNotesView.GetViewID (unable to open a view with alias)
- conversion between Notes and Delphi-style text lists (#0 <-> #13#10). This also fixes problems in reading/writing lists to text items: NotesToString, StringToNotes
- color conversion functions: NotesToColor and ColorToNotes
- fixed bug in TNotesItem.SetAsStrings (text list contains unreadable chars);
- fixed bugs in TNotesDatabase.MarkRead, TNotesDatabase.MarkAllRead (mark read doesn't work);
- new unit Notes_AddInMenu: support for Notes UI add-in menus
- fixed LMBCS problems in different functions (by tty)

Version 3.8 (29.02.00)
- Notes password prompt replacement (LNPASS) is included in the library: (see SetPassword function) 
- Fixed RTF table creation bug reported (InnerCellSpace value); 
- Fixed minor TNotesItem.GetAsReference bug; 
- New unit: Class_NotesRepl - database replication support by Dmitry Mokrushin; 
- New function HugeNsfRtfItemAppend by Olaf Hahl is now used in RTF support class. The function splits huge RTF item to smaller parts (required by Notes 4) 
- New parameter FDelmiters in UNIDToStr function. For Delphi 3 users: change all references to the function, please 
- Fixed TNotesDocument.Send 'CC' and 'Bcc' bugs; 
- Fixed TNotesDatabase.UnreadDocuments bug; 
- New functions for RTI enumeration: TNotesRichTextItem.ReadItem and others; 
- New properties: TNotesRichTextItem.LinkCount - hotspot link enumeration; 
- New feature: TNotesRichTextItem.Attach can now display attached file as an icon as normal Notes client; 
- View formatting constants and types from VIEWFMT.H are now included in Util_LnApi.pas; 
- Delphi 5 support now works properly

Version 3.7 (25.10.99) 
- New functions: TNotesRichTextItem.StartSection, TNotesRichTextItem.EndSection 
- Fixed bug with GetExeFileName function 
- Changed terms of distribution

Version 3.6 (20.09.99)
- Control-break handling
- New functions: GetNotesExeDir, GetNotesIniFile, GetNotesDataDir

Version 3.5 (30.07.99)
- RTI classes are now in a separate unit Class_NotesRTF.pas
- fixed bug in a TNotesFolder.AddDocuments
- rewritten RTI import mechanism (thanks, Andy);
- new method: TNotesRichTextItem.AddUrl for adding URL hotspots
- new methods: TNotesRichTextItem.AddRtfFile (replaces LoadRtfFile), TNotesRichTextItem.AddJpgFile, 
    TNotesRichTextItem.AddFile
- new property: TNotesDatabase.QuotaInfo

Version 3.4 (17.06.99)
- Numerious bug fixes (most serious: font table overflow);
- RT Items bigger than 64K are supported now;
- form attachments: new TNotesDocument.AttachForm method, new parameter to TNotesDocument.Send method;
- TNotesDocument.CreateResponseByUNID constructor
- TNotesDocument.CopyItem method for copying items between documents

Version 3.3d (06.05.99)
- bug fixes: TNotesItem.Is... properties now work with text and text lists.

Version 3.3c (30.03.99)
- RTF tables support

Version 3.3b (09.03.99)
- small bug fixes

Version 3.3a (09.03.99)
- compatible with Delphi 3
- Anchor links in Notes rich-text items
- Summary buffers support by the Search function of TNotesDocument

Version 3.3 (25.02.99)
- TNotesACL, TNotesACLEntry classes
- Export/import to Windows RTF via TNotesRichTextItem class
- Access to view columns using TNotesDocument.SummaryValues property
- Document/View/Database links in TNotesRichTextItem

Version 3.2f (10.11.98)
- access to Notes folders
- access to profile documents

Version 3.2e (04.11.98)
- Note ID functions and properties
- responses and replies
- view access

Version 3.2c (15.10.98)
- TNotesDocument.Evaluate function

Version 3.2 (11.08.98)
- TNotesName class: hierarchical names, name lookups
- unread documents handling: TNotesDatabase.UnreadDocuments
- support for national texts: Lmbcs2Native, Native2Lmbcs functions

Version 3.1 (26.05.98)
- new TNotesDirectory class and LnBrowse function for browsing any server for a database
- ReloadFields method of TNotesDocument class
- memory leaks and other bugs catched (thanks for Igor Naumov)
- new functions in Util_NotesAPI unit

Version 3.0 (17.02.98) - I (Sergey Kolchin) got full responsibility of the library, so I changed a lot
- new design of TNotesDocument class (now working through Items property)
- Sign and GetSignature methods of TNotesDocument class
- significant changes of TNotesItem class (As... properties)
- new methods and properties of TNotesDatabase class: CreateNew, CopyRecords, MailServer, MailFileName, UserName etc
- new TNotesRichTextItem class
- bugs found and killed
- new functions in Util_NotesAPI unit

Version 2.0 (August 97)
- completelly new design similar to Lotus Script classes set
- new TNotesDatabase, TNotesDocument, TNotesItem, TNotesDocumentCollection classes
- Util_LnApi unit re-created from Notes API using C2Pas utility (thanks for Anatoly Ivkov)

Version 1.0 (January 97)
- TLotusNotes component allows to send mail and read databases
- Basic API functions in Util_LnApi unit
