version 1.2, 2000/07/03 07:12:36
|
version 1.3, 2001/03/16 12:05:19
|
Line 37 ThotBool withUndo;
|
Line 37 ThotBool withUndo;
|
SSchema XLinkSchema; |
SSchema XLinkSchema; |
ThotBool new; |
ThotBool new; |
|
|
XLinkSchema = TtaGetSSchema (TEXT("XLink"), doc); |
XLinkSchema = TtaGetSSchema ("XLink", doc); |
attrType.AttrSSchema = XLinkSchema; |
attrType.AttrSSchema = XLinkSchema; |
attrType.AttrTypeNum = XLink_ATTR_type; |
attrType.AttrTypeNum = XLink_ATTR_type; |
attr = TtaGetAttribute (el, attrType); |
attr = TtaGetAttribute (el, attrType); |
Line 80 void XLinkPasted(event)
|
Line 80 void XLinkPasted(event)
|
if (originDocument > 0 && originDocument != event->document) |
if (originDocument > 0 && originDocument != event->document) |
/* this element has changed document. Check its links */ |
/* this element has changed document. Check its links */ |
{ |
{ |
XLinkSchema = TtaGetSSchema (TEXT("XLink"), event->document); |
XLinkSchema = TtaGetSSchema ("XLink", event->document); |
if (XLinkSchema) |
if (XLinkSchema) |
{ |
{ |
/* is there an href attribute from the XLink namespace? */ |
/* is there an href attribute from the XLink namespace? */ |