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 - Dermot

Pages: 1 ... 36 37 [38] 39 40
556
Automation Interface, Add-Ins and Tools / Re: Getting the linked item
« on: June 27, 2008, 03:40:18 pm »
In the VB code available from the download page on:
http://www.sparxsystems.com/resources/developers/autint_vb.html
There are a couple routines dealing with this. See Repository.bas - DumpConnections, as well as, RequirementMain.bas - DumpHeirarchy.  These give two different routines of displaying Element- connector relations.

557
The RTF report generation largely works on Element Connector relations not Element-Connector-Element (Actor-association-Use Case), so it is best to report the set of Actors and the set of use Cases in one report.  If a different format is required for each, then the Vitual Document: Master Document - Sub-document can be used to set this up.
At present there is no filtering on connector types - we are looking at setting a similar filter to the element filter in the next major release.

558
Hello Ron,
GetElementByID() requires an ElementID - it won't work for a Diagram ID.  Sounds like you need to loop through the elements of the Diagram.DiagramObjects Collection.

559
Hi,
Can you send through an example to SparxSupport to reproduce this(See support below) .

560
In terms of clarifying the numbering:

User defined numbering can be set up using the menu items under Edit | List and Overrides.

With RTF reporting there is a general need to set the List Numbering format for the different levels of indentation in a generated document.
For example:
1. Package level 1
    1.1 Package level 2 (child package)
      1.1.1 Element Level 1
        1.1.1.1 Element (child element)

To do this a numbering “List” must be set up and a set of “List Overrides” defined for this “List”. The List overrides also need to have the 1.0.0.0 initial setting on the formatting altered to 1.1.1.  These Numbering Lists can then be applied using Paragraph Numbering to the Headings set for Packages and Elements.

The steps to do this are as follows:

To create a specific list numbering, perform the following steps.
1)      Select Edit | List Overrides | Create List item.
•      Define the name of a new listing in the List Name field i.e MyList.
•      Select OK.

2)      Create the List Override using: Edit | List Overrides | Create List Override.
•      Select the List to Override just created (MyList).
•      Press OK.
3)      To set the Style of each level you need to set the List Level Properties for each level using Edit | List and Overrides | Edit List Level.
To set the first level numbering (used in the Package Section):
1)      From the List Override drop-down, select the List Item just created (i.e. MyList).
2)      Set the level numbering :
a.      List Level:             1
b.      Number Text:      ~1~.
3)      Select OK to save changes.

To set the second level numbering (MyList):
1)      In List Level  - Set this to: 2 (maybe for nested Packages or Elements)
2)      Set the Start At:  change from 0 to 1 (change from 1.0 to 1.1 formatting)
3)      Select OK to save changes.

Do this for level 3, Level 4  etc. to cover adjusted headings.

Note: As the heading fonts are incremented for nested packages, if a 1.1.1 starter is required rather than 1.0.0, then the: List Levels properties | Start At - needs to be set for or all list levels.

To use the new numbering created:
1.      In the Content window select the text to be numbered
package >
 Package: {Pkg.Name}
element >

2.      Set the font heading level

The newly created numbering should then be accessible under Paragraph | List Numbering.
•      Select the new numbering (i.e. List MyList, Override# 001)
•      Set your level to 1.
•      Select OK to set your numbering

3.      Select the Element section:
element >
 Element {Element.Name}.
child elements >
< child elements
< element

4.      Set the Heading style (i.e. Heading 2) :
5.      Set the numbering to MyList - Level 2 - using:
                  Paragraph | List Numbering.
                Select OK

Let me know if this covers what you are asking.
I will get this added to the help file.

561
Hello Paul,
I would suggest  you send in a copy of the RTF template and the output generated to the sparxsupport email.  I would reccomend you generate it from the EAExample.eap model - so that it can be re-produced on our end.

562
Hello Paul,

I would suggest you have a look at the whitepaper on RTF report generation - see the section on "Numbering" - see: "user definable numbering".  The paper is available from:
http://www.sparxsystems.com.au/resources/whitepapers/index.html

Regarding the second point - I am not sure I understand what you are referring to with next level formating?

563
Regarding adding a "Custom Value" - You can add a one-off Tagged Value or set up a Profile to include this tagged Value with newly created tables.  The Tagged Value can be reported in the RTF using Element::ValueOF or Element::Attribute ::ValueOf - depending on where you have defined the Tagged Values.  I suggest you look at the Requirements whitepaper for an overveiw of setting up the Profiles for Tagged Values: http://www.sparxsystems.com.au/resources/whitepapers/index.html

564
This as a starter: http://www.sparxsystems.com.au/EAUserGuide/introduction_2.htm
See this section in the EA Help file.

565
The Automation Interface - Project Interface - does support generation of RTF documents using:
RunReport (String, String, String) see EA's help.
However I do not know of any means to Automate any editing of the RTF template in the RTF editor.

566
Hello Clifford,
I would suggest you send this through as a email to support, along with an export of the templates used and the resulting output generated.

567
I understand ClearCase does offer SCC compliance.  We have had other users using ClearCase but set to work in SCC mode.  How that is set you would nned to check with the ClearCase documentation.

568
I see this is not DXL code - what version of DOORS are you using?
If the code is not on the DOORS side - are you seting this up as an EA-addin?  If so the Repository is already set if you are using the standard ADD-In code i.e. see EA_GetMenuItems(EA.Repository Repository, ...)

569
Automation Interface, Add-Ins and Tools / Re: Create a RTF from API
« on: May 02, 2008, 03:16:31 pm »
One point to note with the Automation RunReport() - it allows for both the legacy RTF report generator templates, as well as the new report templates.  If you do have templates of the same Name in both the legacy and the new, then you can run into a problem of one being generated when it not what is expected.  So check both the new and  the legacy report template names and ensure there is no mix up.

I would suggest you create a simple template of unique name and re-test your call to RunReport().

570
Hello TLC,

In the RTF editor you need to set the List Levels to start the numbering as you want it.  See the "Numbering" section  in  the whitepaper on RTF report generation:
http://www.sparxsystems.com.au/resources/whitepapers/index.html

Pages: 1 ... 36 37 [38] 39 40