From what I understood, the RTF Import feature only supports the 
features of the StyledText Class.
[New] [All] StyledText: A new read/write property "RTFData as String"
            which allows cross-platform RTF generation and parsing. The
            parser only supports features found in the StyledText class.
            (Feedback ID: ggtkegot)

So what I think is happening is that when you use a StyledText Field and 
export that to RTF, you should not have any problems loading the RTF 
file back into the StyledText field. What will most likely not work is 
loading a random RTF File. For that you need a full RTF parser, and from 
what I gather from the release notes, this is not a full parser, but  a 
subset. If anyone has ever looked at the full specs for RTF, it is easy 
to understand why Real started with a subset. Maybe they'll expand on it 
in the future. The full specs for RTF can be found at 
<http://msdn2.microsoft.com/en-us/library/aa140277(office.10).aspx> (or 
at 
<http://www.microsoft.com/downloads/details.aspx?familyid=DD422B8D-FF06-4207-B476-6B5396A18A2B&displaylang=en>
 
for the Word 2007 RTF specs). And yes Microsoft regularly changes the 
specs, so it's a moving target.

Dirk Cleenwerck
Chief programmer
Useitgroup NV

Brendan Murphy schreef:
> I would like warn those who are intending to use the new RTF
> import feature in the StyledText object to be careful. Their RTF
> parser is not robust and will crash and burn given the right input
> (see feedback report "xfqdvyyl"). If you intend to import RTF data
> from arbitrary sources such as other word processors, there is a
> significant probability that it may crash your application. If
> can't control the source of the input RTF, then you are rolling
> the dice. So buyer beware.
>
>   

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to