|
|
@ -378,27 +378,27 @@ void CHTMLReadDisplay::timerEvent( TQTimerEvent *e ) {
|
|
|
|
if (!currentNode.isNull() && (currentNode.nodeType() == DOM::Node::ELEMENT_NODE) && currentNode.hasAttributes()) { //found right node
|
|
|
|
if (!currentNode.isNull() && (currentNode.nodeType() == DOM::Node::ELEMENT_NODE) && currentNode.hasAttributes()) { //found right node
|
|
|
|
attr = currentNode.attributes().getNamedItem("note");
|
|
|
|
attr = currentNode.attributes().getNamedItem("note");
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
infoList.append( tqMakePair(CInfoDisplay::Footnote, attr.nodeValue().string()) );
|
|
|
|
infoList.append( qMakePair(CInfoDisplay::Footnote, attr.nodeValue().string()) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
attr = currentNode.attributes().getNamedItem("lemma");
|
|
|
|
attr = currentNode.attributes().getNamedItem("lemma");
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
infoList.append( tqMakePair(CInfoDisplay::Lemma, attr.nodeValue().string()) );
|
|
|
|
infoList.append( qMakePair(CInfoDisplay::Lemma, attr.nodeValue().string()) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
attr = currentNode.attributes().getNamedItem("morph");
|
|
|
|
attr = currentNode.attributes().getNamedItem("morph");
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
infoList.append( tqMakePair(CInfoDisplay::Morph, attr.nodeValue().string()) );
|
|
|
|
infoList.append( qMakePair(CInfoDisplay::Morph, attr.nodeValue().string()) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
attr = currentNode.attributes().getNamedItem("expansion");
|
|
|
|
attr = currentNode.attributes().getNamedItem("expansion");
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
infoList.append( tqMakePair(CInfoDisplay::Abbreviation, attr.nodeValue().string()) );
|
|
|
|
infoList.append( qMakePair(CInfoDisplay::Abbreviation, attr.nodeValue().string()) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
attr = currentNode.attributes().getNamedItem("crossrefs");
|
|
|
|
attr = currentNode.attributes().getNamedItem("crossrefs");
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
if (!attr.isNull()) {
|
|
|
|
infoList.append( tqMakePair(CInfoDisplay::CrossReference, attr.nodeValue().string()) );
|
|
|
|
infoList.append( qMakePair(CInfoDisplay::CrossReference, attr.nodeValue().string()) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|