Change Font Color in Report Output
Hi We are using DOORS-NG 6.0.2 Is it possible to change the font colour of the headings when generating a report output of a module?
Thanking you in advance Kind Regards Glenn |
Accepted answer
You have 3 options.
A. Change the style definition as mentioned by Nate Decker. Here are the steps to modify the Word template (stylesheet): 1. Go to the folder <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\word 2. Take a back up copy of printModuleBook.doc (and place it to a different folder. Do not leave it in <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\word folder. 3. Modify the Word template as per your requirement. 4. Open https://<clmserver>:9443/rm/publish/initialize in browser. 5. After this, you should see your changes in the document generated. B. Run a Word macro that changes the font color for Headings - DNG can run Word macros once the document generation is complete. Please refer https://rpeactual.com/2014/07/23/use-word-stylesheets-and-run-macros-in-dng/ C. Modify the RPE template (.dta file under <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\rrdg) that is used for document generation. You can just set red color through Properties->Font->Color. You need RPE (Rational Publishing Engine Studio) for this. Glenn Watkins selected this answer as the correct answer
Comments
Glenn Watkins
commented Nov 10 '16, 3:19 a.m.
Hi Subramanya
Thanks for taking the time to assist me with this, after making the necessary changes to the printModuleBook.doc do i replace it in the folder and restart the server to pick up the new changes?
Will this support putting the company logo into the template too?
Kind Regards
Glenn
Yes. You can put company logo in Word document (printModuleBook.doc).
|
One other answer
One way to do this would be to change the style definition of the headings in the Word document style sheet. If you are using an out-of-the-box report though, you might want to fork a new version of it to preserve the baseline functionality.
|
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.