<?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: How to import ods html to rtf output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387560#M19049</link>
    <description>Unfortunately yes &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; .... This is the only version my company has... But i Will Ry to find a newer one</description>
    <pubDate>Sat, 12 Aug 2017 06:52:09 GMT</pubDate>
    <dc:creator>MohamedYehia</dc:creator>
    <dc:date>2017-08-12T06:52:09Z</dc:date>
    <item>
      <title>How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387216#M19027</link>
      <description>&lt;P&gt;Dear All;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to import the HTML to RTF output using the following code; however there are 3 problems in here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) When I save the output as ods HTML, the web file saved is not looking the same like the one found opened in the sas program after pressing run button!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) when I import to rtf using " ods html file="xxxxxx.rtf"; ods html close; the rtf file is totally different from the HTML opened in the sas program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) How can I change the width of the row and column lines from being dotted to solid for all the sas output result without specifying certain table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;M.Yehia&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 01:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387216#M19027</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-11T01:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387218#M19028</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147016"&gt;@MohamedYehia&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) When I save the output as ods HTML, the web file saved is not looking the same like the one found opened in the sas program after pressing run button!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show some images that illustrate this. Without an image we cannot make any recommendations. Since your data is likely confidential, use sample data from SASHELP to generate a sample report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;2) when I import to rtf using " ods html file="xxxxxx.rtf"; ods html close; the rtf file is totally different from the HTML opened in the sas program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You say import to RTF, but I assume you mean export and creating some output? So the styles in the RTF is different than HTML? Did you specify a STYLE in your ODS statements? What style is your default? Again, post an example of what this looks like, ideally with the code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;3) How can I change the width of the row and column lines from being dotted to solid for all the sas output result without specifying certain table?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Modify your style and/or template if required. If you're using PROC REPORT you may be able to do it within that procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, yes, you're having issues, but you haven't provided enough information to allow us to answer your questions. Also&amp;nbsp;include your SAS version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 02:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387218#M19028</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-11T02:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387220#M19030</link>
      <description>&lt;P&gt;And in addition to Reeza's excellent suggestions, this is incorrect syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html file="xxxxxx.rtf"; ods html close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS HTML will NEVER create an RTF file. The correct way to create and RTF file is as shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='xxx.rtf' style=journal;
 
proc print data=sashelp.class;
run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; As Reeza suggests, we need to have a better explanation and a better example of the actual code you've tried. What you describe should NOT work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 02:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387220#M19030</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-08-11T02:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387276#M19031</link>
      <description>&lt;P&gt;Hi Cynthia and Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for you reply. I am sorry for not attaching pics for clarification. Reeza you are right about export not import. However Cynthia, you can create an rtf file using ODS HTML and I wil show you the pics of what I did.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Picture named "Untitled1" is what I got using ODS HTML"file path.rtf"; ODS HTML close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pic "Untitled2" &amp;nbsp;is what I got after saving the ODS HTML as a webpage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pic "Untitled3" is what I want to make my output.rtf looks like; "as you can see the row lines or borders of the tables inside are bold and solid, however the column lines or borders are the same as the table border.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pic "Untitled4"&amp;nbsp;is what I got on the SAS Result window. Please check the difference between pic 3 (The One I want to do) with the pic 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your kind assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;M.Yehia&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 09:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387276#M19031</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-11T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387428#M19037</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I apologize for not being thorough in my explanation. ODS HTML creates an ASCII text file that contains HTML markup language tags. No matter what file extension you use, ODS HTML will ALWAYS write HTML strings INSIDE the file. You can prove this to yourself as shown in the screen shot below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what_is_inside_file1.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14448iB98002AA8CFFC74F/image-size/large?v=v2&amp;amp;px=999" role="button" title="what_is_inside_file1.png" alt="what_is_inside_file1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note how I used ODS HTML to mimic your process and I named the file with the .RTF file extension. ODS HTML did NOT create a conforming RTF file. ODS HTML created a file with HTML tags inside -- you can open the resulting RTF file with NOTEPAD and see the HTML strings and NOT the correct RTF strings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if you use the correct destination ODS RTF, as shown in the second screen shot below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what_is_in_correct_file.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14449i191EA3B3D9FAAEBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="what_is_in_correct_file.png" alt="what_is_in_correct_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see that the RTF control strings are correctly created when the ODS RTF destination is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not see any purpose in using ODS HTML to try to create something that you give the extension of RTF because it is NOT RTF commands in the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 17:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387428#M19037</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-08-11T17:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387435#M19038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I understand your point of view and you are right about that. However, even the ODS HTML output is not the same as the one in PDF "Untitled3". That's why I want to know the syntax to write to be able to get the column and row borders as shown in PDF "Untitled3"?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours,&lt;/P&gt;&lt;P&gt;M.Yehia&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 17:35:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387435#M19038</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-11T17:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387449#M19039</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147016"&gt;@MohamedYehia&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I understand your point of view and you are right about that. However, even the ODS HTML output is not the same as the one in PDF "Untitled3". That's why I want to know the syntax to write to be able to get the column and row borders as shown in PDF "Untitled3"?.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;M.Yehia&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should show the exact code used to create any of those files.&lt;/P&gt;
