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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
• Extension à la <strong>de</strong>stination pdf <strong>de</strong> l’usage déjà autorisé en html et rtf <strong>de</strong>s options Gtitle/nogtitle<br />
Gfootnote/nogfootnote intégrant ou non ces éléments à un graphique (V1_p147). A partir <strong>de</strong> la 9.2,<br />
l’ods … text viendra avant le title en tête <strong>de</strong> page, mais avec l’utilisation d’un startpage=now, suivi dans<br />
une autre instruction d’un startpage=no, vous pourrez gérer votre ordre.<br />
• Le graphique sera par défaut vectoriel et donc mieux intégré et plus « léger » que s’il était retravaillé par<br />
la <strong>de</strong>stination pdf à partir d’une construction basée en externe.<br />
Par défaut, une image (provenant par exemple <strong>de</strong> statgraph voir chapitre suivant), en <strong>de</strong>stination pdf est<br />
définie en 150 dpi. Redéfinie en 300 dpi et sans une définition <strong>de</strong> son format d’image, elle sera mieux<br />
intégrée que produite d’abord en .png et et retravaillée par le processus <strong>de</strong> création pdf.<br />
ods graphics / reset imagename="Statgraph" ;*imagefmt=png;<br />
ods pdf file='nv_sgplot.pdf' notoc dpi=300;<br />
• Apparition <strong>de</strong> la transparence liée à la notion du rgba (le facteur alpha, ajouté au rouge,vert,bleu<br />
renvoie à un <strong>de</strong>gré <strong>de</strong> transparence échelonné <strong>de</strong> 0 à 255 [opacité totale] et sera exprimé en hexadécimal<br />
comme les autres éléments)<br />
proc template;<br />
<strong>de</strong>fine style rgba;<br />
parent = styles.printer;<br />
class body / backgroundimage = 'd:\notes\test\wood-grain.jpg';<br />
style big /<br />
fontsize = 4 cm<br />
fontfamily = impact<br />
fontweight = bold ;<br />
end;<br />
run;<br />
ods listing close;<br />
title; options orientation=landscape nodate; ods escapechar '^';<br />
ods pdf file='rgba.pdf' style=rgba;<br />
ods pdf text = "^{style big[color=RGBAffffffff]I}^{style<br />
big[color=RGBAffffffcc]N}^{style big[color=RGBAffffff99]E}^{style<br />
big[color=RGBAffffff66]D}";<br />
proc print data=<strong>Sas</strong>help.failure(obs=16);<br />
run;<br />
ods _all_ close;<br />
Ce concept pourra s’étendre à une utilisation en background par exemple en style(hea<strong>de</strong>r)= d’un report<br />
(V1_p157) ou en fond <strong>de</strong> page en attribut backgroundcolor= d’un template. Non autorisé en java.<br />
• La fonctionnalité du drilldown existante dans le <strong>Sas</strong> graph classique a été étendue à la <strong>de</strong>stination pdf<br />
http://robslink.com/<strong>Sas</strong>/<strong>de</strong>mocd50/aaain<strong>de</strong>x.htm<br />
81 INED Service Informatique Wielki