<?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 Overlaying text within a table area in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Overlaying-text-within-a-table-area/m-p/5020#M2018</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
We are producing PDF output, from the mainframe, using ODS and have noticed that putting Text into a previously defined table area causes the frame border to 'fragment'. Due to the way in which the code is generated it isn't possible (at the moment) to have the text as a cell within the table.&lt;BR /&gt;
&lt;BR /&gt;
It's difficult to describe the problem without a graphic but basically the first text character causes a gap in the bottom border. &lt;BR /&gt;
&lt;BR /&gt;
NOTE: The dot leader has been put in so that text is positioned in the correct spot.&lt;BR /&gt;
&lt;BR /&gt;
eg.  &lt;BR /&gt;
........... Text overlayed here                                                            &lt;BR /&gt;
_______ _____________________________________________&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I suspect that it may be due to the height specification for the text (trying to be as generic as possible without calculating a font height).&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have any ideas on how to correct this so that the frame border remains intact?&lt;BR /&gt;
&lt;BR /&gt;
Code for box and text follows:&lt;BR /&gt;
&lt;BR /&gt;
/* Box template for Address */&lt;BR /&gt;
&lt;BR /&gt;
obj.region(x: "140.002mm", y: "004.364mm",&lt;BR /&gt;
             width: "45.000mm", height: "13.500mm");&lt;BR /&gt;
&lt;BR /&gt;
obj.table_start(name: "Template",&lt;BR /&gt;
          overrides: "frame=box&lt;BR /&gt;
                      background=_undef_&lt;BR /&gt;
                      rules=all" );&lt;BR /&gt;
&lt;BR /&gt;
obj.row_start();&lt;BR /&gt;
    obj.format_cell(text: " ",&lt;BR /&gt;
                    overrides: "cellheight=13.5mm&lt;BR /&gt;
                                cellwidth=45mm&lt;BR /&gt;
                                background=_undef_");&lt;BR /&gt;
obj.row_end();&lt;BR /&gt;
&lt;BR /&gt;
obj.table_end();&lt;BR /&gt;
&lt;BR /&gt;
obj.region(x: "143.001mm", y: "5.380mm",&lt;BR /&gt;
             width: "0.000mm", height: "284.625mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "Testing overlay";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "8.396mm",&lt;BR /&gt;
             width: "0.000mm", height: "281.609mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "of text where tables";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "11.413mm",&lt;BR /&gt;
             width: "0.000mm", height: "278.592mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "have been defined";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "14.429mm",&lt;BR /&gt;
             width: "0.000mm", height: "275.576mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "for pdf output";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");</description>
    <pubDate>Tue, 09 Oct 2007 23:40:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-10-09T23:40:06Z</dc:date>
    <item>
      <title>Overlaying text within a table area</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Overlaying-text-within-a-table-area/m-p/5020#M2018</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
We are producing PDF output, from the mainframe, using ODS and have noticed that putting Text into a previously defined table area causes the frame border to 'fragment'. Due to the way in which the code is generated it isn't possible (at the moment) to have the text as a cell within the table.&lt;BR /&gt;
&lt;BR /&gt;
It's difficult to describe the problem without a graphic but basically the first text character causes a gap in the bottom border. &lt;BR /&gt;
&lt;BR /&gt;
NOTE: The dot leader has been put in so that text is positioned in the correct spot.&lt;BR /&gt;
&lt;BR /&gt;
eg.  &lt;BR /&gt;
........... Text overlayed here                                                            &lt;BR /&gt;
_______ _____________________________________________&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I suspect that it may be due to the height specification for the text (trying to be as generic as possible without calculating a font height).&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have any ideas on how to correct this so that the frame border remains intact?&lt;BR /&gt;
&lt;BR /&gt;
Code for box and text follows:&lt;BR /&gt;
&lt;BR /&gt;
/* Box template for Address */&lt;BR /&gt;
&lt;BR /&gt;
obj.region(x: "140.002mm", y: "004.364mm",&lt;BR /&gt;
             width: "45.000mm", height: "13.500mm");&lt;BR /&gt;
&lt;BR /&gt;
obj.table_start(name: "Template",&lt;BR /&gt;
          overrides: "frame=box&lt;BR /&gt;
                      background=_undef_&lt;BR /&gt;
                      rules=all" );&lt;BR /&gt;
&lt;BR /&gt;
obj.row_start();&lt;BR /&gt;
    obj.format_cell(text: " ",&lt;BR /&gt;
                    overrides: "cellheight=13.5mm&lt;BR /&gt;
                                cellwidth=45mm&lt;BR /&gt;
                                background=_undef_");&lt;BR /&gt;
obj.row_end();&lt;BR /&gt;
&lt;BR /&gt;
obj.table_end();&lt;BR /&gt;
&lt;BR /&gt;
obj.region(x: "143.001mm", y: "5.380mm",&lt;BR /&gt;
             width: "0.000mm", height: "284.625mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "Testing overlay";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "8.396mm",&lt;BR /&gt;
             width: "0.000mm", height: "281.609mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "of text where tables";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "11.413mm",&lt;BR /&gt;
             width: "0.000mm", height: "278.592mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "have been defined";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");&lt;BR /&gt;
&lt;BR /&gt;
  obj.region(x: "143.001mm", y: "14.429mm",&lt;BR /&gt;
             width: "0.000mm", height: "275.576mm");&lt;BR /&gt;
  longtext = ltxini;&lt;BR /&gt;
  finaltxt = ltxini;&lt;BR /&gt;
  longtext = "for pdf output";&lt;BR /&gt;
  finaltxt = trim(longtext);&lt;BR /&gt;
    obj.format_text(text: finaltxt,&lt;BR /&gt;
                    overrides: "font=fonts('slf006')");</description>
      <pubDate>Tue, 09 Oct 2007 23:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Overlaying-text-within-a-table-area/m-p/5020#M2018</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-09T23:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Overlaying text within a table area</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Overlaying-text-within-a-table-area/m-p/5021#M2019</link>
      <description>Hi:&lt;BR /&gt;
  This syntax is experimental in SAS 9.1.3 -- so, unless people are experimenting, I think that only Tech Support will be able to help you with this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 10 Oct 2007 00:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Overlaying-text-within-a-table-area/m-p/5021#M2019</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-10T00:33:41Z</dc:date>
    </item>
  </channel>
</rss>