&lt;P&gt;One thing that changes line types and such is the active ods style. The RTF and PDF desitnations will use a different default style if you do not specify one on the ODS RTF or ODS PDF statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version of SAS are you working with? The available SAS supplied styles vary between releases. I do not see a style in 9.4.4 that duplicates the appearance of your 'untitled3' so the table may have been made with a custom style or style overrides in a procedure.&lt;/P&gt;
&lt;P&gt;There is also a chance that what we see isn't what you see from your HTML after you run it through a converter to PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are generating your output with the basic report procedures Proc Print, Report or Tabulate you can provide style overrides for cell color background and borders.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 18:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387449#M19039</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-11T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387450#M19040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am working with SAS 9.1.3. I just want to know the syntax that specifies the border width of columns and rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 18:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387450#M19040</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-11T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387481#M19041</link>
      <description>&lt;P&gt;In the report procedures you would be specifying borderwidth in a style overide, there are some differences in how this looks depending on the procedure. In Proc Report it would be in a define block, in proc print a style element for specific variables and in proc tabulate either in a classlev, keywork or statistic description in the middle of a table definition.&lt;/P&gt;
&lt;P&gt;And row or column headers usually involve something different than cells in the body of an output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;proc&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;print&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;=sashelp.class &lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;noobs&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; name /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;=[borderwidth=&lt;/FONT&gt;&lt;FONT color="#008080" face="SAS Monospace" size="2"&gt;4&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;pt ];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; sex /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;=[borderwidth=&lt;/FONT&gt;&lt;FONT color="#008080" face="SAS Monospace" size="2"&gt;1&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;pt ];&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;run&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;You may also have the option of bordertopwidth borderbottomwidth borderrightwidth and borderleftwidth, and color and style. But I don't have 9.1.3 references and there have been a lot of changes since then.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;Note that some options to not apply to all ODS destinations with PDF being a common exception but HTML and RTF are usually pretty compatible.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 19:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387481#M19041</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-11T19:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387491#M19042</link>
      <description>&lt;P&gt;I have just found the code required to change the style of all the sas output. Below is the code. However; I wonder why when I change the cell spacing, it will be changed only in the SAS result window and not in the saved HTML file!!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;‎
define style Styles.Custom;‎
parent = Styles.default;‎

replace fonts /‎
‎'TitleFont' = ("Verdana",16pt,Bold Italic) /* Titles from TITLE statements */‎
‎'TitleFont2' = ("Verdana",14pt,Bold Italic) /* Proc titles ("The XX ‎Procedure")*/‎
‎'StrongFont' = ("Verdana",14pt,Bold)‎
‎'EmphasisFont' = ("Times Roman",12pt,Italic bold)‎
‎'headingEmphasisFont' = ("Times Roman",11pt,Bold Italic)‎
‎'headingFont' = ("Verdana",14pt,Bold) /* Table column and row headings */‎
‎'docFont' = ("Verdana",12pt) /* Data in table cells */‎
‎'footFont' = ("Times Roman",13pt) /* Footnotes from FOOTNOTE statements */‎
‎'FixedEmphasisFont' = ("Courier",9pt,Italic)‎
‎'FixedStrongFont' = ("Courier",9pt,Bold)‎
‎'FixedHeadingFont' = ("Courier",9pt,Bold)‎
‎'BatchFixedFont' = ("Courier",6.7pt)‎
‎'FixedFont' = ("Courier",9pt);‎

