We need mark a range of text in ITextModel by our ID. That range must remember this ID through all copy/paste operation between any instance of ITextModel`s. Is it require describe a new IStrand implementation, or not? Functionality of IAttributeStrand in kCharAttrStrandBoss looks fine, but our text range marker can be removed together with other style override attributes.
How best to achieve our goal?
I'm playing around with similar ideas right now.
IAttrReport::LastsThroughStyleChange() and eventually IAttrReport::CanBeInStyle() sound promising, but I don't know how far you get.
Has anybody outside Adobe already managed to implement their own strand?
Are there any nasty surprises such as private/undocumented interfaces and services?
Will a custom strand break document compatibility or does the IgnoreTags mechanism work here?
Dirk
North America
Europe, Middle East and Africa
Asia Pacific