[WASTE-list] WERegisterCustomAttribute

Alfred Van Hoek vanhoek at mac.com
Thu Jun 8 20:38:30 EDT 2006



On Jun 8, 2006, at 2:00 PM, Marco Piovanelli wrote:



> By looking at the code, I see the above exception is thrown when

> attempting to register a custom attribute selector more than once.

> Are you sure the tagUserID changes between calls to

> WERegisterCustomAttribute?


Yes.


>

>> I do have some problems (given only one customAttribute is

>> registered) when it comes to using this attribute. How would this

>> attribute be displayed in an rtf file? I would like to know, in case

>> my code is doing something wrong.

>

> WASTE 3.0 saves custom attributes in RTF files using a

> proprietary RTF keyword (\WECustomAttribute). Here's what

> a WASTE-generated RTF file with custom attributes looks

> like:



When we register only one custom attribute we don't appear to see
WECustomAttribute. Because you don't have these problems, I must
assume that using CW-10/and its map implementation is buggy when we
compile WE3. We'll test with Xcode and see,

Thanks,

Alfred




More information about the WASTE-list mailing list