Fix for sub-format (User Format) to prevent inheritance
This commit is contained in:
parent
e9865f3250
commit
63888a983d
@ -56,6 +56,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (xmlNode == null) return null;
|
||||
XmlNode xn = xmlNode.SelectSingleNode(path);
|
||||
if (xmlNode.Name == "Box") return xn; // if box, don't do inheritance.
|
||||
if (xmlNode.Name == "StructureStyle") return xn; // User Format (sub format) - shouldn't? inherit? -need to check
|
||||
if (xn != null) return xn;
|
||||
//if (path.Contains("Font")) Console.WriteLine("vlnFormatDocument.LookupSingleNode {0},{1}", xmlNode.Name == "Step" ? "Step." + xmlNode.Attributes["Type"].Value : xmlNode.Name, path);
|
||||
if (xmlNode.Name == "Step") xn = LookupSingleStepNode(xmlNode, path); // Check for Step Inheritance
|
||||
|
Loading…
x
Reference in New Issue
Block a user