version 1.207, 2005/06/01 13:44:38
|
version 1.208, 2005/06/02 11:21:59
|
Line 1184 void SetIntVertStretchAttr (Element el,
|
Line 1184 void SetIntVertStretchAttr (Element el,
|
if (stretchable) |
if (stretchable) |
/* the operator contains only stretchable symbols */ |
/* the operator contains only stretchable symbols */ |
{ |
{ |
/* attach a IntVertStretch attribute */ |
|
attrType.AttrSSchema = MathMLSSchema; |
|
attrType.AttrTypeNum = MathML_ATTR_IntVertStretch; |
|
attr = TtaNewAttribute (attrType); |
|
TtaAttachAttribute (el, attr, doc); |
|
TtaSetAttributeValue (attr, |
|
MathML_ATTR_IntVertStretch_VAL_yes_, |
|
el, doc); |
|
TtaRegisterAttributeCreate (attr, el, doc); |
|
|
|
/* replace the stretchable characters by a Thot SYMBOL |
/* replace the stretchable characters by a Thot SYMBOL |
element. If there are several such characters in |
element. If there are several such characters in |
the mo (multiple integral for instance), replace |
the mo (multiple integral for instance), replace |
Line 1265 void SetIntVertStretchAttr (Element el,
|
Line 1255 void SetIntVertStretchAttr (Element el,
|
} |
} |
while (textEl); |
while (textEl); |
|
|
|
|
|
/* attach a IntVertStretch attribute */ |
|
attrType.AttrSSchema = MathMLSSchema; |
|
attrType.AttrTypeNum = MathML_ATTR_IntVertStretch; |
|
attr = TtaNewAttribute (attrType); |
|
TtaAttachAttribute (el, attr, doc); |
|
TtaSetAttributeValue (attr, |
|
MathML_ATTR_IntVertStretch_VAL_yes_, |
|
el, doc); |
|
TtaRegisterAttributeCreate (attr, el, doc); |
if (inbase) |
if (inbase) |
/* it's within a Base or UnderOverBase element */ |
/* it's within a Base or UnderOverBase element */ |
{ |
{ |
Line 1296 void SetIntVertStretchAttr (Element el,
|
Line 1296 void SetIntVertStretchAttr (Element el,
|
reformatted and to take into account |
reformatted and to take into account |
its new next sibling */ |
its new next sibling */ |
TtaRemoveTree (parent, doc); |
TtaRemoveTree (parent, doc); |
TtaInsertSibling (parent, sibling, TRUE, |
TtaInsertSibling (parent, sibling, TRUE, doc); |
doc); |
|
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |
} |