Hello,
I have the following problem while generating a report with the report writer using an customized xml-file:
I am generation the documentation of an Use Case Diagram that contains an Use Case with several sub diagrams.
Inside the xml-file I select each of the sub diagrams of the Use Case using the -Tag with the property diagramtype.
This works fine for the following diagramtypes:
ActivityDiagram
BusinessProcessDiagram
ClassDiagram
UserInterfaceDiagram
Only the SequenceDiagram cannot be found.
Part of the xml-file:
<ElementBaseInitiationBlock>
<ForEachSubDiagram diagramType="BusinessProcessDiagram">
<!-- diagram will be displayed in the generated report-->
<StaticText content = "Überblick (Business Process Diagram)" style = "Heading 2 (VP)"/>
<ParagraphBreak/>
<StaticText content = "" style = "Default"/>
<ElementImage imageType = "diagram" alignment = "center"/>
<ParagraphBreak/>
<StaticText content="" style="Default"/>
</ForEachSubDiagram>
</ElementBaseInitiationBlock>
<ElementBaseInitiationBlock>
<ForEachSubDiagram diagramType="ActivityDiagram">
<!-- diagram will be displayed in the generated report-->
<StaticText content = "Überblick (Activity Diagram)" style = "Heading 2 (VP)"/>
<ParagraphBreak/>
<StaticText content = "" style = "Default"/>
<ElementImage imageType = "diagram" alignment = "center"/>
<ParagraphBreak/>
<StaticText content="" style="Default"/>
</ForEachSubDiagram>
</ElementBaseInitiationBlock>
<ElementBaseInitiationBlock>
<ForEachSubDiagram diagramType="SequenceDiagram">
<!-- diagram will not be displayed in the generated report-->
<StaticText content = "Überblick (Sequence Diagram)" style = "Heading 2 (VP)"/>
<ParagraphBreak/>
<StaticText content = "" style = "Default"/>
<ElementImage imageType = "diagram" alignment = "center"/>
<ParagraphBreak/>
<StaticText content="" style="Default"/>
</ForEachSubDiagram>
</ElementBaseInitiationBlock>
If I use the -Tag without the property diagramType all sub diagrams inclusive the Sequence Diagram are generated into the report.
<ElementBaseInitiationBlock>
<ForEachSubDiagram>
<!-- all sub diagrams will be displayed in the generated report-->
<StaticText content = "Überblick (Diagramme)" style = "Heading 2 (VP)"/>
<ParagraphBreak/>
<StaticText content = "" style = "Default"/>
<ElementImage imageType = "diagram" alignment = "center"/>
<ParagraphBreak/>
<StaticText content = "" style = "Default"/>
</ForEachSubDiagram>
</ElementBaseInitiationBlock>
Question:
Which diagramType must be used to select a Sequence Diagram.
Seems to be an easy question, but I did not find out!
Thanks in advance
KOK