replace Table from Output /‎
frame = box /* outside borders: void, box, above/below, vsides/hsides, ‎lhs/rhs */‎
rules =  all /* internal borders: none, all, cols, rows, groups */‎
cellpadding = 10pt ‎
cellspacing = 1pt ‎
borderwidth = 4pt;‎
end;‎
run;‎&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 20:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387491#M19042</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-11T20:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387513#M19043</link>
      <description>&lt;P&gt;Was the style Custom actually created? (no errors in log)&lt;/P&gt;
&lt;P&gt;Did you specify using your custom style?&amp;nbsp; ods html style=styles.custom &amp;lt;other ods html options&amp;gt;;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you rerun code and overwrite the old file?&amp;nbsp;ods html style=styles.custom path='C:\path' body='file.html'; or similar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I mentioned, show the code you are using to create the output. if there are unexpected behaviors then include the log. Paste them into a codebox opened using the forum {i} menu icon as the message windows can reformat text.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 22:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387513#M19043</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-11T22:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387521#M19046</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&amp;nbsp; Your style template inherits from STYLES.DEFAULT which was originally defined as an HTML style, meant to be opened in a browser. The RTF style inherits from STYLES.DEFAULT, but changes those style elements and attributes that are best in HTML to those settings that are best in RTF, when opened in Word.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I would never expect an HTML-style to work in RTF the same way as it does in HTML. For one thing, in HTML, sometimes, the border specifications that work in RTF might not work in HTML. For example, if I specify a border width of 15 PX for HTML, I might actually see very wide borders, but the exact same code used in RTF or PDF destinations does NOT generate the same results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As an experiment, run this code and review the results to see how each destination treated the exact same style settings differently.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='c:\temp\diffborders.pdf';
ods rtf file='c:\temp\diffborders.rtf';
ods html file='c:\temp\diffborders.html';

proc report data=sashelp.class(obs=3)
   style(report)={bordertopcolor=pink borderbottomcolor=cyan borderrightcolor=red borderleftcolor=purple
                  bordertopwidth=15px borderbottomwidth=15px borderrightwidth=15px borderleftwidth=15px};
  column name age height;
run;

ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; You will notice that the thickness specified in HTML is NOT used by RTF and PDF. So a style template needs to be designed to work for RTF, using the RTF destination, not using the HTML destination and your method of making an HTML file and just naming it RTF is not going to make the fundamental differences change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So before you wonder why your somewhat convoluted process does not result in the same borders and border widths being used, it might be helpful to understand how the destinations work first. Your assumption, for example that whatever works in HTML should work for RTF is not always true. &lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 00:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387521#M19046</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-08-12T00:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387530#M19047</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/147016"&gt;@MohamedYehia&lt;/a&gt;&amp;nbsp;9.1.3 is Ancient (2004), are you sure you're not using 9.3?&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>Sat, 12 Aug 2017 02:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387530#M19047</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-12T02:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387560#M19049</link>
      <description>Unfortunately yes &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; .... This is the only version my company has... But i Will Ry to find a newer one</description>
      <pubDate>Sat, 12 Aug 2017 06:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387560#M19049</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-12T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387561#M19050</link>
      <description>You know, I saved my file as an html file. However, everything is changed except the cell spacing and I am wondering why is that.... May be that I am using an old version.... Even when I increase the cell spacing to be 15pt, nothing happens....&lt;BR /&gt;&lt;BR /&gt;The major problem in the rtf file is that the file pages are not like the one in html. I mean that for example for anova, I got 5 tables, in html file they are all located in one page. However in rtf they are distributed over 2 pages</description>
      <pubDate>Sat, 12 Aug 2017 06:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387561#M19050</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-12T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387567#M19051</link>
      <description>&lt;P&gt;HTML doesn't have the concept of pages.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want continuous output look at the startpage option. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 11:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387567#M19051</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-12T11:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import ods html to rtf output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387568#M19052</link>
      <description>&lt;P&gt;Thanks a lot Reeza&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2017 12:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-import-ods-html-to-rtf-output/m-p/387568#M19052</guid>
      <dc:creator>MohamedYehia</dc:creator>
      <dc:date>2017-08-12T12:08:23Z</dc:date>
    </item>
  </channel>
</rss>

