Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How Do I Convert a Rich Text to Plain Text

0 views
Skip to first unread message

Thomas J Coon

unread,
Feb 2, 1998, 3:00:00 AM2/2/98
to

I have a a bunch of documents that have a rich text field in them. I need to
change the field to a text value. I have changed the field on the form but I
am not sure how to go about updating all of the documents.

Herman

unread,
Feb 2, 1998, 3:00:00 AM2/2/98
to

Create an agent that works on all docs in DB, and use:
@Command([ToolsRefreshAllDocs])


Matt Celesti
HBl...@worldnet.att.net (W)
Cele...@worldnet.att.net (H)

Skip Lewis

unread,
Feb 2, 1998, 3:00:00 AM2/2/98
to Thomas J Coon

You could write an Agent using LotusScript to get the textual value of
the RTF and put it in a new field. Here's a quick code example of
"GetFormattedText" from the Help:

Set rtitem = doc.GetFirstItem( "Body" )
If ( rtitem.Type = RICHTEXT ) Then
plainText = rtitem.GetFormattedText( True, 15 )
End If

Skip Lewis

0 new messages