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.
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.
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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.