It has been a while since I looked at those classes, but I'm pretty sure that 
it can be done via the existing API. We could potentially use getValue() and 
putValue() to store the formatted data.

On Jun 17, 2010, at 11:50 AM, Noel Grandin wrote:

> Greg Brown wrote:
>> Re: maintaining styles - I'm not terribly concerned about maintaining styles 
>> embedded in other formats such as RTF. As you noted, that would be a pretty 
>> tall order, especially cross-platform. However, if we put Pivot-formatted 
>> text on the clipboard (either instances of the text DOM classes, or XML 
>> containing a serialized form of it), pasting styles should be a non-issue. 
>> So copy/pasting formatted styles within a Pivot app would still work.
>> 
>> 
> Sounds like a good idea, but the Pivot clipboard classes don't provide
> the ability to supply the same data in more than one format.
> We'd have to extend our clipboard support to allow supplying the same
> Document in plain-text and rich-text formats.

Reply via email to