Embedded mailto:

Discuss the word processor

Embedded mailto:

Postby drsos » Tue Sep 14, 2010 10:12 am

I am creating a document in writer. In writer there is no hyperlink on my email. When I export my document into pdf using the export as pdf option, my email becomes a mailto: link.

How do I stop and fix this? I just want the email to appear as text in the pdf export.

Thank you.
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby Zizi64 » Tue Sep 14, 2010 1:46 pm

I just want the email to appear as text in the pdf export.

What do you want to see exactly in the PDF file:
a clickable email address without "mailto:" prefix string,
or
only the (not clickable, pure text) mail address string?
Tibor Kovacs, Hungary; AOO4.0.1, LO3.6.4, LO4.2.2 on WinXPprof.SP3
Zizi64
Volunteer
 
Posts: 1784
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Embedded mailto:

Postby rudolfo » Tue Sep 14, 2010 3:11 pm

My understanding is that the "mailto:" thing is responsable for the email address being clickable or not.
I did just a test case:
  • typed in a mail address
  • auto correction modified it to a hyperlink (with the tooltip saying: "Ctrl-Click to ...")
  • Checked in the Stylist on the character styles page that "Internet Link" is an applied style
  • Select the email address and did Ctrl-M for Default Formatting
  • blue underlined text transforms into standard black, no tooltip anymore, either
  • exported to pdf (without any extra changes in the export option dialog)
My pdf file showed a blank mail address, nothing clickable.

Did you type your document from scratch? Or was it sometimes saved in .doc format? Or converted from .doc?
In any case you should give it a go for Ctrl-M.
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
rudolfo
Volunteer
 
Posts: 1416
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 5:55 pm

Zizi64 wrote:
I just want the email to appear as text in the pdf export.

What do you want to see exactly in the PDF file:
a clickable email address without "mailto:" prefix string,
or
only the (not clickable, pure text) mail address string?


Just the mail address string, not clickable. For example, a.smith@hotmail.com. On the pdf export a.smith@hotmail.com becomes a clickable mailto:. I don't want this. I just want the user to copy and past if they want to contact me. Mail address as regular text .
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 6:04 pm

rudolfo wrote:My understanding is that the "mailto:" thing is responsable for the email address being clickable or not.
I did just a test case:
  • typed in a mail address
  • auto correction modified it to a hyperlink (with the tooltip saying: "Ctrl-Click to ...")
  • Checked in the Stylist on the character styles page that "Internet Link" is an applied style
  • Select the email address and did Ctrl-M for Default Formatting
  • blue underlined text transforms into standard black, no tooltip anymore, either
  • exported to pdf (without any extra changes in the export option dialog)
My pdf file showed a blank mail address, nothing clickable.

Did you type your document from scratch? Or was it sometimes saved in .doc format? Or converted from .doc?
In any case you should give it a go for Ctrl-M.


I tested this in a new blank document. In the pdf export when the mouse passes over my email it's a click able mailto:. I want pure text, no mailto:.
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby Zizi64 » Tue Sep 14, 2010 6:27 pm

Maybe it is a workaround methode:
see the attachements:

I exported an example document:
email_export_as_pdf.pdf
(15.48 KiB) Downloaded 78 times


and I PRINTED with a freeware virtual pdf printer software (named: PDFCreator):
email_print_PDFCreator.pdf
(3.17 KiB) Downloaded 66 times


My PDF viewer: Foxit Reader
Last edited by Zizi64 on Tue Sep 14, 2010 6:38 pm, edited 1 time in total.
Tibor Kovacs, Hungary; AOO4.0.1, LO3.6.4, LO4.2.2 on WinXPprof.SP3
Zizi64
Volunteer
 
Posts: 1784
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Embedded mailto:

Postby Zizi64 » Tue Sep 14, 2010 6:37 pm

OR (another idea):

You need to REMOVE HYPERLINK from email address:
Remove hyperlink.png

The PDF export procedure not modified the "link content" of "purged" email address (for me).
If you want to colored letters with underline, you must to format it manually.
email2.pdf
(15.3 KiB) Downloaded 76 times


My PDF viewer: Foxit Reader
Tibor Kovacs, Hungary; AOO4.0.1, LO3.6.4, LO4.2.2 on WinXPprof.SP3
Zizi64
Volunteer
 
Posts: 1784
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Embedded mailto:

Postby Bill » Tue Sep 14, 2010 6:54 pm

drsos wrote:
Zizi64 wrote:
I just want the email to appear as text in the pdf export.

What do you want to see exactly in the PDF file:
a clickable email address without "mailto:" prefix string,
or
only the (not clickable, pure text) mail address string?


Just the mail address string, not clickable. For example, a.smith@hotmail.com. On the pdf export a.smith@hotmail.com becomes a clickable mailto:. I don't want this. I just want the user to copy and past if they want to contact me. Mail address as regular text .

I don't know if there's anything you can do about it. The addresses are exported as text by OOo. The PDF reader is recognizing them as email addresses and creating the links. I tested an ODT file with some email addresses as links and the same addresses as text. When exported to PDF and opened with Adobe Reader or Foxit Reader, all addresses became links. When the same PDF was opened with Nitro PDF Reader, only the links exported from OOo became links in Nitro PDF Reader--the others remained ordinary text.
Bill
 
Posts: 3322
Joined: Sat Nov 24, 2007 6:48 am

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 7:06 pm

Zizi64 wrote:OR (another idea):

You need to REMOVE HYPERLINK from email address:
The attachment Remove hyperlink.png is no longer available

