Domino 9 und frühere Versionen > ND8: Entwicklung

Nur ein RichtextItem exportieren

(1/2) > >>

bikerboy:
Hallo,

irgendwie stehe ich gerade auf dem Schlauch.


--- Zitat ---Input

For NotesDXLExporter this parameter is an object of the following type:

NotesDatabase
NotesDocument
NotesDocumentCollection
NotesNoteCollection
For all other processes this parameter is a string or an object of the following type:

NotesDOMParser (pipelines from a NotesDOMParser object)
NotesDXLExporter (pipelines from a NotesDXLExporter object)
NotesRichTextItem
NotesSAXParser (pipelines from a NotesSAXParser object)
NotesStream
NotesXSLTransformer (pipelines from a NotesXSLTransformer object)

--- Ende Zitat ---
Auszug aus der Hilfe

Also kann ich doch ein RichtextItem als Input definieren, oder ?

Da mault er aber immer gleich rum ???

Ralf_M_Petter:
Äh Robert aus welcher Version ist dein Zitat, den es ist nicht korrekt.

--- Code: ---CreateDXLExporter method
Creates a NotesDXLExporter object.

Note This method is new with Release 6.

Defined in
NotesSession

Syntax
Set notesDXLExporter = notesSession.CreateDXLExporter( [ input ] , [ output ] )

Parameters
input

Optional. An object of the following type:

NotesDatabase
NotesDocument
NotesDocumentCollection
NotesNoteCollection
See SetInput in the NotesXMLProcessor class for additional information.

output

Optional. An object of the following type:

NotesDOMParser (pipelines to a NotesDOMParser object)
NotesDXLImporter (pipelines to the NotesDXLImporter object)
NotesRichTextItem
NotesSAXParser (pipelines to a NotesSAXParser object)
NotesStream
NotesXSLTransformer (pipelines to the NotesXSLTransformer object)
See SetOutput in the NotesXMLProcessor class for additional information.

Note The parameters are not in COM. Use Export in NotesDXLExporter and Import in NotesDXLImporter.

Return value
notesDXLExporter

The newly created object.

CreateDXLExporter method
Creates a NotesDXLExporter object.

Note This method is new with Release 6.

Defined in
NotesSession

Syntax
Set notesDXLExporter = notesSession.CreateDXLExporter( [ input ] , [ output ] )

Parameters
input

Optional. An object of the following type:

NotesDatabase
NotesDocument
NotesDocumentCollection
NotesNoteCollection
See SetInput in the NotesXMLProcessor class for additional information.

output

Optional. An object of the following type:

NotesDOMParser (pipelines to a NotesDOMParser object)
NotesDXLImporter (pipelines to the NotesDXLImporter object)
NotesRichTextItem
NotesSAXParser (pipelines to a NotesSAXParser object)
NotesStream
NotesXSLTransformer (pipelines to the NotesXSLTransformer object)
See SetOutput in the NotesXMLProcessor class for additional information.

Note The parameters are not in COM. Use Export in NotesDXLExporter and Import in NotesDXLImporter.

Return value
notesDXLExporter

The newly created object.


--- Ende Code ---

Wie du siehst, geht kein Richtextitem als input sondern nur als Output. Habe jetzt gerade mal geschaut steht in der 7.0.2 Designer Hilfe auch sinngemäß. Wo also hast du dein Zitat her?

Grüße

Ralf

bikerboy:
Will dich nun nicht enttäuschen ist aus der "aktuellen" 8.5.1 Hilfe

Ralf_M_Petter:
Nun aber da steht ja wieder, dass der Exporter Richtextitem nicht kann. Lies doch mal genau steht doch explizit da was NotesDXLExporter kann und was alle anderen xmlProcesser können. Verstehe wirklich nicht was da unklar ist?

Dein erstes Snippet war ja nur deshalb verwirrend, weil ich annahm, dass das die Hilfe derr DXLExporter Klasse war. In Wirklichkeit zeigst du aber die Hilfe von NotesXMLProcessor an.

Grüße

Ralf

bikerboy:
Hmm interessant, ich war auch in der NotesDXLExporter-Klasse, wenn ich da auf SetInput-Klicke leitet er mich auf den Eintrag um.

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln