<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: use a custom style swith stored process (EG) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89890#M3318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ods html style=wivisp_SASstyle;&lt;/P&gt;&lt;P&gt;/* no file statement for stored process !!! */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seem to apply my style to graphics of the stored process.&lt;/P&gt;&lt;P&gt;not to background of the page, titles and tables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 15:26:55 GMT</pubDate>
    <dc:creator>mathias</dc:creator>
    <dc:date>2012-06-22T15:26:55Z</dc:date>
    <item>
      <title>use a custom style swith stored process (EG)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89888#M3316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a template style to make all generated graphics uniform.&lt;/P&gt;&lt;P&gt;It is writen in my code like this :&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;ODS PATH(PREPEND) work.templat(update);&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define style wivisp_SASstyle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent = Styles.Normal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphColors /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gborderlines' = white&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'goutlines' = black&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;then in EG I added the template in Tools &amp;gt; Style manager &amp;gt; add&lt;/P&gt;&lt;P&gt;In sas enterprise guide, I can see it works : graphs are in the right colors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I create a stored process from my egp (right clic &amp;gt; "Create stored process" &amp;gt; next next finish), all colors are changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I apply my custom template to the results of my stored process ?&lt;/P&gt;&lt;P&gt;Is writing a proc template a good waprocessy to do procede ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Enterprise guide 4.3 and SAS 9.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 13:35:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89888#M3316</guid>
      <dc:creator>mathias</dc:creator>
      <dc:date>2012-06-22T13:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: use a custom style swith stored process (EG)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89889#M3317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adding this line seems to apply the style on tables but no graphics are shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html file=_WEBOUT ENCODING='utf-8' STYLE=wivisp_SASstyle;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 13:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89889#M3317</guid>
      <dc:creator>mathias</dc:creator>
      <dc:date>2012-06-22T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: use a custom style swith stored process (EG)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89890#M3318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ods html style=wivisp_SASstyle;&lt;/P&gt;&lt;P&gt;/* no file statement for stored process !!! */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seem to apply my style to graphics of the stored process.&lt;/P&gt;&lt;P&gt;not to background of the page, titles and tables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 15:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89890#M3318</guid>
      <dc:creator>mathias</dc:creator>
      <dc:date>2012-06-22T15:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: use a custom style swith stored process (EG)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89891#M3319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The style has to be specified on the _ODSSTYLE macro variable to affect all of your output. the macro variable is used by the %stpbegin() macro when initializing the ODS destination. Therefore, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let _ODSSTYLE=wivisp_SASstyle;&lt;/P&gt;&lt;P&gt;%stpbegin();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 15:34:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/use-a-custom-style-swith-stored-process-EG/m-p/89891#M3319</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2012-06-22T15:34:59Z</dc:date>
    </item>
  </channel>
</rss>

