|
|
|
|
|
|
|
|
// The picture has to be the next element, extract it back out of the DOM.
|
|
|
// The picture has to be the next element, extract it back out of the DOM.
|
|
|
p_xml = (XElement)run.Xml.NextNode;
|
|
|
p_xml = (XElement)run.Xml.NextNode;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
// Extract the attribute id from the Pictures Xml.
|
|
|
// Extract the attribute id from the Pictures Xml.
|
|
|
XAttribute a_id =
|
|
|
XAttribute a_id =
|
|
|
(
|
|
|
(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Set its value to the Pictures relationships id.
|
|
|
// Set its value to the Pictures relationships id.
|
|
|
a_id.SetValue(Id);
|
|
|
a_id.SetValue(Id);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return this;
|
|
|
return this;
|
|
|
}
|
|
|
}
|