It's all about the answers!

Ask a question

Change Font Color in Report Output


Glenn Watkins (88347) | asked Nov 02 '16, 4:25 a.m.

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


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Nov 03 '16, 9:39 a.m.
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


Subramanya Prasad Pilar commented Nov 10 '16, 3:49 a.m. | edited Nov 10 '16, 3:50 a.m.

Yes. You can put company logo in Word document (printModuleBook.doc).

One other answer



permanent link
Nate Decker (37814761) | answered Nov 02 '16, 10:50 a.m.
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


Register or to post 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.