<?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: Modifying SAS Titles in PDF Destination in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738647#M230445</link>
    <description>&lt;P&gt;Unfortunately the report is confidential so I can't even share the titles with you, but I'll try to describe the issue better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 20 characters of text in my title2. When I use "underline" in the title statement, it underlines those 20 characters. I'd like the line to actually extend across the entire page (not just under the text). My understanding is that I need to change the border properties of the table that is generated when it writes to PDF.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not worried about the rest of the titles (i.e., title 3 through the rest), I'm only interested in title1 and title2. (technically, just changing the borders for the title2 part).&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 17:01:31 GMT</pubDate>
    <dc:creator>frankie_b</dc:creator>
    <dc:date>2021-05-03T17:01:31Z</dc:date>
    <item>
      <title>Modifying SAS Titles in PDF Destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738607#M230433</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to add a bottom border to the title container for my report going to the PDF destination. I'm using proc template to do this, but what I thought would work (below) is not (no borders are being produced at all).&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to take this:&lt;/P&gt;&lt;P&gt;Title 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;Title 2&lt;/P&gt;&lt;P&gt;and convert it to this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Title1&lt;/P&gt;&lt;P&gt;&lt;U&gt;Title2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I have also&amp;nbsp; tried the "underline" option in the title statement, but that only works so long as you have text in the field. I want the border to span the entire width of the page, and some of my pages are in portrait and others in landscape orientation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample SAS code that I've tried using:&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define style mystyle;&lt;/P&gt;&lt;P&gt;&amp;nbsp; parent=styles.statistical;&lt;/P&gt;&lt;P&gt;&amp;nbsp; style SysTitleandFooterContainer from SysTitleandFooterContainer/&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; frame=below rules=rows;&lt;/P&gt;&lt;P&gt;[More code below this]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 14:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738607#M230433</guid>
      <dc:creator>frankie_b</dc:creator>
      <dc:date>2021-05-03T14:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying SAS Titles in PDF Destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738637#M230443</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/380662"&gt;@frankie_b&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to add a bottom border to the title container for my report going to the PDF destination. I'm using proc template to do this, but what I thought would work (below) is not (no borders are being produced at all).&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to take this:&lt;/P&gt;
&lt;P&gt;Title 1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Title 2&lt;/P&gt;
&lt;P&gt;and convert it to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Title1&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Title2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, I have also&amp;nbsp; tried the "underline" option in the title statement, but that only works so long as you have text in the field. I want the border to span the entire width of the page, and some of my pages are in portrait and others in landscape orientation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample SAS code that I've tried using:&lt;/P&gt;
&lt;P&gt;proc template;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; define style mystyle;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; parent=styles.statistical;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; style SysTitleandFooterContainer from SysTitleandFooterContainer/&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; frame=below rules=rows;&lt;/P&gt;
&lt;P&gt;[More code below this]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your comment about "only works so long as you have text in the field" means that you may have issues with anything that does not have text in a Title2 field.&lt;/P&gt;
&lt;P&gt;I think you may want to provide an actual example of what you are trying to do with an "underline" under Title2 when there is no Title2 text.&lt;/P&gt;
&lt;P&gt;Also, what would you expect to have happen when Title3 through Title9 text appear?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you compiled the template were there any notes or warnings?&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 16:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738637#M230443</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-03T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying SAS Titles in PDF Destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738647#M230445</link>
      <description>&lt;P&gt;Unfortunately the report is confidential so I can't even share the titles with you, but I'll try to describe the issue better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have about 20 characters of text in my title2. When I use "underline" in the title statement, it underlines those 20 characters. I'd like the line to actually extend across the entire page (not just under the text). My understanding is that I need to change the border properties of the table that is generated when it writes to PDF.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not worried about the rest of the titles (i.e., title 3 through the rest), I'm only interested in title1 and title2. (technically, just changing the borders for the title2 part).&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 17:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738647#M230445</guid>
      <dc:creator>frankie_b</dc:creator>
      <dc:date>2021-05-03T17:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying SAS Titles in PDF Destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738659#M230452</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I don't think you need a style template. I followed this Tech Support note:&amp;nbsp;&lt;A href="https://support.sas.com/kb/46/383.html" target="_blank"&gt;https://support.sas.com/kb/46/383.html&lt;/A&gt;&amp;nbsp; and got the desired results without a STYLE template:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1620061053917.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58968iBB9187D2D524C099/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1620061053917.png" alt="Cynthia_sas_0-1620061053917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But if you want to do it with a STYLE template, then you need a different style element. I used TitlesAndFooters in this example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1620063204111.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58972iA04C0F3633CD79B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1620063204111.png" alt="Cynthia_sas_1-1620063204111.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 17:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738659#M230452</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-05-03T17:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying SAS Titles in PDF Destination</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738786#M230502</link>
      <description>Thanks Cynthia, this worked!</description>
      <pubDate>Tue, 04 May 2021 05:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modifying-SAS-Titles-in-PDF-Destination/m-p/738786#M230502</guid>
      <dc:creator>frankie_b</dc:creator>
      <dc:date>2021-05-04T05:39:29Z</dc:date>
    </item>
  </channel>
</rss>

