Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Retrieving non-RTF attribute description

2 posts in General Discussion Last posting was on 2012-10-23 15:29:13.0Z
vicente Posted on 2012-10-23 15:25:36.0Z
Sender: 1638.5086a519.1804289383@sybase.com
From: Vicente
Newsgroups: sybase.public.powerdesigner.general
Subject: Retrieving non-RTF attribute description
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5086b6f0.1d98.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 23 Oct 2012 08:25:36 -0700
X-Trace: forums-1-dub 1351005936 172.20.134.41 (23 Oct 2012 08:25:36 -0700)
X-Original-Trace: 23 Oct 2012 08:25:36 -0700, 172.20.134.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerdesigner.general:30937
Article PK: 834313

I have attribute descriptions that have been formatted
(font, styles, etc.). PD stores these fields as RTF text. Is
there a way to extract a plain text-only representation of
the description using PD scripting? Thanks.


Vicente. Posted on 2012-10-23 15:29:13.0Z
Sender: 1638.5086a519.1804289383@sybase.com
From: Vicente.
Newsgroups: sybase.public.powerdesigner.general
Subject: Re: Retrieving non-RTF attribute description
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <5086b7c9.1df4.1681692777@sybase.com>
References: <5086b6f0.1d98.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 23 Oct 2012 08:29:13 -0700
X-Trace: forums-1-dub 1351006153 172.20.134.41 (23 Oct 2012 08:29:13 -0700)
X-Original-Trace: 23 Oct 2012 08:29:13 -0700, 172.20.134.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerdesigner.general:30938
Article PK: 834319


> I have attribute descriptions that have been formatted
> (font, styles, etc.). PD stores these fields as RTF text.
> Is there a way to extract a plain text-only representation
> of the description using PD scripting? Thanks.

Found it. Using function Rtf2Ascii