This commit is contained in:
parent
b97c213b60
commit
44ad35500a
@ -56,7 +56,12 @@ 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 (xmlNode.Name == "DocStyle") return xn;
|
||||
if (xmlNode.Name == "StructureStyle")
|
||||
{
|
||||
Volian.Base.Library.DebugText.WriteLine("vlnFormatDocument:LookupSingleNode:StructureStyle - shouldn't get to this line of code.");
|
||||
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