views:

486

answers:

2

HTML is to <a href="x">y</a> as RTF is to _______?

A: 

I dont know much about what your trying to do, but If I open and save an rtf document, with just the http://www.google.com link in it, and view it with notepad I get this:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}} {\colortbl ;\red0\green0\blue255;} {*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22{\field{*\fldinst{HYPERLINK "http://www.google.com"}}{\fldrslt{\ul\cf1 http://www.google.com}}}\f0\fs22\par \par }

Jack
Yikes..........
Robert Harvey
Check this out:http://www.biblioscape.com/rtf15_spec.htmYa I know its ugly.
Jack
Yeah, that's typical Word-crud though, isn't it... I'd imagine the `{\field{*\fldinst{HYPERLINK "http://www.google.com"}}{\fldrslt{http://www.google.com}}` bit is the only actually-important part.
bobince
Ya I just copied pasted out of notepad - not positive of exactly which part is the one needed - but thats most likely it.
Jack