Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

 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

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,030

Question asked: Nov 02 '16, 4:25 a.m.

Question was seen: 2,171 times

Last updated: Nov 10 '16, 3:50 a.m.

Confirmation Cancel Confirm