<?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 ODS Powerpoint - how to change font color in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287197#M16463</link>
    <description>&lt;P&gt;I work for an organization that conducts clinical trial research, and our organization has a standardized powerpoint template for the reporting of all of our results. &amp;nbsp;I've been tasked with coming up with programming to take advantage of the ODS PowerPoint destination to streamline generation of slides with tables of statistics. &amp;nbsp;I'm having trouble figuring out how to change the color of fonts to match the odd colors that our graphics department has chosen for the slide template. &amp;nbsp;I can't find any sample programming showing exactly how to change the font colors. &amp;nbsp;The closest I've gotten is Tim Hunter's 2013 SAS Global Forum paper (&lt;A href="https://support.sas.com/resources/papers/proceedings13/041-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/041-2013.pdf&lt;/A&gt;) that mentions but doesn't demonstrate how to make this particular change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below&amp;nbsp;is what I think should work. &amp;nbsp;The colors all match up with the colors in my organizations template. &amp;nbsp;But what I get is a slide that is entirely black. &amp;nbsp;The background is black, all the text is black...everything is black. &amp;nbsp;Can someone show me where I've gone wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using 64 bit Windows 7, SAS 9.4, TS Level 1M2, and have Office 2010.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path work.templat(update) sasuser.templat(update) sashelp.tmplmst(read);
ods path (prepend) work.templat(update);
proc template;
    define style ppt;
        parent=styles.powerpointlight;
        scheme 'ODS Light' /
            dark1 = #cx565656
            light1 = #cxffffff
            dark2 = #cx565656
            light2 = #cxffffff
            accent1 = #cx98012E
            accent2 = #cx565656
            accent3 = #cxffffff
            accent4 = #cxffffff
            accent5 = #cxffffff
            accent6 = #cxffffff
            heading_font = ("Arial",32pt)
            body_font = ("Arial",20pt);
    end;
run;

ods powerpoint style=ppt;
    title "Children 14+";
    proc report data = sashelp.class nowd;
        columns Name sex age height weight;
        where age ge 14;
    run;
ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 26 Jul 2016 14:00:11 GMT</pubDate>
    <dc:creator>rpaulus</dc:creator>
    <dc:date>2016-07-26T14:00:11Z</dc:date>
    <item>
      <title>ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287197#M16463</link>
      <description>&lt;P&gt;I work for an organization that conducts clinical trial research, and our organization has a standardized powerpoint template for the reporting of all of our results. &amp;nbsp;I've been tasked with coming up with programming to take advantage of the ODS PowerPoint destination to streamline generation of slides with tables of statistics. &amp;nbsp;I'm having trouble figuring out how to change the color of fonts to match the odd colors that our graphics department has chosen for the slide template. &amp;nbsp;I can't find any sample programming showing exactly how to change the font colors. &amp;nbsp;The closest I've gotten is Tim Hunter's 2013 SAS Global Forum paper (&lt;A href="https://support.sas.com/resources/papers/proceedings13/041-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/041-2013.pdf&lt;/A&gt;) that mentions but doesn't demonstrate how to make this particular change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below&amp;nbsp;is what I think should work. &amp;nbsp;The colors all match up with the colors in my organizations template. &amp;nbsp;But what I get is a slide that is entirely black. &amp;nbsp;The background is black, all the text is black...everything is black. &amp;nbsp;Can someone show me where I've gone wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using 64 bit Windows 7, SAS 9.4, TS Level 1M2, and have Office 2010.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path work.templat(update) sasuser.templat(update) sashelp.tmplmst(read);
ods path (prepend) work.templat(update);
proc template;
    define style ppt;
        parent=styles.powerpointlight;
        scheme 'ODS Light' /
            dark1 = #cx565656
            light1 = #cxffffff
            dark2 = #cx565656
            light2 = #cxffffff
            accent1 = #cx98012E
            accent2 = #cx565656
            accent3 = #cxffffff
            accent4 = #cxffffff
            accent5 = #cxffffff
            accent6 = #cxffffff
            heading_font = ("Arial",32pt)
            body_font = ("Arial",20pt);
    end;
run;

ods powerpoint style=ppt;
    title "Children 14+";
    proc report data = sashelp.class nowd;
        columns Name sex age height weight;
        where age ge 14;
    run;
ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jul 2016 14:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287197#M16463</guid>
      <dc:creator>rpaulus</dc:creator>
      <dc:date>2016-07-26T14:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287216#M16464</link>
      <description>&lt;P&gt;This is an implementation that is in Stephen Fews style. It should give you the idea of how to customize your own template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/statgeek/9845cc3d26e4c35e01a2" target="_blank"&gt;https://gist.github.com/statgeek/9845cc3d26e4c35e01a2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 14:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287216#M16464</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-26T14:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287272#M16465</link>
      <description>&lt;P&gt;Thanks for the link, but I'm already familiar with customizing templates for use in RTF &amp;amp; PDF destination output. &amp;nbsp;It's the Powerpoint destination-specific parts of the template that don't seem to be working, particularly with respect to the color. &amp;nbsp;The changes I've attempted to both the font &amp;amp; font size are working...it's the color that's being difficult. &amp;nbsp;Thanks anyway!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287272#M16465</guid>
      <dc:creator>rpaulus</dc:creator>
      <dc:date>2016-07-26T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287279#M16466</link>
      <description>&lt;P&gt;You're almost there. The color names should start with cx, not #cx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        scheme 'ODS Light' /
            dark1 =  cx565656
            light1 =  cxffffff
            dark2 =  cx565656
            light2 =  cxffffff
            accent1 =  cx98012E
            accent2 =  cx565656
            accent3 =  cxffffff
            accent4 =  cxffffff
            accent5 =  cxffffff
            accent6 =  cxffffff 
            heading_font = ("Arial",32pt)
            body_font = ("Arial",20pt);
&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287279#M16466</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-07-26T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287280#M16467</link>
      <description>&lt;P&gt;Well, isn't that embarrassing! &amp;nbsp;Almost as bad as missing a semi-colon. &amp;nbsp;&lt;img id="smileylol" class="emoticon emoticon-smileylol" src="https://communities.sas.com/i/smilies/16x16_smiley-lol.png" alt="Smiley LOL" title="Smiley LOL" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much, Tim!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287280#M16467</guid>
      <dc:creator>rpaulus</dc:creator>
      <dc:date>2016-07-26T17:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287283#M16468</link>
      <description>&lt;P&gt;You're welcome! Don't feel too embarrassed. I would have expected SAS to have&amp;nbsp;diagnosed those color names. Offhand I don't know why it doesn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, at this year's SGF in Las Vegas I gave a follow-on to the 2013 paper called (unimaginatively) &lt;A href="http://support.sas.com/resources/papers/proceedings16/SAS3801-2016.pdf" target="_self"&gt;A Second Look at the ODS Destination for PowerPoint&lt;/A&gt;. I hope you find it useful.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287283#M16468</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-07-26T17:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint - how to change font color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287288#M16469</link>
      <description>&lt;P&gt;I was at that presentation which was very good &amp;amp; very informative, and it prompted me to start pestering our IT department about getting 9.4M3. &amp;nbsp;So far, no luck, but I'm hoping by the end of the year. &amp;nbsp;The additional features would help greatly in getting slides from SAS that could be incorporated into my organization's template without post-processing, which is my goal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-how-to-change-font-color/m-p/287288#M16469</guid>
      <dc:creator>rpaulus</dc:creator>
      <dc:date>2016-07-26T17:52:35Z</dc:date>
    </item>
  </channel>
</rss>

