<?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: Preventing Line Wrapping in Report Writing Interface in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/426279#M281285</link>
    <description>&lt;P&gt;Simplest would probably be to assign a format to the offending variable(s) that will fit into the desired space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;adding&lt;/P&gt;
&lt;P&gt;Format: "$15." to the obj_format_cell code should limit the displayed text to 15 characters.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 00:21:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-01-10T00:21:23Z</dc:date>
    <item>
      <title>Preventing Line Wrapping in Report Writing Interface</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/426277#M281284</link>
      <description>&lt;P&gt;Hi, so I am producing a report with report writing interface.&amp;nbsp; The report is divided into sub regions, with tables in each.&amp;nbsp; Unfortunately, occasionally a string in a cell is too long and this causes line wrapping, making the table to large for the region, which causes the table to be omitted from the report.&amp;nbsp; Is there a table argument to prevent wrapping and simply truncate the max length for each cell?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		obj.table_start();
			obj.body_start();
				obj.row_start();
					obj.format_cell(data: "Parent Unit:", just: 'R', inhibit: 'TBLR', overrides: "font_weight=bold font_size=10pt");
					obj.format_cell(data: catx(' ', UNIT_NM_P, UNIT_TYPE_P), just: 'L', inhibit: 'TBLR', overrides: "font_size=10pt");
				obj.row_end();
				obj.row_start();
					obj.format_cell(data: "Unit Leader:", just: 'R', inhibit: 'TBLR', overrides: "font_weight=bold font_size=10pt");
					obj.format_cell(data: catx(' ', LEADER_TITLE_P, LEADER_FULL_NM_P), just: 'L', inhibit: 'TBLR', overrides: "font_size=10pt");
				obj.row_end();
				obj.row_start();
					obj.format_cell(data: "Home Phone:", just: 'R', inhibit: 'TBLR', overrides: "font_weight=bold font_size=10pt");
					obj.format_cell(data: catx(' ', LEADER_MOBILE_PHONE_COUNTRY_CD_P, LEADER_MOBILE_PHONE_NUMBER_P), just: 'L', inhibit: 'TBLR', overrides: "font_size=10pt");
				obj.row_end();
				obj.row_start();
					obj.format_cell(data: "Work Phone:", just: 'R', inhibit: 'TBLR', overrides: "font_weight=bold font_size=10pt");
					obj.format_cell(data: catx(' ', OFFICE_PHONE_COUNTRY_CD_P, LEADER_MOBILE_PHONE_NUMBER_P), just: 'L', inhibit: 'TBLR', overrides: "font_size=10pt");
				obj.row_end();
				obj.row_start();
					obj.format_cell(data: "Address:", just: 'R', inhibit: 'TBLR', overrides: "font_weight=bold font_size=10pt");
					obj.format_cell(data: HOME_ADDRESS_1_P, just: 'L', inhibit: 'TBLR', overrides: "font_size=10pt");
				obj.row_end();

...more lines...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jan 2018 23:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/426277#M281284</guid>
      <dc:creator>yus03590</dc:creator>
      <dc:date>2018-01-09T23:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Preventing Line Wrapping in Report Writing Interface</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/426279#M281285</link>
      <description>&lt;P&gt;Simplest would probably be to assign a format to the offending variable(s) that will fit into the desired space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;adding&lt;/P&gt;
&lt;P&gt;Format: "$15." to the obj_format_cell code should limit the displayed text to 15 characters.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 00:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/426279#M281285</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-01-10T00:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Preventing Line Wrapping in Report Writing Interface</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/427082#M281286</link>
      <description>&lt;P&gt;Hmm... That doesn't seem to be working. Is there a way to compress the size of the table directly?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 01:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Preventing-Line-Wrapping-in-Report-Writing-Interface/m-p/427082#M281286</guid>
      <dc:creator>yus03590</dc:creator>
      <dc:date>2018-01-12T01:47:46Z</dc:date>
    </item>
  </channel>
</rss>

