Hi, I'm a newbie at Enterprise Architect, but I've been trying to create a template for RTF documentation 'cause the included templates seem to generate a difficult to read document structure, at least for diagrams.
OK, this is my problem:
When you document, for example, the use case model and choose "basic template" or "use case template", EA generates a document that has the following structure (I "converted" it to xml just for this explanation):
<package>
{Pkg.Name}
<diagram>
{Diagram.Name}
{Diagram.DiagramImg}
Figure:{Diagram.Figure}: {Diagram.Name}
</diagram>
<element>
{Element.Name}
{Element.Notes}
<scenario>
Flow of Events
{ElemScenario.Type}
{ElemScenario.Scenario}
{ElemScenario.Notes}
</scenario>
<constraint>
{ElemConstraint.Type}
{ElemConstraint.Name}
Status: {ElemConstraint.Status}
{ElemConstraint.Notes}
</constraint>
</element>
<child packages>
</child packages>
</package>
As a result, you get all the diagrams al the begining, and after all the diagrams EA outputs the elements of ALL THE DIAGRAMS together, making it an unreadable and completely usless documentation :-(
What I want to get is to see after each diagram its corresponding elements, and just then, the following diagram with its elements, and so on...
I tried to put the <element> tag inside the <diagram> using the template editor, but it fires an error saying that "some elements are locked" (I've got the 786 build of EA)
But as I am "so smart" i tried exporting the template as rtf, changed the rtf template my way, an then imported it back to EA with the template editor... Surprise, surprise, when I generated the documentation using this modified template, the <element> tag WAS written after each diagram indeed... but only as text, I mean, it apeared the tag itself, not the actual contents (documentation) of the element... :-(
Does anyone know how to do what I want to do?
Thanks in advance.
Adrián