Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - AndyJ

Pages: 1 ... 21 22 [23]
331
scenario >
----------------------------------------------------------------------------
Scenarios:
----------------------------------------------------------------------------
<ElemScenario.Type><ElemScenario.Notes>
----------------------------------------------------------------------------
<ElemScenario.Scenario>
----------------------------------------------------------------------------
structured scenarios >
----------------------------------------------------------------------------
{Scenario_Structured.Step}. {Scenario_Structured.Name}, Uses: {Scenario_Structured.Uses}
exception >
Exception: . {Exception.Name}
< exception
-------------------------------------------------------------------
< structured scenarios
exception >
{Exception.Step}.{Exception.Name}
< exception
-------------------------------------------------------------------

< scenario

Sorry Cat, I've wasted quite a bit of time trying to get the forum to display this properly as a table, but the interface has defeated me.


332
Hi Cat,

I'm not clear on what you're trying to achieve, but can recommend the white paper "Working with the RTF generator"...

http://www.sparxsystems.com/downloads/whitepapers/Working_with_the_RTF_generator.pdf

However, in my Use Cases, I've put the structured steps in a table, so that each step appears as a new row in the table. If you want extra lines of space to appear, adding a hard return in the template will assist.

The placement of the tags is important however, as any white space can create extra lines, or in the worst case, a separate table for each row...

Hopefully that will help.

Andy.


333
Quote
Now, just to round off (I hope), presumably the magical appearance of the RTF files in the master document occurs when they are generated to the same directory?

The only extra step you need to show updated content in your word documents is to refresh the links that you've embedded.

The easiest way is to open the document and Select All content in the document (Ctrl-A) and Update (F9).

Quote
PS does my callsign conjour up somebody walking like a cat, or somebody walking cats?

Walking cats, i.e. one person with roughly one hundred harnessed cats, similar to what is seen with professional dog walkers in Central Park, New York.  :)

Andy.

334
Hi Cat,

I've had a look at the Document Templates in the Resources Window and confirmed that my new .rtf templates appear in that list, so I can confirm that these are the same thing that we're talking about.

The templates contain the "instructions" that create the .rtf document when you run the .rtf report generator (F8).

Looking at your more detailed questions...


[a]Where does the fixed content come from - is it standard corporate logo and speel type data?


I started with a word document that has been set up with all of the corporate style etc. in it. The document contains the corporate logo, table of contents, distribution, headings, footers etc.

[c]No, not sure. What? How?

For each thing I want to appear in the final word document, lets say in this case the Use Case diagram... You apply the following steps.
1. Right Click the item in the Project Browser.
2. Select "Copy rtf bookmark"
3. Switch back to your word document.
4. Place the cursor where you want the diagram to appear.
5. Select Insert | File
6. Navigate to your intended .rtf (intermediary) file
7. Single click on the .rtf file name
8. Click on the range button in the same window
9. Paste (Ctrl-V) the bookmark into range field in the Set Range dialog
10. Click Insert.

If you have already generated the .rtf file that contains the bookmark, the content will now magically appear in your word document.

To generate the .rtf that contains the Use Case Diagram, you would have selected the package that contains the diagram (or the diagram itself) and generated a .rtf file using the Use Case template.

The basic and alternative flows come together as a package if you follow these steps and copy the .rtf bookmark for the Use Case itself (the bubble, not the bubble diagram).

You can't copy a .rtf bookmark for the glossary, so in that case, I generate a stand alone glossary report, and add a link to that .rtf file.

Hopefully this is helping...


335
Good morning Cat.

In my case, I'm using linked document templates so that I can prepare documents for distribution that match the corporate standard, which also contain update able links to content that is housed in the EA project.

So they are used as follows:

1. Use Case Template (word file), is used to create a specific:

2. Use Case Document, that contains

(a) Lots of fixed content;
(b) Lots of content that is manually updated (version number for example)
(c) Links (bookmarks) to domain diagrams in EA's Use Case Model .rtf file (also Use Case Diagram, Activity Diagram, State Machine etc.)
(d) Links to structured flows in EA's Use Case Model .rtf
(e) Links to glossary output as a separate .rtf file

3. The .rtf files are the intermediary step between the finished Word documents and the EA project file.

4. The word files become permanent, version controlled documents that exist outside of EA.

Does that help?

Andy

336
Hi team, I'm happily exporting and updating model content to Word documents (particularly Use Cases) using the "Copy RTF Bookmark" method...

...Is there an equivalent method for importing the Project Glossary into the same documents?

337
Hi people,

I've created a simple shape script to display a person shape for classes stereotyped as a stakeholder...

As part of the script I've included the following code to display information about the stakeholder:

println("<<#stereotype#>>");
println("#NAME#");
println("#TAG:Stakeholder Type#");

Is it possible to control where this information is displayed in relation to the shape?

Is there another more appropriate method to display this information alongside the shape?

Currently I've put the shape on to the far right of the canvas to leave room for this text, but it makes associations look quite odd (lines terminating in blank space adjacent to the apparent shape.)

If anyone can point to a good reference about shape scripts I'd also appreciate it.

Pages: 1 ... 21 22 [23]