<?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 issues - slide margin, table padding and odslist background color in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-powerpoint-issues-slide-margin-table-padding-and-odslist/m-p/930942#M366267</link>
    <description>&lt;P&gt;First time post here. Please let me know how to make it better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try formatting a bullet list in a text box and a table on ods powerpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My desired format (see below screenshots):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The whole text box background color should be yellow. The first line "Comment Box" should not have a bullet.&lt;/LI&gt;&lt;LI&gt;The text box and table below should start at the most left of the slide, leaving no margin.&lt;/LI&gt;&lt;LI&gt;The table's Cell Margins should be all 0s. (In PowerPoint it is in Layout - Cell Margins)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;  *HTML output;
  ods html;

  *PPT output;
  options nocenter orientation=landscape topmargin=0in bottommargin=0in 
        leftmargin=0in rightmargin=0in papersize=(13.33in 7.5in);
  ods powerpoint file=".\__temp.pptx" nogtitle nogfootnote;

  *Title and comment box;
  ods layout gridded x=0pct y=0pct;
  ods region;
  proc odstext; p "Title" / style=[color=green TEXTALIGN=L FONTWEIGHT=BOLD FONTSIZE=24pt]; run;
  proc odslist;
/*  cellstyle 1 as {background=lightyellow};*/
  item / style={liststyletype="none" TEXTALIGN=L fontsize=12pt background=yellow};
    p "Comment Box";
    p "Comment Box2";
    list / style={liststyletype="disc" TEXTALIGN=L fontsize=12pt FONTWEIGHT=BOLD background=yellow};
     item "Bullet1";
     item "Bullet2";
    end;
  end;
  run;
  ods layout end;

  *A table;
  ods layout gridded;
  ods region;
  proc print data=sashelp.class  noobs label WIDTH=MINIMUM
  style(header)={cellpadding=0pt /*paddingleft=0pt paddingright=0pt*/ paddingbottom=0pt paddingtop=0pt foreground=black background=grey fontsize=11pt just=c}
  style(column)={cellpadding=0pt paddingleft=0pt paddingright=0pt paddingbottom=0pt paddingtop=0pt fontsize=11pt just=c}
  ;
  run;  
  ods layout end;

  *Close and Output;
  ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Below is the original PowerPoint output screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="working_bot_0-1717598471930.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97030i890814D536A83AF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_bot_0-1717598471930.png" alt="working_bot_0-1717598471930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below is what I would like to have.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="working_bot_1-1717598530803.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97031i04E689149139A127/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_bot_1-1717598530803.png" alt="working_bot_1-1717598530803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 14:46:56 GMT</pubDate>
    <dc:creator>working_bot</dc:creator>
    <dc:date>2024-06-05T14:46:56Z</dc:date>
    <item>
      <title>ods powerpoint issues - slide margin, table padding and odslist background color</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-powerpoint-issues-slide-margin-table-padding-and-odslist/m-p/930942#M366267</link>
      <description>&lt;P&gt;First time post here. Please let me know how to make it better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try formatting a bullet list in a text box and a table on ods powerpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My desired format (see below screenshots):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The whole text box background color should be yellow. The first line "Comment Box" should not have a bullet.&lt;/LI&gt;&lt;LI&gt;The text box and table below should start at the most left of the slide, leaving no margin.&lt;/LI&gt;&lt;LI&gt;The table's Cell Margins should be all 0s. (In PowerPoint it is in Layout - Cell Margins)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;  *HTML output;
  ods html;

  *PPT output;
  options nocenter orientation=landscape topmargin=0in bottommargin=0in 
        leftmargin=0in rightmargin=0in papersize=(13.33in 7.5in);
  ods powerpoint file=".\__temp.pptx" nogtitle nogfootnote;

  *Title and comment box;
  ods layout gridded x=0pct y=0pct;
  ods region;
  proc odstext; p "Title" / style=[color=green TEXTALIGN=L FONTWEIGHT=BOLD FONTSIZE=24pt]; run;
  proc odslist;
/*  cellstyle 1 as {background=lightyellow};*/
  item / style={liststyletype="none" TEXTALIGN=L fontsize=12pt background=yellow};
    p "Comment Box";
    p "Comment Box2";
    list / style={liststyletype="disc" TEXTALIGN=L fontsize=12pt FONTWEIGHT=BOLD background=yellow};
     item "Bullet1";
     item "Bullet2";
    end;
  end;
  run;
  ods layout end;

  *A table;
  ods layout gridded;
  ods region;
  proc print data=sashelp.class  noobs label WIDTH=MINIMUM
  style(header)={cellpadding=0pt /*paddingleft=0pt paddingright=0pt*/ paddingbottom=0pt paddingtop=0pt foreground=black background=grey fontsize=11pt just=c}
  style(column)={cellpadding=0pt paddingleft=0pt paddingright=0pt paddingbottom=0pt paddingtop=0pt fontsize=11pt just=c}
  ;
  run;  
  ods layout end;

  *Close and Output;
  ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Below is the original PowerPoint output screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="working_bot_0-1717598471930.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97030i890814D536A83AF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_bot_0-1717598471930.png" alt="working_bot_0-1717598471930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below is what I would like to have.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="working_bot_1-1717598530803.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97031i04E689149139A127/image-size/medium?v=v2&amp;amp;px=400" role="button" title="working_bot_1-1717598530803.png" alt="working_bot_1-1717598530803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 14:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-powerpoint-issues-slide-margin-table-padding-and-odslist/m-p/930942#M366267</guid>
      <dc:creator>working_bot</dc:creator>
      <dc:date>2024-06-05T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: ods powerpoint issues - slide margin, table padding and odslist background color</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-powerpoint-issues-slide-margin-table-padding-and-odslist/m-p/931081#M366313</link>
      <description>&lt;P&gt;You could use PROC REPORT to replace PROC ODSLIST.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nocenter orientation=landscape topmargin=0in bottommargin=0in 
        leftmargin=0in rightmargin=0in papersize=(13.33in 7.5in);
  ods powerpoint file="c:\temp\temp.pptx" nogtitle nogfootnote;
title;

data x;
input x $80.;
cards;
Comment Box
Comment Box2
(*ESC*){style [foreground=yellow].......}●    Bullet1
(*ESC*){style [foreground=yellow].......}●    Bullet2
;

  *Title and comment box;
  ods layout gridded x=0pct y=0pct;
  ods region;
  proc odstext; p "Title" / style=[color=green TEXTALIGN=L FONTWEIGHT=BOLD FONTSIZE=24pt]; run;


proc report data=x nowd noheader 
style(column)={rules=none frame=void background=yellow bordercolor=yellow fontsize=12pt cellpadding=0 cellspacing=0};
run;


  ods layout end;

  *A table;
  ods layout gridded;
  ods region;
  proc print data=sashelp.class(obs=10)  noobs label WIDTH=MINIMUM
  style(header)={cellpadding=0pt /*paddingleft=0pt paddingright=0pt*/ paddingbottom=0pt paddingtop=0pt foreground=black background=grey fontsize=11pt just=c}
  style(column)={cellpadding=0pt paddingleft=0pt paddingright=0pt paddingbottom=0pt paddingtop=0pt fontsize=11pt just=c}
  ;
  run;  
  ods layout end;

  *Close and Output;
  ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1717643853807.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97058iC07EB0A9BDD3AB47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1717643853807.png" alt="Ksharp_0-1717643853807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 03:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-powerpoint-issues-slide-margin-table-padding-and-odslist/m-p/931081#M366313</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-06-06T03:17:41Z</dc:date>
    </item>
  </channel>
</rss>

