<?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 PDF internal hyperlink in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760235#M25214</link>
    <description>&lt;P&gt;I searched in community and find the following code to create the hyperlink in pdf that can link to a external url of any website.&lt;/P&gt;&lt;P&gt;OPTION NODATE NONUMBER;&lt;BR /&gt;OPTIONS PAPERSIZE=A4;&lt;BR /&gt;OPTIONS TOPMARGIN=0.5 in BOTTOMMARGIN=0.5 in LEFTMARGIN=0.5 in RIGHTMARGIN=0.5 in;&lt;BR /&gt;ODS NORESULTS;&lt;BR /&gt;ODS PDF FILE = "E:\Desktop\TEST.pdf" dpi=1800;&lt;/P&gt;&lt;P&gt;data _NULL_;&lt;BR /&gt;set SASHELP.CLASS(obs=1);&lt;BR /&gt;declare odsout obj();&lt;BR /&gt;obj.format_text( data: "Information:",&lt;BR /&gt;overrides: " just=left color=green font_weight=bold font_size=8pt ");&lt;BR /&gt;obj.href(data:&lt;BR /&gt;"Adresse", url: '&lt;A href="https://www.test.fr/" target="_blank" rel="noopener"&gt;https://www.test.fr/&lt;/A&gt;', inline_attr:'color=blue');&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;But what I want is adding some&amp;nbsp;internal and not external hyperlink above for a pdf like TOC(table of content) in the first page of a present pdf which has already existed. My confusion is how to add a internal and local hyperlink for a preexisting pdf.&lt;/P&gt;&lt;P&gt;3Q&lt;/P&gt;</description>
    <pubDate>Sun, 08 Aug 2021 13:09:54 GMT</pubDate>
    <dc:creator>woshibug</dc:creator>
    <dc:date>2021-08-08T13:09:54Z</dc:date>
    <item>
      <title>PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760235#M25214</link>
      <description>&lt;P&gt;I searched in community and find the following code to create the hyperlink in pdf that can link to a external url of any website.&lt;/P&gt;&lt;P&gt;OPTION NODATE NONUMBER;&lt;BR /&gt;OPTIONS PAPERSIZE=A4;&lt;BR /&gt;OPTIONS TOPMARGIN=0.5 in BOTTOMMARGIN=0.5 in LEFTMARGIN=0.5 in RIGHTMARGIN=0.5 in;&lt;BR /&gt;ODS NORESULTS;&lt;BR /&gt;ODS PDF FILE = "E:\Desktop\TEST.pdf" dpi=1800;&lt;/P&gt;&lt;P&gt;data _NULL_;&lt;BR /&gt;set SASHELP.CLASS(obs=1);&lt;BR /&gt;declare odsout obj();&lt;BR /&gt;obj.format_text( data: "Information:",&lt;BR /&gt;overrides: " just=left color=green font_weight=bold font_size=8pt ");&lt;BR /&gt;obj.href(data:&lt;BR /&gt;"Adresse", url: '&lt;A href="https://www.test.fr/" target="_blank" rel="noopener"&gt;https://www.test.fr/&lt;/A&gt;', inline_attr:'color=blue');&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;But what I want is adding some&amp;nbsp;internal and not external hyperlink above for a pdf like TOC(table of content) in the first page of a present pdf which has already existed. My confusion is how to add a internal and local hyperlink for a preexisting pdf.&lt;/P&gt;&lt;P&gt;3Q&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 13:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760235#M25214</guid>
      <dc:creator>woshibug</dc:creator>
      <dc:date>2021-08-08T13:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760358#M25218</link>
      <description>&lt;P&gt;Here is an example :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='c:\temp\temp.pdf';

title link='#xxxxx' 'whatever it is';
proc report data=sashelp.class nowd;
compute age;
if age.sum=12 then call define(_col_,'url','#yyyyy');
endcomp;
run;


ods anchor='xxxxx';
title 'heart';
proc print data=sashelp.heart(obs=10);run;

ods anchor='yyyyy';
title 'cars';
proc print data=sashelp.cars(obs=10);run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760358#M25218</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-09T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760512#M25219</link>
      <description>3q，but your example above is also create a pdf，it is not a preexisting pdf.</description>
      <pubDate>Tue, 10 Aug 2021 02:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760512#M25219</guid>
      <dc:creator>woshibug</dc:creator>
      <dc:date>2021-08-10T02:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760586#M25223</link>
      <description>You want edit already exist pdf file ?  I doubt sas have such ability .</description>
      <pubDate>Tue, 10 Aug 2021 12:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/760586#M25223</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-10T12:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/761571#M25241</link>
      <description>I create the hyperlink into RTF format document，then convert it into pdf and the hyperlink can work normal. but when&lt;BR /&gt;the data is very big and I cant get the combined RTF,so I transform lots of single rtf into single pdf,then use some app to combine pdf,then the original hyperlink can‘t work.</description>
      <pubDate>Sat, 14 Aug 2021 12:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/761571#M25241</guid>
      <dc:creator>woshibug</dc:creator>
      <dc:date>2021-08-14T12:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: PDF internal hyperlink</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/761666#M25242</link>
      <description>"then use some app to combine pdf,then the original hyperlink can‘t work."&lt;BR /&gt;&lt;BR /&gt;That should be . sas doesn't have much control on PDF. especially for combined pdf .</description>
      <pubDate>Sun, 15 Aug 2021 10:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-internal-hyperlink/m-p/761666#M25242</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-15T10:55:21Z</dc:date>
    </item>
  </channel>
</rss>

