I did the obvious thing and moved the \up7 and \nosupersub outside the brackets
and it works in both OpenOffice and Word
\up7 {
{\field
{\*\fldinst HYPERLINK "#PIdstr-204" }
{\fldrslt \ul\ulc0\fs16 \b 204 }
}
}\nosupersub
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Les Stokes<mailto:[email protected]>
Sent: Friday, 23 July 2021 4:02 PM
To: [email protected]<mailto:[email protected]>
Subject: RTF Hyperlink with superscript
When I programmatically generate an rtf file with embedded Hyperlinks and try
to superscript the printed portion (as below), the ‘\up7’ command does not work
when I open the file with OpenOffice Writer. (It does work when opened with MS
Word.)
{
{\field
{\*\fldinst HYPERLINK "#PIdstr-204" }
{\fldrslt \ul\ulc0\fs16 \b\up7 204\nosupersub }
}
}
Is there a work around for this?
The other formatting commands \b \ul are displayed ok.
Les Sokes
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10