Das Notes Forum
Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Gerhard am 01.12.05 - 11:41:45
-
Hallo zusammen !
Ich muss den Inhalt eines Richtext-Feldes (nur Text) in ein Textfeld kopieren, wie mach ich das ?
neues feld = convert_irgendwie(altes_rich_text_feld)
Hat da wer einen Hinweis ?
Danke !
-
So:
Returns the contents of a rich text item as plain text.
Defined in NotesRichTextItem
Syntax
plainText$ = notesRichTextItem.GetFormattedText( tabstrip, lineLength% )
Parameters
tabstrip
Boolean. If True, tabs are replaced by spaces in the resulting plain text. If False, tabs are retained.
lineLength%
Integer. Number of characters at which to wrap (carriage return and line feed) lines of text. Zero means 80 characters. Words without white space are not wrapped.
Return value
plainText$
String. The contents of the rich text item, as plain text.
Andreas
-
Abstract ist eine Methode der Richttext Klasse. und die findest du in der Online Hilfe.
-
Abstract ist eine Methode der Richttext Klasse. und die findest du in der Online Hilfe.
Das Ganze gibt's auch als Formelfunktion @Abstract
Axel
-
Hallo Axel !
Das ist super, da war ich auch schon mal in der Hilfe ....
Allerdings gibts da soviele Möglichkeiten beim abstract ...
ich brauch nur die ersten 80 Stellen herausschneiden, sonst nix...
Weisst Du aus dem Stegreif wie das zu formulieren ist ?
-
@Abstract( [TryFit] ; 80 ; "" ; "Name des RTF-Feldes" )
Axel
-
danke vielmals, perfekt ..... funzt ....
have a nice day !