<?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: ods phtml Report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923097#M26536</link>
    <description>&lt;P&gt;Try option "page_break=".&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape;
ods phtml file="c:\temp\report.rtf" style=journal  options(page_break='no')  ;
title1 "A";
proc print data=sashelp.cars (obs=10);
run;
title1;
title2 "B";
proc print data=sashelp.cars(obs=10);
run;
ods _all_ 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-1712298317978.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95229i5889AAE78AEE02C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1712298317978.png" alt="Ksharp_0-1712298317978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 06:25:36 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-04-05T06:25:36Z</dc:date>
    <item>
      <title>ods phtml Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/922926#M26534</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template; 
define style styles.mystyle; 
    parent = Styles.Default; 
    style systemtitle /
        font_face = 'Calibri'      
        font_weight = bold
        font_size = 12pt
    ;   
    style systemfooter /
        font_face = 'Calibri'
        font_size = 8pt     
    ;
    style data /
        fontfamily = 'Calibri'
        font_size = 10pt
        foreground = black
    ;
    style header /
        fontfamily  = 'Calibri'
        font_size = 10pt
        foreground = Black
        background = white
    ;

    style summary /
        fontfamily  = 'Calibri'
        font_size = 10pt
        foreground = Black
        font_weight = bold 
        background = white 
    ;

    style table /
        cellpadding = 5px
        cellspacing = 0px
        borderwidth = 1px       
        bordercolor = black
        borderstyle = solid
    ;


end; 
run;
ods phtml file="report.rtf" style=mystyle    ;
title1 "A";
proc print data=sashelp.cars (obs=10);
run;
title1;
title2 "B";
proc print data=sashelp.cars(obs=10);
run;
ods _all_ close;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1712223101571.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95200iF2150D81FF089A56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1712223101571.png" alt="Daily1_0-1712223101571.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How to remove Horizontal line ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/922926#M26534</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2024-04-04T09:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: ods phtml Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/922977#M26535</link>
      <description>&lt;P&gt;Is there some specific reason you are creating HTML, the basic output of the parent Styles.Default, to and RTF file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggestion: get the code for Styles.default using proc template. Look at all the defined classes that you have not overridden&lt;/P&gt;
&lt;P&gt;In the section for Class html you might find&lt;/P&gt;
&lt;PRE&gt;      'PageBreakLine' =
      "&amp;lt;p style=""page-break-after: always;""&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr size=""3""/&amp;gt;"
      'fake bullet' = %nrstr("&amp;lt;b&amp;gt;&amp;amp;#183;&amp;lt;/b&amp;gt;");
&lt;/PRE&gt;
&lt;P&gt;Changing that to&lt;/P&gt;
&lt;PRE&gt;      'PageBreakLine' =
      "&amp;lt;p style=""page-break-after: always;""&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/&amp;gt;"
      'fake bullet' = %nrstr("&amp;lt;b&amp;gt;&amp;amp;#183;&amp;lt;/b&amp;gt;")
&lt;/PRE&gt;
&lt;P&gt;will remove that line &lt;STRONG&gt;in this example&lt;/STRONG&gt;. I don't know what it might break elsewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW including ODS _ALL_ CLOSE; is sort of rude as that affects settings of others using your code. You should only close the specific ODS destination in question when discussing ODS options.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 14:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/922977#M26535</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-04-04T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: ods phtml Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923097#M26536</link>
      <description>&lt;P&gt;Try option "page_break=".&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape;
ods phtml file="c:\temp\report.rtf" style=journal  options(page_break='no')  ;
title1 "A";
proc print data=sashelp.cars (obs=10);
run;
title1;
title2 "B";
proc print data=sashelp.cars(obs=10);
run;
ods _all_ 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-1712298317978.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95229i5889AAE78AEE02C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1712298317978.png" alt="Ksharp_0-1712298317978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 06:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923097#M26536</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-04-05T06:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: ods phtml Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923099#M26537</link>
      <description>I have a customized font that I would like to use to create an RTF file containing multiple PROC REPORTs within a single report. Additionally, I want each report to start on a new page. I've found that ODS PHTML only works for customized fonts</description>
      <pubDate>Fri, 05 Apr 2024 06:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923099#M26537</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2024-04-05T06:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: ods phtml Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923122#M26538</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236411"&gt;@Daily1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I have a customized font that I would like to use to create an RTF file containing multiple PROC REPORTs within a single report. Additionally, I want each report to start on a new page. I've found that ODS PHTML only works for customized fonts&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Have you made that Font available to SAS? Proc Fontreg is used to add fonts to the SAS registry to recognize such. Do read the documentation as to how the resulting fonts would need to be referenced in Proc Report (or other procedures) Style options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each report on a new page would be the ODS RTF option startpage=yes, which can be changed at different points in a document if you need to change the behavior temporarily for one long (or several very sort) procedure outputs.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 09:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-phtml-Report/m-p/923122#M26538</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-04-05T09:09:42Z</dc:date>
    </item>
  </channel>
</rss>

