<?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: ODF PDF/RTF Inline formatting with long lines causing problems in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODF-PDF-RTF-Inline-formatting-with-long-lines-causing-problems/m-p/355127#M18514</link>
    <description>&lt;P&gt;I ran this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options pagesize=max;
OPTIONS LINESIZE = 256;
options orientation=landscape;
ods pdf file="&amp;amp;sasforum\reports\test pdf.pdf" startpage=never style=minimal ;
ods escapechar='^';

data _null_;
file print;
length x $2000;
column_value2 = "The quick brown fox jumped over the lazy dogs";
x=catt('^{style[font_face=Calibri font_weight=bold just=left font_size=12pt color=purple]', strip(column_value2), '}');
put x;
run;
  
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and got the intended output file. I am using SAS version 9.4&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2017 04:28:52 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-05-02T04:28:52Z</dc:date>
    <item>
      <title>ODF PDF/RTF Inline formatting with long lines causing problems</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODF-PDF-RTF-Inline-formatting-with-long-lines-causing-problems/m-p/355108#M18513</link>
      <description>&lt;P&gt;I am trying to create a very basic report using inline formatting (I'm aware and know how to use proc report but I want to explore inline formatting since the end result will need to be more like a mail merge document with SAS than an actual report):&lt;BR /&gt;&lt;BR /&gt;Here is my code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options pagesize=max;
OPTIONS LINESIZE = 256;
options orientation=landscape;
ods pdf file="d:\old\test.pdf" startpage=never style=minimal ;
ods escapechar='^';

data testthis2;
file print;
set allfreq;
length x $2000;
call symput('n', table);
x=catt('^{style[font_face=Calibri font_weight=bold just=left font_size=12pt color=purple]', strip(column_value2), '}');
put x;
run;
  
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I run this code, the the document is produced, but if column_value2 exceeds a certain number of characters, including the inline formatting statements, its to "break" the output and instead of seeing my formatting, the long lins end up displaying the line format.&amp;nbsp; The shorter lines display fine with the formatting.&amp;nbsp; For example, one long line in my test dataset contains the text "The quick brown fox jumped over the lazy dogs" in the variable column_value2, but it displays as follows in the report:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;^{style[font_face=Calibri font_weight=bold just=left font_size=12pt color=purple]The quick brown fox jumped over the lazy dogs}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Rather than the puple-formatted words "The quick brown fox jumped over the lazy dogs."&lt;BR /&gt;&lt;BR /&gt;I'm fairly certain this may have something to do with the linesize or pagesize as after messing with these options, I was able to get more values form the variable to display correctly.&amp;nbsp; Any ideas who I can solve this or what is causing the problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 07:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODF-PDF-RTF-Inline-formatting-with-long-lines-causing-problems/m-p/355108#M18513</guid>
      <dc:creator>statistician13</dc:creator>
      <dc:date>2017-05-02T07:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODF PDF/RTF Inline formatting with long lines causing problems</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODF-PDF-RTF-Inline-formatting-with-long-lines-causing-problems/m-p/355127#M18514</link>
      <description>&lt;P&gt;I ran this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options pagesize=max;
OPTIONS LINESIZE = 256;
options orientation=landscape;
ods pdf file="&amp;amp;sasforum\reports\test pdf.pdf" startpage=never style=minimal ;
ods escapechar='^';

data _null_;
file print;
length x $2000;
column_value2 = "The quick brown fox jumped over the lazy dogs";
x=catt('^{style[font_face=Calibri font_weight=bold just=left font_size=12pt color=purple]', strip(column_value2), '}');
put x;
run;
  
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and got the intended output file. I am using SAS version 9.4&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 04:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODF-PDF-RTF-Inline-formatting-with-long-lines-causing-problems/m-p/355127#M18514</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-05-02T04:28:52Z</dc:date>
    </item>
  </channel>
</rss>

