Provide the option to display the PDF before the Page Number Transitions were updated to help the process of correcting pagination.

Fix the inheritance lookup for Transtitions
This commit is contained in:
Rich
2014-09-30 20:26:47 +00:00
parent 3b921bed4a
commit 8b9a092708
3 changed files with 28 additions and 4 deletions

View File

@@ -197,6 +197,11 @@ namespace VEPROMS.CSLA.Library
//stepLookup = false; // 8/2 change for inheritance
if (xmlNode == null) return null;// No path to match
string xPath = Path(xmlNode);// Build xPath from xmlNode
if (xmlNode.Name == "TransTypes")
{
string TransIndex = xmlNode.Attributes["Index"].Value;
xPath = System.Text.RegularExpressions.Regex.Replace(xPath, @"\[[0-9]*\]$", @"[@Index='" + TransIndex + @"']");
}
vlnFormatDocument fd = (vlnFormatDocument)(xmlNode.OwnerDocument);//First Get the vlnFormatDocument - This also ties it to a FormatInfo object
while(fd.MyFormat.MyIParent != null)
{