L
Lauro
I'm writing quite a complex application in Word.
I've a lot of code that I would like to keep clear. I thougth several
time of using custom classes, but I don't know if I can achieve what I
have in mind.
For instance in a Word Document based on MyTemplate.dot I have a Table
"ActiveDocument.Tables(1)" and each Row in the table is not just a row
but has a lot of special data and code for manipulate it (for instance
in the first cell of each row there is some hidden text to identify
the row, etc.).
I would like to extend the standard Word Model Object and create my
own objects wrapping the existing one in Word.
For instance, having a new table or new row object that acts as the
standard one + same new properties and methods.
If I'll create a new object MyRow, how I can tell Word to use MyRow in
the normal Table object instead of the normal Row?
Do you have any suggestions?
All the example I found is about new control object none on extension
of build-in Word objects.
Thanks, Lauro
I've a lot of code that I would like to keep clear. I thougth several
time of using custom classes, but I don't know if I can achieve what I
have in mind.
For instance in a Word Document based on MyTemplate.dot I have a Table
"ActiveDocument.Tables(1)" and each Row in the table is not just a row
but has a lot of special data and code for manipulate it (for instance
in the first cell of each row there is some hidden text to identify
the row, etc.).
I would like to extend the standard Word Model Object and create my
own objects wrapping the existing one in Word.
For instance, having a new table or new row object that acts as the
standard one + same new properties and methods.
If I'll create a new object MyRow, how I can tell Word to use MyRow in
the normal Table object instead of the normal Row?
Do you have any suggestions?
All the example I found is about new control object none on extension
of build-in Word objects.
Thanks, Lauro