I have been running some tests to check the insertion of RTF in an Aspose.Words document and have discovered that it does not seem to recognise the following RTF control words:
- double strikethrough: \striked1
- underline color: \ul\ulc1 with a suitable color table set up
- scaling: \charscalex200
- font border settings eg. \chbrdr\brdrs\brdrw40\brdrcf1\brsp0
- font shading settings eg. \chshdng2000\chcbpat1\chcfpat2
The test RTF code I am inserting is:
{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica; \f1\froman Tms Rmn; }{\colortbl;\red255\green0\blue0;\red0\green255\blue0;\red0\green0\blue255;}\f0\pard
012345{[***CODE***] 67}89\par
}
where [***CODE***] is replaced with one of the elements listed above.
With the exception of the underline color test, I get a single run inserted instead of the expected three separate runs with different settings.
In the case of the underline color test, I do get three runs, with the middle one underlined, but the underline color is not set up correctly.
I have checked that the RTF is valid by saving it to file and opening it in Word/WordPad.