Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8545

Re: Update of Diagramm after .SetAttribute or .SetAttributeText

$
0
0

Hi,

 

 

 

In Requirements view you have a filter columns (sandglass).

 

 

 

a) Display all columns

 

 

 

b) As you say PowerDesigner did not show the <Annotation> text in the Requirements View. But in property sheet the text is displayed.

 

 

 

c) AND you can see in the Requirement View a field named <Annotation Text> filed with your text.

 

 

 

Annotation Text is a ASCII field

 

 

 

Annotation is a RTF field

 

 

 

Because you have set <Annotation> with ASCII values the Text is not displayed under Annotation Title but is displayed under Annotation Text

 

 

 

If you want to see the text in both fields.

 

 

AS EXAMPLE : Does this

 

in the following example I want display the words "Annotation RTF" Under Annotation fields.

 

For each ParentReq in ActiveModel.Requirements

     ParentReq.Annotation = "{\rtf\ansi{Annotation RTF}}"

next

 

 

 

Note :

 

 

 

1) Unfortunately PowerDesigner does not provide ASCII function to RTF. It there's only a function RTF to ASCII (Rtf2Ascii)

 

 

 

2) You can use Wordpad to convert ASCII text to RTF

{\rtf1\ansi\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Courier New;}}

{\*\generator Riched20 6.3.9600}\viewkind4\uc1

\pard\f0\fs22\lang3084 Annotation RTF\par}

 

 

 

3) Or you can use DOCFRAC http://sourceforge.net/projects/docfrac/?source=dlp

if you want keep your RTF very lightweight.

 

 

 

4) When you press OK in property field PowerDesigner save what you see to RTF. It's why you can see the text.


Viewing all articles
Browse latest Browse all 8545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>