version 1.229, 2009/02/03 15:26:18
|
version 1.230, 2009/02/05 09:01:39
|
Line 2524 static Element Template_CreateEmptyBlock
|
Line 2524 static Element Template_CreateEmptyBlock
|
#ifdef TEMPLATES |
#ifdef TEMPLATES |
SSchema sstempl = TtaGetSSchema ("Template", doc); |
SSchema sstempl = TtaGetSSchema ("Template", doc); |
ElementType useType; |
ElementType useType; |
Element selElem, use; |
Element selElem, use = NULL; |
XTigerTemplate t = GetXTigerDocTemplate(doc); |
XTigerTemplate t = GetXTigerDocTemplate(doc); |
Declaration dec; |
Declaration dec; |
char *proposed, *label = NULL, *types=NULL; |
char *proposed, *label = NULL, *types=NULL; |
int firstChar, lastChar; |
int firstChar, lastChar; |
ThotBool option; |
ThotBool option; |
|
|
|
|
if (t && sstempl) |
if (t && sstempl) |
{ |
{ |
TtaGiveFirstSelectedElement (doc, &selElem, &firstChar, &lastChar); |
TtaGiveFirstSelectedElement (doc, &selElem, &firstChar, &lastChar); |