Retrieve tagged values as properties in Fill-in Doc.
Suppose we have the some use cases in our project, and each use case with tagged values defined.
And we would like to have the use case and tagged values display in a tabular form as below.
Name | Complexity | Use Case Status | Implementation Status |
%use case name% | %complexity% | %use case staus% | %implementation status% |
To do this:
- Create a table in your word document and with the header defined.
- Define the following Doc. Field for retrieve use case model together with the name property in the first data cell.
i.e. ${ELEMENT,T1,UseCase, LoopInProject, PROPERTY=name} - Define the Doc. Field in the following data cell to retrieve the tagged values as property by using their name.
i.e. ${PROPERTY, Complexity} - Save the word document.
- Select Tools > Composer in Visual Paradigm.
- Select Fill-in Doc to create a new document.
- Press Choose from Local Drive button in Specify Doc Base dialog and pickup your Word document as the Doc. Base.
- In the Fill-in Doc editor the tagged values are show as property of the use case.
- Press Generate button at bottom right corner to output the Fill-in Doc into a word document.
Now the use case and tagged values are outputted in our desired tabular form.
* Please note that if the model element having property having same name as tagged values then the PROPERTY Doc. Field will retrieve the property value of model element instead of the tagged value. |
Related Know-how |
Related Link |
Leave a Reply
Want to join the discussion?Feel free to contribute!