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 ... 19 20 [21] 22
301
Primarily, this is a user forum.

Sparxians do participate, but only a handful, and only on particular topics.

302
Automation Interface, Add-Ins and Tools / Re: Stereotype shape
« on: September 17, 2014, 08:52:33 am »
Perhaps its a reference to << and >>

as in <<stereotype>>

303
In user-land, it's just Ctrl-A, Ctrl-C, (change focus to the word document) Ctrl-V...

I'm surprised that you need to generate a .pdf file in scripting-land.

Of course, word has an annoying tendency to paste the diagram with the borders extending beyond the page boundaries, so if the .pdf method overcomes that, then that's a good thing!

Andy

304
Well... traditionally...

Litres of Iced Coffee, and sacks of Mars Bars...

Or is that just my developers?

 ;)

305
Automation Interface, Add-Ins and Tools / Re: Book about Shape Script
« on: January 24, 2014, 01:54:39 pm »
"Andy, you should add fixedAspectRatio = "true" right in the beginning to avoid fat people or stickmen ;-)"

Nice one, will do.

I've had a peek at your book online, very nice work..

Sparx should have you on the payroll!

306
Automation Interface, Add-Ins and Tools / Re: Book about Shape Script
« on: January 15, 2014, 09:40:57 am »
Here's a little shape script for your perusal.

We wanted to distinguish between stakeholders (who aren't actors) and other actors.

Hence the following little blue guy:

shape main
{      
      // Blue Person by Andy J;
      setfillcolor(0,192,255); // (R,G,B)
      setpencolor(0,192,255);
      ellipse(70,-15,90,20);  // (x1,y1,x2,y2)
      rectangle(60,25,100,75);// (x1,y1,x2,y2)
      rectangle(70,75,90,110);
      setfillcolor(255,255,255);
      rectangle(80,75,82,110);
      rectangle(66,40,68,75);
      rectangle(92,40,94,75);
      setorigin("CENTER",0,0);
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println("#NAME#");
      println("#TAG:Stakeholder Type#");
      println("<<#stereotype#>>");
}

307
Whoo Hoo! Spax to the rescue.

The browser was not updating correctly after the import.

Selecting (in the project browser) Contents, Reload Current Package, causes the requirements to jump out of their old packages, and reappear, updated, in the new import package.

Phew!

Andy

308
Worse than I was expecting!

Deleting the requirement from either location in the project browser deletes the requirement from the model.

309
Hi people,

I'm not sure if I'm seeing a problem or not.

I've just imported a set of updated requirements into EA.
These requirements have GUID defined from EA.

What I'm seeing is that the requirements now appear in two locations in EA, the original package, and the "Import" package.

If I try to search for a requirement, only one of the locations is returned in the search.

The requirements contain the same information in both locations, but I'm worried that there may be consequences of having the same GUID in two different locations in the Project Browser.

Clearly search is not expecting this, and other parts of the tool may not.

Can anyone advise?

Andy

310
Still answering my own posts...

I've tried exporting the RTF template, editing it in Notepad, and importing it back into EA...

So far I have not found any place that I can insert bookmarks into the template and have them either side of the generated project glossary.

:(

311
I've tried manually adding the bookmarks to the RTF template, but the curly brackets and backslashes are being escaped in the output.

i.e. I'm looking for this:

{\*\bkmkstart Project_Glossary}\par

but I'm getting this:
\{\\*\\bkmkstart Project_Glossary\}\par

312
Further to the above.

What is happening is the RTF editor is creating a pair of bookmarks that look like this:

{\*\bkmkstart Project_Glossary}{\*\bkmkend Project_Glossary}

I haven't been able to find any way to prevent the editor from creating these as a pair, wherever I create them. As there is no content between this pair, the result is always that Word returns nothing when this bookmark is used as a reference to the resulting RTF file.

Highlighting a block of text (which contains the glossary tags) does not result in the bookmarks being created at either end for example.

Does anyone know of any other method where I can place these bookmarks where I need them to be in the template?

Can the template be exported and edited in a code editor for example?

313
Hi People,

I'm trying to include the project glossary into my produced documentation.

It's happily reproducing in the .RTF template, but doesn't have a bookmark that I can find.

I've tried adding bookmarks within the template editor, but haven't successfully invoked them from the parent Word document.

Has anyone managed to get this to work?

Andy

314
Hi people,

Two (possibly easy) questions.

1. When preparing a Use Case, is there a method of linking requirements to a Use Case which results in those requirements being exported to rtf along with their linked Use Case? So far the best I can come up with, is to add the Requirements to a package which is a child of the Use Case.

2. It there any way to add the "System" and "Participant" icons at the beginning of each step in the Structured Scenario editor to the content in the rtf?

Thanks people,

Andy

315
I must admit I had similar thoughts...

However, the functionality is there, and I'm motoring through creating the links for our Confluence page, so it's all working.

We could raise this as a feature request...

Pages: 1 ... 19 20 [21] 22