Custom Fields : Creating New Field Types.
All,
I would like to implement a completely new Field Type. When you programmatically create a field using the fields.add function your forced to specify a field type. I was wondering if there i sany way to add on to that list of fields, or to overwrite the implementation of an exisiting field type. I've seen various add-in apparently do this. They specifiy their own field code, and implement some custom functionality for the update functions.
My real goal is to create a field where i can store some xml in the field.data, transform it using field.update and store the transform in field.result. Unfortunately i'm stuck at the begining in that I don't know how to implement my own field class and have Word recognize it as such.
Any ideas?
Thanks,
Karthik
|