Hi, Violaine:
I have tested the following:
[pre]
proc report data=testrtf nowd
style(report)={rules=none cellpadding=7 cellspacing=0 frame=void};
proc report data=testrtf nowd
style(report)={rules=none cellpadding=6 cellspacing=0 frame=void};
proc report data=testrtf nowd
style(report)={rules=none cellpadding=5 cellspacing=0 frame=void};
proc report data=testrtf nowd
style(report)={rules=none cellpadding=4 cellspacing=0 frame=void};
[/pre]
Cellpadding 4 or smaller resulted in the line not showing at all. There must be some violation of Microsoft's rules for a table. I can see that ODS has "sent" the string to Word, by looking at the RTF file with Notepad:
[pre]
{\brdrl\brdrs\brdrhair\brdrw10M\cell}
\pard\plain\intbl\sb38\sa38\qr\f1\fs20\cf1{69\cell}
{\row}
\trowd\trkeep\trqc\trgaph38
\cltxlrtb\clvertalt\cellx2641
\cltxlrtb\clvertalt\cellx3371
\pard\plain\intbl\sb38\sa38\qc\f1\fs20\cf1{\brdrl\brdrs\brdrhair\brdrw10F\cell}
[/pre]
I don't know whether it's worth getting into RTF issues with Tech Support. There may be a chance that the new TAGSETS.RTF in SAS 9.2 may help, but I suspect that it won't. Cellpadding and cellspacing were/are very common in the HTML world -- for a browser, HTML cellpadding has a default of 1 and cellspacing has a default of 2. I don't know whether there are any minimums for the equivalent controls in RTF.
By default, if you do not specify a unit of measure for cellpadding, the unit of measure is PIXELS...that was the unit of measure for the above test. You could specify the cellpadding in PTs (which in RTF would get translated to TWIPS --twentieths of a printers point) -- and so I also tested in PTs for CELLPADDING:
[pre]
proc report data=testrtf nowd
style(report)={rules=none cellpadding=2pt cellspacing=0 frame=void};
[/pre]
I tested from 0pt to 7pt as the value...at 2 pt, I got a line -- but at 0pt or 1pt, no line.
I'm not sure what you are trying to accomplish with cellpadding of 0 -- I do notice some little breaks in the vertical line with some of these values. I did NOT see them with a cellpadding of 6 pixels, but then I did see them with a cellpadding of 5 and 7. I always saw that little break in the line when I used PT size
There may be another RTF control string to do what you want, perhaps at the table level, but I haven't worked with RTF control strings all that much to know whether that's a possibility.
cynthia