To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
Serge wrote:
"If I understand well, you are adding a new property to the cPart class
defined by OpenDoc."
Correct. The property is named pContents.
"This seems to be done by defining a new kAEOpenDocSuite suite that contains only the new property. Is that right?"
No. Have a look at the PartMaker generation for DR5's scriptable part and its aete resource file. The resource file defines a new suite for the part editor named after the part editor. It looks something like this (CLA_SUIR is the name of my part editor):
*****
/*
*-------------------------------------------
* Custom suite information
*-------------------------------------------
*/
"CLA_SUIR Suite",
"Suite pertaining to the part editor.",
kCLA_SUIREditorOSType,
1,
1,
/*
*-------------------------------------------
* Events
*-------------------------------------------
*/
{
},
/*
*-------------------------------------------
* Classes
*-------------------------------------------
*/
*****
BTW: I didn't know of the kAEOpenDocSuite constant. Where is this constant and corresponding suite documented?
Also, I seem to be having difficulty getting messages back through the OpenDoc list. Do you know if my message requesting information on how to develop bare-bones parts got through? It wanted to know about how to build CW9 OpenDoc part editor projects from the ground up instead of using PartMaker...