RPE output from DNG. Styles not working for all artifact types
I have two artifact types, one is Information and the other is a Level 2 Requirement. When I run RPE to export a word doc, I'm using a stylesheet to keep consistent formatting. The information artifacts work fine and are indented properly. The Requirement type artifact refuses to indent. Both are text, both are using the same style, both being exported via the richTextBody/div query. The only difference is that the requirement artifacts are colored blue, underlined, and have attributes. The requirement will be of that style, but the indenting will not show. (spacing before or after works)
|
Accepted answer
You can remove the formatting from each requirement using java script (set "Script Expression" as the content for the Text element that prints dataSource/artifact/content/text/richTextBody/div). You can modify, add or remove formatting in the XHTML returned for div attribute.
Shannon Struttmann selected this answer as the correct answer
|
One other answer
It looks like for some reason the formatting got sorta 'locked-in' when they got imported from a different RM system. I can manually remove the formatting from each requirement and it will start taking styles correctly. If anyone knows of a way to automate the process of removing formatting from thousands of artifacts, I'd love to hear it.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.