BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
PSIOT2
Calcite | Level 5

Hello,

I try to have (in a rtf output) a thicker line in a table. It seems to work on SAS results screen but not on the ouput.

Please find the code:

   proc report data=FinalResults nowd split='$' CONTENTS="Table 5.1: Auroc, sensitivity and specificity Objectives for all MRMC ROC";
  column index variable arm ;
  define index / group noprint;
  define variable / display style={cellwidth=18%} "Population" CENTER ;
  define arm / display style={cellwidth=7%} "Arm" CENTER ;
  COMPUTE arm;
   if arm='Difference' then call define(_row_,'style', 'style={ borderbottomwidth=1pt borderbottomstyle=SOLID borderbottomcolor=black }');
  endcomp;
break before index/ contents="" page;
title5 "Chapter 5: MRMC RESULTS SUMMARY (PATIENT LEVEL)";
title6 "Table 5.1: Auroc, sensitivity and specificity Objectives for all MRMC ROC";
run;

 

The template is defined like that:

ods escapechar='^';
proc template;
define style HeadersFootersPolice;
parent=styles.rtf;
style TitlesAndFooters /
fontstyle=roman
fontsize=1;
style pageno from pageno /font=fonts("strongfont") FONTSIZE=11pt posttext=" of ^{lastpage} ";
end;
run;

 

and the rtf document:

options papersize=A4;
options pageno=max orientation=landscape rightmargin=0.2cm nodate;
goptions device=emf;
ods escapechar='^';
ods rtf file="C:\Users\pierrehenri\OneDrive - Median Technologies SA\Clinical Team Sharepoint - iBiopsy\05. Stat Programs\03. SAS Outputs\
06-MRMC study\04. FDA Questions\MT_SAR_ADDENDUM_MRMC_Vol2.doc"
contents=yes toc_data style=HeadersFootersPolice;

 

Thank for the help.

1 ACCEPTED SOLUTION

Accepted Solutions
Kathryn_SAS
SAS Employee

If I make the BORDERBOTTOMWIDTH thicker, I can see a definite difference. Also make sure that the extension is .rtf, not .doc:

ods rtf file="C:\Users\pierrehenri\OneDrive - Median Technologies SA\Clinical Team Sharepoint - iBiopsy\05. Stat Programs\03. SAS Outputs\
06-MRMC study\04. FDA Questions\MT_SAR_ADDENDUM_MRMC_Vol2.rtf"
contents=yes toc_data style=HeadersFootersPolice;

 

COMPUTE arm;
 if arm='Difference' then 
 call define(_row_,'style', 'style={ borderbottomwidth=3pt borderbottomstyle=SOLID 
 borderbottomcolor=black }');
endcomp;

If you continue to have problems, please send a sample of the output file as an attachment.

View solution in original post

1 REPLY 1
Kathryn_SAS
SAS Employee

If I make the BORDERBOTTOMWIDTH thicker, I can see a definite difference. Also make sure that the extension is .rtf, not .doc:

ods rtf file="C:\Users\pierrehenri\OneDrive - Median Technologies SA\Clinical Team Sharepoint - iBiopsy\05. Stat Programs\03. SAS Outputs\
06-MRMC study\04. FDA Questions\MT_SAR_ADDENDUM_MRMC_Vol2.rtf"
contents=yes toc_data style=HeadersFootersPolice;

 

COMPUTE arm;
 if arm='Difference' then 
 call define(_row_,'style', 'style={ borderbottomwidth=3pt borderbottomstyle=SOLID 
 borderbottomcolor=black }');
endcomp;

If you continue to have problems, please send a sample of the output file as an attachment.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 222 views
  • 1 like
  • 2 in conversation