<?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: TAGSETS.EXCELXP indent cell contents. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72309#M8256</link>
    <description>Indent is a style attribute.   It can be defined in a style element or as a style over-ride.   This example shows both ways,  It just depends upon which classlev statement you use.  With proc print, report or tabulate the style or over ride can be specified in many ways.&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style mystyle;&lt;BR /&gt;
  parent=styles.default;&lt;BR /&gt;
   style myclasslev from data/&lt;BR /&gt;
        indent=10;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file="file.pdf" style=mystyle;&lt;BR /&gt;
ods tagsets.excelxp file='temp.xls' style=mystyle;&lt;BR /&gt;
title ;footnote;&lt;BR /&gt;
proc tabulate data=sashelp.class; * missing;&lt;BR /&gt;
   class name age / order=data;&lt;BR /&gt;
   /*classlev name / s=myclasslev;*/&lt;BR /&gt;
   classlev name / s=data[indent=10];&lt;BR /&gt;
   table name=' ' all="Total",&lt;BR /&gt;
           age=' '*(N COLPctN='%') / box="Agegp" ;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods _all_ close;</description>
    <pubDate>Wed, 15 Sep 2010 18:59:02 GMT</pubDate>
    <dc:creator>Eric_SAS</dc:creator>
    <dc:date>2010-09-15T18:59:02Z</dc:date>
    <item>
      <title>TAGSETS.EXCELXP indent cell contents.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72308#M8255</link>
      <description>If I want to indent the cell contents of a column is there an option?  &lt;BR /&gt;
&lt;BR /&gt;
It appears that tagset would need to add INDENT to the XML as below.&lt;BR /&gt;
&lt;BR /&gt;
This is original XML&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;STYLE id="data__r" parent="data"&gt;&amp;lt;Alignment ss:WrapText="1" ss:Horizontal="Right"/&amp;gt;&amp;lt;br&amp;gt;
[/pre]&amp;lt;br&amp;gt;
modified with INDENT&amp;lt;br&amp;gt;
[pre]&amp;lt;br&amp;gt;
&amp;lt;Style ss:ID="data__r" ss:Parent="data"&amp;gt;&amp;lt;Alignment ss:WrapText="1" ss:Horizontal="Right" ss:Indent="3"/&amp;gt;&amp;lt;br&amp;gt;
[/pre]&amp;lt;br&amp;gt;
 produces the desired result when opened in XL but I can't figure if I can specify this through STYLE or other method.&amp;lt;br&amp;gt;
I tried &amp;lt;br&amp;gt;
[pre] style(column)=[tagattr=indent:3] [/pre]&amp;lt;br&amp;gt;
which did not work.  My understand from reading &amp;lt;a href="http://support.sas.com/resources/papers/proceedings10/031-2010.pdf" target="_blank"&amp;gt;http://support.sas.com/resources/papers/proceedings10/031-2010.pdf&amp;lt;/a&amp;gt; &amp;lt;br&amp;gt;
is the tagset is programmed for specific TAGATTER values and indent ain't one of them.&amp;lt;br&amp;gt;
is the tagset is programmed for specific TAGATTER values and indent ain't one of them.&lt;/STYLE&gt;</description>
      <pubDate>Wed, 15 Sep 2010 14:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72308#M8255</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-09-15T14:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP indent cell contents.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72309#M8256</link>
      <description>Indent is a style attribute.   It can be defined in a style element or as a style over-ride.   This example shows both ways,  It just depends upon which classlev statement you use.  With proc print, report or tabulate the style or over ride can be specified in many ways.&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define style mystyle;&lt;BR /&gt;
  parent=styles.default;&lt;BR /&gt;
   style myclasslev from data/&lt;BR /&gt;
        indent=10;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file="file.pdf" style=mystyle;&lt;BR /&gt;
ods tagsets.excelxp file='temp.xls' style=mystyle;&lt;BR /&gt;
title ;footnote;&lt;BR /&gt;
proc tabulate data=sashelp.class; * missing;&lt;BR /&gt;
   class name age / order=data;&lt;BR /&gt;
   /*classlev name / s=myclasslev;*/&lt;BR /&gt;
   classlev name / s=data[indent=10];&lt;BR /&gt;
   table name=' ' all="Total",&lt;BR /&gt;
           age=' '*(N COLPctN='%') / box="Agegp" ;&lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods _all_ close;</description>
      <pubDate>Wed, 15 Sep 2010 18:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72309#M8256</guid>
      <dc:creator>Eric_SAS</dc:creator>
      <dc:date>2010-09-15T18:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.EXCELXP indent cell contents.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72310#M8257</link>
      <description>Thanks so much, just what I needed to see. Here is example of what I was trying to do.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc template;&lt;BR /&gt;
   define style mystyle;&lt;BR /&gt;
   parent=styles.default;&lt;BR /&gt;
   style rightIndent from data /&lt;BR /&gt;
      indent=4&lt;BR /&gt;
      just=right;&lt;BR /&gt;
      end;&lt;BR /&gt;
   run;&lt;BR /&gt;
 &lt;BR /&gt;
ods tagsets.excelxp file='temp006.xml' style=mystyle;&lt;BR /&gt;
proc report nowd data=sashelp.class;&lt;BR /&gt;
   define _numeric_ / display style(column)=rightIndent;&lt;BR /&gt;
   run;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 15 Sep 2010 20:30:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-EXCELXP-indent-cell-contents/m-p/72310#M8257</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-09-15T20:30:50Z</dc:date>
    </item>
  </channel>
</rss>

