// Currently there is no way to get parent document, so we get PartSet for all.
DocumentPtr aDocument = document();
if (data()->name() == aVariableName) {
// Currently there is no way to get parent document, so we get PartSet for all.
DocumentPtr aDocument = document();
if (data()->name() == aVariableName) {