<?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: Include Image in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200060#M13358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trivial question, but I just can't find a suitable solution: How can I include an image (e.g. JPG) on just one slide?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To include imagefiles on every slide (for headers and footers) I use proc template as described in &lt;A href="http://support.sas.com/kb/53/334.html" title="http://support.sas.com/kb/53/334.html"&gt;53334 - Add a logo to every slide in the ODS Destination for PowerPoint&lt;/A&gt; , but that's not what I need.&lt;/P&gt;&lt;P&gt;I found a hint in a whitepaper (041-2013: A First Look at the ODS Destination for Powerpoint) that one can use the BACKGROUNDIMAGE attribute to put an image in the background of a text block (among other components), but how? And is that an appropriate way to put JPGs in your presentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 14:38:38 GMT</pubDate>
    <dc:creator>Stef</dc:creator>
    <dc:date>2015-04-20T14:38:38Z</dc:date>
    <item>
      <title>ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200060#M13358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trivial question, but I just can't find a suitable solution: How can I include an image (e.g. JPG) on just one slide?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To include imagefiles on every slide (for headers and footers) I use proc template as described in &lt;A href="http://support.sas.com/kb/53/334.html" title="http://support.sas.com/kb/53/334.html"&gt;53334 - Add a logo to every slide in the ODS Destination for PowerPoint&lt;/A&gt; , but that's not what I need.&lt;/P&gt;&lt;P&gt;I found a hint in a whitepaper (041-2013: A First Look at the ODS Destination for Powerpoint) that one can use the BACKGROUNDIMAGE attribute to put an image in the background of a text block (among other components), but how? And is that an appropriate way to put JPGs in your presentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200060#M13358</guid>
      <dc:creator>Stef</dc:creator>
      <dc:date>2015-04-20T14:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200061#M13359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Assuming you want something like the output from a graphing procedure, you use the standard "ODS sandwich" method. For this code I get 1 slide with a table from PROC PRINT and another slide with the graph from PROC SGPLOT.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods powerpoint file='c:\temp\testppt.ppt' nogtitle;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data=sashelp.class(obs=3);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; title 'The SAS Title';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc sgplot data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;vbar age/group=sex groupdisplay=cluster stat=mean response=height;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 20:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200061#M13359</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-20T20:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200062#M13360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you're trying to include a logo or outside image, i.e. on dropbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 23:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200062#M13360</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-20T23:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200063#M13361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, Cynthia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure-output is not exactly what I meant. I try to include a logo, a static picture in JPG (or PNG) format. It does not necessarily have to be an external file, like Reeza suggested. It might be an image which is stored locally on the server or within SAS ContentServer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 08:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200063#M13361</guid>
      <dc:creator>Stef</dc:creator>
      <dc:date>2015-04-21T08:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200064#M13362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, Cynthia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure-output is not exactly what I meant. I would like to include a static image, like a logo as Reeza suggested, in JPG or PNG format. It does not have to be external, might also be an image which is stored locally on the server or in SAS ContentServer.&lt;/P&gt;&lt;P&gt;The logo should be included in just one slide, not all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 08:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200064#M13362</guid>
      <dc:creator>Stef</dc:creator>
      <dc:date>2015-04-21T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200065#M13363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, there's a difference between using the SAS Add-in for Microsoft Office (where the image for the logo might be defined in the metadata) and using ODS PowerPoint as the destination. For the ODS PowerPoint destination and using a logo, I believe you do have to use the technique outlined in this note: &lt;A href="http://support.sas.com/kb/53/334.html" title="http://support.sas.com/kb/53/334.html"&gt;53334 - Add a logo to every slide in the ODS Destination for PowerPoint&lt;/A&gt;. or, open a track with Tech Support -- since the ODS PowerPoint destination is new, there might be some workarounds that Tech Support knows about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 16:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200065#M13363</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-21T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200066#M13364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again. Perhaps I have to try it via Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it must be possible, because there is a screenshot floating around, which seems to show exaclty what I mean. You can see it in the aforementioned whitepaper (041-2013: A First Look at the ODS Destination for Powerpoint) on page 8. The "TwoContent Layout" is shown and I am almost sure that there are images included in the example on the right hand side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I find a solution, I'll post it here for future reference. Nevertheless any further tips are greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10126_screen.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 09:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200066#M13364</guid>
      <dc:creator>Stef</dc:creator>
      <dc:date>2015-04-22T09:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200067#M13365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Stef The code for the presentations is at this page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sascommunity.org/wiki/A_First_Look_at_the_ODS_Destination_for_PowerPoint" title="http://www.sascommunity.org/wiki/A_First_Look_at_the_ODS_Destination_for_PowerPoint"&gt;A First Look at the ODS Destination for PowerPoint - sasCommunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to be accomplished via the preimage option in proc report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;ods powerpoint file="Figure_11b.pptx" layout=twocontent;&lt;/P&gt;&lt;P&gt;proc report data=cali style(report)={preimage="Flag_of_California.png" bordercolor=black};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; column label data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; define label / display '' style={background=#ffd700};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; define data / display '';&lt;/P&gt;&lt;P&gt;compute data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bg+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if mod(bg,2)=1 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define(_col_, "style", "style={background=#fff2b3}");&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 22:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200067#M13365</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-22T22:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint: Include Image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200068#M13366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic! This is exactly what I was looking for. Thanks a thousand times, Reeza.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that I see the code, it all makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 07:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Powerpoint-Include-Image/m-p/200068#M13366</guid>
      <dc:creator>Stef</dc:creator>
      <dc:date>2015-04-23T07:30:52Z</dc:date>
    </item>
  </channel>
</rss>

