Domino 9 und frühere Versionen > ND6: Entwicklung

Import über RTF schlecht - gehts anders?

<< < (4/4)

eknori:
Möglicherweise hilft ein Blick in die Samples der C-API ( RICHTEXT\IMPORTER )

Aus der Readme.txt


--- Zitat ---This program demonstrates how to import several different kinds of
files into a rich text field of a Domino document.  The program has
been tested with the following file format:

      CGM Image

Also included is an explanation on how to import a WordPro document.

File imports are accomplished through the use of import DLLs that are
specific to each format. The information about the DLLs used to import
files is contained in the NOTES.INI file.  Following are two sample
entries from NOTES.INI, and an explanation of the fields in each:

   EDITIMP5=CGM Image,0,_IFL,,.GMF,.CGM,,8,

The fields in this entry are:

    EDITIMP5         - Specifies that this is an EDIT-level import
                       entry.

    CGM Image        - This entry refers to CGM Image file. This
                       is the string that appears in the list box in the
                       Notes file import dialog.

    0                - For Imports, this parameter is always zero.

    _IFL             - The DLL to be used to import this file.

    <blank>          - This field is left blank for graphics file import.

    .GMF, .CGM       - The default file extension for files of this
                       type. (This field is not important for this
                       example)


EDITIMP21=WordPro 96/97,0,_IW4W,W4W12F/V0,.LWP,,2,

The fields in this entry are:

    EDITIMP21        - Specifies that this is an EDIT-level import
                       entry.

    WordPro 96/97    - This entry refers to WordPro 96/97 documents.
                       This is the string that appears in the list box in
                       the Notes file import dialog.

    0                - For Imports, this parameter is always zero.

    _IW4W            - The DLL to be used to import this file.

    W4W12F/V0        - This is the name of an additional DLL used by _IW4W
                       to import this word processing file.  This
                       parameter is set to blank for non-word processing
                       files.

    .LWP             - The default file extension for files of this
                       type. (This field is not important for this
                       example)


--- Ende Zitat ---

pippo:
Hallo,
es stimmt sicherlich, dass ich im Beschreiben mich etwas kurz halt. Dachte aber, dass Importieren-MicrosoftRTF in ein RichtextFeld im Editmode (auch Beitrag von eknori) bekannt ist.

Schönen Tag

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln