RE: Creating a hyperlink on a PDF via XFRX.

2022-08-30 Thread Richard Kaye
Want to share? 😊 

--

rk

From: ProfoxTech  On Behalf Of Alan Bourke
Sent: Friday, August 26, 2022 9:44 AM
To: profoxt...@leafe.com
Subject: Re: Creating a hyperlink on a PDF via XFRX.

Turns out it's a real pain in the ass to do this on a VFP report layout 
directly. So I knocked up a .NET COM-visible DLL which uses a third party 
library to place the relevant hyperlink onto an already-created PDF file. 

-- 
Alan Bourke
alanpbourke (at) fastmail (dot) fm

___
Post Messages to: mailto:ProFox@leafe.com
Subscription Maintenance: 
https://protect-us.mimecast.com/s/venhCYEQnyCom8RIM5LIv?domain=mail.leafe.com
OT-free version of this list: 
https://protect-us.mimecast.com/s/QtfECZ6wozhnAGZtPQrCE?domain=mail.leafe.com
Searchable Archive: 
https://protect-us.mimecast.com/s/KB2GC1wYnGUwxRyIy4s0i?domain=leafe.com
This message: 
https://protect-us.mimecast.com/s/ivg7C2kgo7SoWjqI0GE9d?domain=leafe.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr10mb3407a5e6e49049682b4ced0fd2...@mn2pr10mb3407.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Re: Creating a hyperlink on a PDF via XFRX.

2022-08-26 Thread Alan Bourke
Turns out it's a real pain in the ass to do this on a VFP report layout 
directly. So I knocked up a .NET COM-visible DLL which uses a third party 
library to place the relevant hyperlink onto an already-created PDF file. 

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/ef0b613f-2ba3-4819-a2e9-68e548af9...@www.fastmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Creating a hyperlink on a PDF via XFRX.

2022-08-23 Thread Alan Bourke
Thanks.

I will look into those options. I also considered having a placeholder URL and 
then postprocessing the PDF file as hyperlinks seem to be plain text inside 
them.

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/eab638fc-344f-46c4-82ec-7a0856331...@www.fastmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


AW: Creating a hyperlink on a PDF via XFRX.

2022-08-23 Thread Jürgen Wondzinski
Hi Alan,

since the Comments field of a Report-object doesn't get preprocessed by
XFRX, your various attempts cannot get you the expected results.

You could either modify the XFRX sourcecode (if you have bought the full
package), or contact Martina via supp...@eqeus.com to add that
functionality.

I also seem to remember, that you could rewrite the content of the
reportfile fields on the fly with some trick, thus you could rewrite the
content before it gets processed by XFRX. 

wOOdy


-Ursprüngliche Nachricht-
Von: ProFox  Im Auftrag von Alan Bourke
Gesendet: Dienstag, 23. August 2022 17:45
An: profoxt...@leafe.com
Betreff: Creating a hyperlink on a PDF via XFRX.

I'm reporting to PDF using XFRX. I need to create a hyperlink to an internet
URL. 

The method XFRX uses for this is via a string in the Comments field of a
report expression, so for example if I add a report expression with value =
"Click Here"  and put this in the comments:

#UR A HREF="https://www.rte.ie"; <https://tinyurl.com/yfzyu2s9>

Then the created PDF will have a clickable "Click Here" link to that site.
However I need to take the URL from a table field, i.e. not a static string,
but I can't get it to work. I've tried:

#UR A HREF=#+mytable.myfield
#UR A HREF=mytable.myfield
#UR A HREF=eval(mytable.myfield)

Has anyone ever done this ?


-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/031201d8b721$2ee234d0$8ca69e70$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Creating a hyperlink on a PDF via XFRX.

2022-08-23 Thread Richard Kaye
Have you tried macro expansion?

I literally just started using this XFRX feature, and asked Martina if it was 
possible to also pass a target attribute when exporting to PDF, but the answer 
to that was no, sadly. However, if you output to HTML instead of PDF there are 
more options and she did indicate she could add the target attribute as 
something supported in direct HTML output. BTW you can also use the FRX user 
data field instead of the comments.

--

rk

From: ProfoxTech  On Behalf Of Alan Bourke
Sent: Tuesday, August 23, 2022 11:45 AM
To: profoxt...@leafe.com
Subject: Creating a hyperlink on a PDF via XFRX.

I'm reporting to PDF using XFRX. I need to create a hyperlink to an internet 
URL.

The method XFRX uses for this is via a string in the Comments field of a report 
expression, so for example if I add a report expression with value = "Click 
Here" and put this in the comments:

#UR A 
HREF="https://www.rte.ie<https://protect-us.mimecast.com/s/VFUxC9rpyDTVYvYs0htmW?domain=rte.ie>"
 
<https://tinyurl.com/yfzyu2s9<https://protect-us.mimecast.com/s/A_5fC0R2m0I0rKrhrEoHW?domain=tinyurl.com>>

Then the created PDF will have a clickable "Click Here" link to that site. 
However I need to take the URL from a table field, i.e. not a static string, 
but I can't get it to work. I've tried:

#UR A HREF=#+mytable.myfield
#UR A HREF=mytable.myfield
#UR A HREF=eval(mytable.myfield)

Has anyone ever done this ?


--
Alan Bourke
alanpbourke (at) fastmail (dot) fm



--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/mn2pr10mb3407571a9bda4ee3c292e586d2...@mn2pr10mb3407.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Creating a hyperlink on a PDF via XFRX.

2022-08-23 Thread Alan Bourke
I'm reporting to PDF using XFRX. I need to create a hyperlink to an internet 
URL. 

The method XFRX uses for this is via a string in the Comments field of a report 
expression, so for example if I add a report expression with value = "Click 
Here"  and put this in the comments:

#UR A HREF="https://www.rte.ie"; 

Then the created PDF will have a clickable "Click Here" link to that site. 
However I need to take the URL from a table field, i.e. not a static string, 
but I can't get it to work. I've tried:

#UR A HREF=#+mytable.myfield
#UR A HREF=mytable.myfield
#UR A HREF=eval(mytable.myfield)

Has anyone ever done this ?


-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/a05f8d3a-f5c3-4ddc-9d44-cade907b7...@www.fastmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.