This commit is contained in:
2011-10-14 10:18:11 +00:00
parent 5d21567ab9
commit dbba029be1
3 changed files with 9 additions and 3 deletions

View File

@@ -484,7 +484,7 @@ namespace fmtxml
{
MyPath = path;
fmtName = nm;
//if (fmtName.ToUpper() != "OHLP" && fmtName.ToUpper() != "BASE" && fmtName.ToUpper() != "WCN2") return;
//if (!fmtName.ToUpper().StartsWith("TP") && fmtName.ToUpper() != "BASE") return;
try
{
// get the default base & plant files to use when figuring out inheritance.
@@ -496,7 +496,10 @@ namespace fmtxml
if (indx > 0)
{
LoadPageFile(nm);
LoadDocFile(nm);
string tmpDocName = fmtName;
tmpDocName = tmpDocName.Remove(indx + 1,1);
tmpDocName = tmpDocName.Insert(indx + 1, "y");
LoadDocFile(tmpDocName);
}
else
{