|
装 Lotus Notes 提供的 API,可以创建Databse,读写文件,收发Mail等. 并可将Notes文件转换成WindowsRTF格式.
Lotus Notes 4.x object layer
Version 3.3
Created by:
Sergey Kolchin skolchin@usa.net
Sergey Kucherov
Sergey Okorochkov
Last Modified:
25.02.99, Sergey Kolchin
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)
Changes in this version
----------
- 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
The latest version can be found at http://homepages.infoseek.com/~skolchin
Please, send bugs, comments and suggestions to Sergey Kolchin (skolchin@usa.net).
Installation
----------
- Unzip all *.pas and *.dfm files to any directory and include it into Delphi's search path
- Make sure that Lotus Notes directory (where NLNOTES.DLL resides, like C:\Notes) is in PATH
To install help file:
- go to Delphi help dir (C:\Program Files\Borland\Delphi 3\Help)
- put LN.HLP and LN.CNT files there
- open Delphi4.cnt (or Delphi3.cnt) with Notepad
- add a line :Include LN.cnt to the end of the file
- save and close the file
- delete Delphi4.gid (or Delphi3.gid) file
Examples
----------
In this version, example program is in 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 free now. We'd appreciate any kind of feedback - send mail to addresses above. If you wish to
modify the source code, it'll be nice if you inform us (may be we already did that ;-)) and send your changes.
We do not support the library, but we will try to implement all your suggestions. We keep changing the library,
and we reserve rights to modify the code at any time. You can register by sending a mail to skolchin@usa.net,
and we will inform you about changes and send new versions of the library.
Future plans
----------
- reading of rich-text items with fonts, styles and so on
- Notes design classes
History
----------
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
|