heperwong 发表于 2014-4-3 15:42 
这个是在proc template里面调,包括边框格式,字体大小,颜色等。
proc template;
define style formatSTYLE;
STYLE SystemTitle /
FONT_FACE = "Times New Roman"
FONT_SIZE = 2.5
FONT_STYLE = roman
FOREGROUND = black
BACKGROUND = white;
STYLE Header /
BACKGROUND = white
FOREGROUND = blcak
FONT_FACE = "Times New Roman"
FONT_STYLE = roman
JUST = center
VJUST = middle
FONT_SIZE = 2.5;
STYLE Cell /
BACKGROUND = white
FOREGROUND = black
FONT_FACE = "Times New Roman"
FONT_WEIGHT = light
FONT_STYLE = roman
JUST = center
VJUST = middle
FONT_SIZE = 2.5;
STYLE Table /
RightMargin=3.17cm
LeftMargin=3.17cm
TopMargin=2.54cm
BottomMargin=2.54cm
CELLSPACING = 0
CELLPADDING = 2
FRAME = void
RULES = none
OUTPUTWIDTH = 925;
end;
run;
边框我知道是调上面红色部分,但是这个对rtf有效果,输出excel(ods tagsets.excelxp过程)时加载样式出错。
另外当文字太多,但是不想让它自动换行,如何不让单元格自动换行呢?