About This Code
Brief Description:
Sample Access to OpenOffice or Lotus Symphony
Contributor:
Jens-B. Augustiny
Category:
Application, Lotusscript
Notes Version:
R6.x, R8.x, R5.x, R7.x
Last Modified:
02 Dec 2008
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
This database contains a small sample application, which shows you, how you can access OpenOffice or Symphony from within LotusScript by using the COM-UNO Bridge, that comes with these two products. Until today, documentation that is good for most of us LS programmers is sparse. And samples are rare. This database contains an application, which almost immediately with some small adaptations may be used to produce invoices, that will be generated through OOo/Symphony. It will attach an ODF-File and a PDF-File to the document, from which you have generated them. The code that is doing that shows the most important things you need to know to be able to enhance Notes with e.g. printing ....... (Yes, notes is able to print that way ........).
Many thanks to Justin Freeman of Agileware, Australia, which has put this example into Public Domain many years ago. I then have adapted it to use ODF instead of the OOo 1.1 format, that Justin was confronted with back then. I assured, that the code itself is compatible with Symphony too, but unfortunately, I could not get it running reliably under Notes-Built-In Symphony with Notes 8.5 Beta 2. It looks like a quirk in the Symphony Implementation (so I have to alert IBM about that).
Usage / Example
Code Attachments