⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 TXT
字号:
Licensed Materials - Property of IBM
C99VCEN
C99VDEN
C87CFNA

(c) Copyright IBM Corporation 1996, 2007
All rights reserved.
IBM, Lotus, Lotus Notes, Notes, and Domino are trademarks or registered
trademarks of Lotus Development Corporation and/or IBM Corporation
in the United States, or other countries, or both.


PROGRAM
-------
richtext - Notes C++ API sample program that demonstrates how to retrieve 
the contents of all different types of items that are stored in a note
and display them in rich text in another note.


ENVIRONMENTS
------------
Sample makefiles are provided for the following environments:

  32-bit Windows
  IBM AIX
  IBM i5/OS
  SUN Solaris SPARC
  Linux on Intel platforms


FILES
-----
richtext.cpp - Main program.

mswin32.mak  - Make file for 32-bit Windows using Microsoft Visual 
               C++.

sol_2x.mak   - Make file for SUN Solaris SPARC platform.

aix.mak      - Make file for IBM AIX.

linux.mak    - Make file for Linux on Intel platform.

readme.txt   - This file.  Specifies what is needed to use this example.

rtxtsamp.nsf - Sample Notes database (in notedata directory).

mk_richtext_i.clp    - Make file (CL Program) for IBM i5/OS using ILE C++ 
                   with the source code being an IFS file.
    
mk_richtext_p.clp    - Make file (CL Program) for IBM i5/OS using ILE C++ 
                   with the source code being in a source physical file.     


RUNNING richtext
----------------
This sample program is designed to work with the sample database 
rtxtsamp.nsf that is located in the notescpp\notedata directory.  
This database should be copied to your Notes data directory.  
The user must supply command-line parameters to specify the file
pathname and, optionally, server for the database.

You may copy the rtxtsamp.nsf database into another file and supply
the new filename as the command-line argument. If you want to 
create another sample database to run against this sample - be careful: 
the program looks for a specific document (called "Rich Text sample") 
that was created using a specific form (RichTextSample). You may encounter 
errors if your document is different. 

To run this program, type 'richtext' at the system command prompt,
followed by the Notes pathname of the database, and, optionally, the name
of the server.

- Under i5/OS:  Execute "RUNDOMCMD/RUNDOMCMD  SERVER(<server>)
		                  CMD(CALL PGM(qntcppsdk/richtext)
            	                                PARM(rtxtsamp.nsf))  BATCH(*NO)"


EXAMINING THE NOTES DATABASE TO CHECK THE RESULT
------------------------------------------------
To see if richtext worked correctly:

1. Use Notes to open the database you used for input.

2. Open the documents entitled "Rich Text sample" and "Rich Text sample 
   results."

   The body of the  "Rich Text sample results" document should contain:

   - "Rich text: ", followed by the multi-font rich text after "And this
     is the rich text:" from the "Rich Text sample" document.

   - This series of values:

     Datetime: 03/12/98
     Datetimes: 12/12/98;12/13/98
     Datetime range:12/12/98 - 12/13/98
     Datetime ranges:01/12/98 - 03/12/98;12/13/98 - 12/15/98
     Number: 123
     Numbers: 123;234
     Name: myname
     Names: myname;yourname
     Text: hello
     TextList: hello;again

     These values should match the values in the first part of the
     "Rich Text sample" document, which looks like:

    This is the datetime: 03/12/98
    This is a list of datetimes: 12/12/98, 12/13/98 
 
    This is a datetime range: 12/12/98 - 12/13/98
    This is a list of datetime ranges: 01/12/98 - 03/12/98; 12/13/98 - 12/15/98

    This is a number: 123
    This is a list of numbers: 123; 234

    This is some text: hello
    This is a text list: hello; again

    This is a name: myname
    This is a list of names: myname; yourname


	 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -