version 1.76, 2000/10/25 10:11:30
|
version 1.77, 2000/11/22 12:11:00
|
Line 883 NotifyElement *event;
|
Line 883 NotifyElement *event;
|
Element el; |
Element el; |
#endif |
#endif |
{ |
{ |
Element nextEl; |
Element nextEl, child; |
|
ElementType elType; |
|
SSchema HTMLschema; |
|
|
nextEl = TtaGetFirstChild (el); |
nextEl = TtaGetFirstChild (el); |
|
HTMLschema = TtaGetSSchema (TEXT("HTML"), event->document); |
|
elType.ElSSchema = HTMLschema; |
while (nextEl != NULL) |
while (nextEl != NULL) |
{ |
{ |
event->element = nextEl; |
event->element = nextEl; |
ElementPasted (event); |
ElementPasted (event); |
|
|
|
/* manage included links and anchors */ |
|
elType.ElTypeNum = HTML_EL_Anchor; |
|
child = TtaSearchTypedElement (elType, SearchInTree, nextEl); |
|
while (child) |
|
{ |
|
event->element = child; |
|
ElementPasted (event); |
|
child = TtaSearchTypedElementInTree (elType, SearchForward, nextEl, child); |
|
} |
|
|
|
/* manage included links and anchors */ |
|
elType.ElTypeNum = HTML_EL_PICTURE_UNIT; |
|
child = TtaSearchTypedElement (elType, SearchInTree, nextEl); |
|
while (child) |
|
{ |
|
event->element = child; |
|
ElementPasted (event); |
|
child = TtaSearchTypedElementInTree (elType, SearchForward, nextEl, child); |
|
} |
TtaNextSibling (&nextEl); |
TtaNextSibling (&nextEl); |
} |
} |
} |
} |