24.04.2014 Views

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

Pratique de Sas Windows ...9.3 Volume 2 - Ined

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.2.2.3 Le style par défaut en 9.3 : HTMLBLUE<br />

L’examiner permettra <strong>de</strong> montrer du co<strong>de</strong> effectuant <strong>de</strong>s modifications par rapport à un parent <strong>de</strong> niveau<br />

antérieur/supérieur.<br />

Ainsi, il est clair que cette définition dans l’entrepôt <strong>Sas</strong>help.tmplmst va modifier un état établi dans le style<br />

Statistical et que ces modifications porteront sur une redéfinition <strong>de</strong>s attributs <strong>de</strong>s classes graphcolors, colors,<br />

etc. déjà vus plus haut.<br />

proc template;<br />

<strong>de</strong>fine style Styles.HTMLBlue;<br />

parent = styles.statistical;<br />

class GraphColors /<br />

'gconramp3cend' = cx31702F<br />

'gconramp3cneutral' = cx2F6A9C<br />

'gconramp3cstart' = cxA23A2E<br />

'gramp3cend' = cxD05B5B<br />

'gramp3cneutral' = cxFAFBFE<br />

'gramp3cstart' = cx667FA2<br />

'gcontrollim' = cxE6F2FF<br />

'gccontrollim' = cxBFC7D9<br />

'gruntest' = cxCAE3FF<br />

'gcruntest' = cxBF4D4D<br />

'gclipping' = cxFFFFC6<br />

'gcclipping' = cxC1C100<br />

'gaxis' = cx989EA1<br />

'greferencelines' = cx989EA1;<br />

class colors /<br />

'link2' = cx0000FF<br />

'link1' = cx800080<br />

'docbg' = cxFAFBFE<br />

'contentbg' = cxFAFBFE<br />

'systitlebg' = cxFAFBFE<br />

'titlebg' = cxFAFBFE<br />

'proctitlebg' = cxFAFBFE<br />

'hea<strong>de</strong>rbg' = cxEDF2F9<br />

'captionbg' = cxFAFBFE<br />

'captionfg' = cx112277<br />

'bylinebg' = cxFAFBFE<br />

'notebg' = cxFAFBFE<br />

'tablebg' = cxFAFBFE<br />

'batchbg' = cxFAFBFE<br />

'systitlefg' = cx112277<br />

'titlefg' = cx112277<br />

'proctitlefg' = cx112277<br />

'bylinefg' = cx112277<br />

'notefg' = cx112277;<br />

class Hea<strong>de</strong>r /<br />

bor<strong>de</strong>rcolor = cxB0B7BB<br />

backgroundcolor = cxEDF2F9<br />

color = cx112277;<br />

class Footer /<br />

bor<strong>de</strong>rcolor = cxB0B7BB<br />

backgroundcolor = cxEDF2F9<br />

color = cx112277;<br />

class RowHea<strong>de</strong>r /<br />

bor<strong>de</strong>rcolor = cxB0B7BB<br />

backgroundcolor = cxEDF2F9<br />

color = cx112277;<br />

class RowFooter /<br />

bor<strong>de</strong>rcolor = cxB0B7BB<br />

backgroundcolor = cxEDF2F9<br />

color = cx112277;<br />

class Table /<br />

cellpadding = 5;<br />

class Graph /<br />

attrpriority = "Color";<br />

class GraphFit2 /<br />

linestyle = 1;<br />

class GraphClipping /<br />

markersymbol = "circlefilled";<br />

end;<br />

run;<br />

Dans le futur, pour modifier quelque chose dans un style en action, on<br />

s’inspirera scrupuleusement <strong>de</strong> ce qui est surligné en jaune.<br />

Class suivi du nom <strong>de</strong> classe autorisé sera suivi d’un slash. Ce qui<br />

suivra, avant le cloturant point-virgule : les nouvelles définitions pour<br />

cette classe.<br />

On voit par exemple que la distance entre une information (chiffre)<br />

d’une case(cell) et une bordure a été redéfinie à 5<br />

par cellpading = 5<br />

Allons maintenant voir ce « mystérieux » style statistique (Statistical) du Prêt à Porter <strong>Sas</strong> à Cary ! Nous n’en regar<strong>de</strong>rons<br />

pas tous les éléments : (Chapeau(title), Lunettes(Hea<strong>de</strong>r), Costard ou Robe (Table), Etoffe (Font et Colors) et Chaussures<br />

(Footer…) . Ce qui suit ne correspondra donc qu’à <strong>de</strong>s extraits.<br />

D’entrée <strong>de</strong> jeu, on remarque que ce style est lui-même dérivé du style initial Default déjà parcouru. Cependant, ici aucune<br />

instruction class, mais <strong>de</strong>s instructions Style ou Style … from . (vous comprendrez plus loin la différence entre les 2)<br />

proc template;<br />

<strong>de</strong>fine style Styles.Statistical;<br />

parent = styles.<strong>de</strong>fault;<br />

style fonts /<br />

'TitleFont2' = (", , Helvetica, Helv",2,bold)<br />

'TitleFont' = (", , Helvetica, Helv",3,bold)<br />

'StrongFont' = (", , Helvetica, Helv",2,bold)<br />

:::::<br />

'headingFont' = (", , Helvetica, Helv",2,bold)<br />

'docFont' = (", , Helvetica, Helv",2);<br />

style GraphFonts /<br />

'GraphDataFont' = (", ",7pt)<br />

'GraphUnico<strong>de</strong>Font' = ("",9pt)<br />

'GraphValueFont' = (", ",9pt)<br />

:::::<br />

'GraphAnnoFont' = (", ",10pt);<br />

style Table /<br />

cellpadding = 3<br />

bor<strong>de</strong>rspacing = 0<br />

frame = box<br />

rules = all<br />

bor<strong>de</strong>rtopwidth = 1px<br />

bor<strong>de</strong>rleftwidth = 1px<br />

bor<strong>de</strong>rbottomwidth = 0px<br />

bor<strong>de</strong>rrightwidth = 0px<br />

bor<strong>de</strong>rcolor = cxC1C1C1<br />

bor<strong>de</strong>rcollapse = collapse;<br />

<br />

29 INED Service Informatique Wielki

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!