The PDF export procedure not modified the "link content" of "purged" email address (for me).
If you want to colored letters with underline, you must to format it manually.
The attachment email2.pdf is no longer available


My PDF viewer: Foxit Reader



This does not work.

See attached example.
Attachments
example.pdf
(26.27 KiB) Downloaded 63 times
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 7:11 pm

Bill wrote:
I don't know if there's anything you can do about it. The addresses are exported as text by OOo. The PDF reader is recognizing them as email addresses and creating the links. I tested an ODT file with some email addresses as links and the same addresses as text. When exported to PDF and opened with Adobe Reader or Foxit Reader, all addresses became links. When the same PDF was opened with Nitro PDF Reader, only the links exported from OOo became links in Nitro PDF Reader--the others remained ordinary text.


This answers my question of whether it was writer or pdf reader turning the something@hotmail.com format into automatic mailto: link.
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby Zizi64 » Tue Sep 14, 2010 7:12 pm

See attached example.

wich attached example?
In my email2.pdf file the EMAIL ADDRESS is not clickable, with black color, non-underlided characters.
That I created by "removing the hyperlink", and "exporting as pdf".

 Edit: In Your example file (now I see it) the "something@hotmail.com" is not clickable (in my pdf viewer: Foxit Reader) 
Tibor Kovacs, Hungary; AOO4.0.1, LO3.6.4, LO4.2.2 on WinXPprof.SP3
Zizi64
Volunteer
 
Posts: 1784
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 7:25 pm

Zizi64 wrote:
See attached example.

wich attached example?
In my email2.pdf file the EMAIL ADDRESS is not clickable, with black color, non-underlided characters.
That I created by "removing the hyperlink", and "exporting as pdf".

 Edit: In Your example file (now I see it) the "something@hotmail.com" is not clickable (in my pdf viewer: Foxit Reader) 


I just tested it in foxit reader it is a click-able mailto: link on my. I think the pdf readers, just recognized the something@hotmail.com format as automatic links.

Bill wrote:
The addresses are exported as text by OOo. The PDF reader is recognizing them as email addresses and creating the links.


This is exactly what is happening here. Any solution?
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby rudolfo » Tue Sep 14, 2010 7:51 pm

Seems like it is really a conversion that's happening inside the pdf reader.
I downloaded drsos' example.pdf and opened it in Acrobat Reader (6.0) and every email address appears as plain text. (This is just to add to the list of well behaved pdf readers.)
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
rudolfo
Volunteer
 
Posts: 1416
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 7:57 pm

rudolfo wrote:Seems like it is really a conversion that's happening inside the pdf reader.
I downloaded drsos' example.pdf and opened it in Acrobat Reader (6.0) and every email address appears as plain text. (This is just to add to the list of well behaved pdf readers.)


Plain text that becomes a mailto: click-able when you move the mouse over.
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby Bill » Tue Sep 14, 2010 8:08 pm

drsos wrote:
rudolfo wrote:Seems like it is really a conversion that's happening inside the pdf reader.
I downloaded drsos' example.pdf and opened it in Acrobat Reader (6.0) and every email address appears as plain text. (This is just to add to the list of well behaved pdf readers.)


Plain text that becomes a mailto: click-able when you move the mouse over.

There's nothing OOo can do about it. That's the way your PDF reader works. You need to take this up with the author of your PDF reader.
Bill
 
Posts: 3322
Joined: Sat Nov 24, 2007 6:48 am

Re: Embedded mailto:

Postby Bill » Tue Sep 14, 2010 8:23 pm

Zizi64 wrote:
See attached example.

wich attached example?
In my email2.pdf file the EMAIL ADDRESS is not clickable, with black color, non-underlided characters.
That I created by "removing the hyperlink", and "exporting as pdf".

 Edit: In Your example file (now I see it) the "something@hotmail.com" is not clickable (in my pdf viewer: Foxit Reader) 

When I open your example document in Foxit Readoer or Adobe Reader, the email address is formatted as text, but it is clickable. In Nitro PDF Reader, the email address is not clickable.
Bill
 
Posts: 3322
Joined: Sat Nov 24, 2007 6:48 am

Re: Embedded mailto:

Postby drsos » Tue Sep 14, 2010 8:40 pm

Bill wrote:When I open your example document in Foxit Readoer or Adobe Reader, the email address is formatted as text, but it is clickable. In Nitro PDF Reader, the email address is not clickable.


Yes, the email address is plan text, but it is click-able. The click-able part is what I am trying to remove.

I tried WordPad, the samething happens, so this is something part of how the pdf program reads the document.
Open office 3, Windows
drsos
 
Posts: 8
Joined: Tue Sep 14, 2010 10:05 am

Re: Embedded mailto:

Postby Hagar Delest » Tue Sep 14, 2010 9:20 pm

Listen, the clickable behavior comes from the PDF reader, not the file itself.
Check the advanced configuration of your PDF reader, it may have an option to disable this automatic recognition.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Embedded mailto:

Postby Bill » Tue Sep 14, 2010 10:00 pm

drsos wrote:
Bill wrote:When I open your example document in Foxit Readoer or Adobe Reader, the email address is formatted as text, but it is clickable. In Nitro PDF Reader, the email address is not clickable.


Yes, the email address is plan text, but it is click-able. The click-able part is what I am trying to remove.

I tried WordPad, the samething happens, so this is something part of how the pdf program reads the document.

I think everyone understands by now that you want to remove the clickable part. It can't be done. Forget about it. You have no control over the PDF readers that others use.
Bill
 
Posts: 3322
Joined: Sat Nov 24, 2007 6:48 am


Return to Writer

Who is online

Users browsing this forum: Google [Bot] and 18 guests