Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: CLI_Andreas_Schmidt am 28.04.06 - 11:58:28
-
Notes Tabelle auslesen.
Hi @Dev. Ich habe mir mal die neuen Klassen im NotesRichtextItem angesehen und bin auf die Tabellen-Methoden gestossen. Das Anlegen und beschreiben einer Tabelle schein zu gehen, aber wie ist es mit dem Auslesen ? Finde da gar nichts.
Geht das nicht oder kann ich nicht gucken ?
-
Schau Dir mal die NotesRichTextTable class an.
André
-
Die hatte ich auf auf und habe folgende Methoden gefunden:
AddRow
Remove
RemoveRow
SetAlternateColor
SetColor
Aber da steht ja nix von lesen. ???
-
Und genau da drunter:
Creation and access
To create a new NotesRichTextTable object, use the AppendTable method in NotesRichTextItem.
To access a NotesRichTextTable object, use the NotesRichTextNavigator methods in conjunction with the type RTELEM_TYPE_TABLE.
To access the cells in a table, use the NotesRichTextNavigator methods in conjunction with the type RTELEM_TYPE_TABLECELL.
The order of cells in a table is by row, then column.
You cannot determine the contents of a cell (text paragraphs, text runs, doclinks, and so on) unless you know the exact structure of the rich text item.