Change Font Color in Report Output
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.
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.
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).