HTML is to <a href="x">y</a>
as RTF is to _______
?
views:
486answers:
2
A:
try the example shown here: http://itext-general.2136553.n4.nabble.com/Creating-a-hyperlink-in-RTF-td2137432.html#a2137432
ferrari fan
2010-05-17 15:55:02
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
2010-05-17 15:55:45
Yikes..........
Robert Harvey
2010-05-17 15:57:45
Check this out:http://www.biblioscape.com/rtf15_spec.htmYa I know its ugly.
Jack
2010-05-17 15:58:07
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
2010-05-17 16:02:45
Ya I just copied pasted out of notepad - not positive of exactly which part is the one needed - but thats most likely it.
Jack
2010-05-17 16:07:07