Andreas Borutta wrote:

> Is there any way to view the target of a link inside openoffice while
> hovering a link?

As OOo does not recognize "tel:" as a valid protocol and thus the
autocorrection does not automatically convert the text into a hyperlink
you can achieve that only by manually converting the text into a
hyperlink. In Writer you can do this by selecting your telephone number
and enter the "tel:" URL in the URL field in the dialog tab page
"Format-Character-Hyperlink".

>> Of course clicking this link doesn't buy you much. This is true with Firefox
>> and with IE6.

In OOo you could write an extension that intercepts the "execution" of
that hyperlink. This exception could start a dialing application in case
that application had a command line interface or an API (e.g. COM based)
to pass the telephone number. As I understood your Windows application
is able to do so. So basically you could let OOo dial for you.

I'm not sure if this would work currently or if it needed some small
code changes in OOo. From a short look into the source code I see a good
chance that it could work now already.

So if somebody wanted to write an extension...

It could be done in any programming language that allows to implement
UNO objects, means C++, Java or Python. In case of your dialing
application the language also needs access to the Windows registry as
this is the place where the path to it can be found. Again this is
possible in all the three mentioned languages.

By using our NetBeans plugin for OOo writing such extension in Java
shouldn't be a big deal for somebody who knows Java.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to