WCN OFN BCK Format improvements

This commit is contained in:
2014-02-10 15:17:03 +00:00
parent 4455813c8e
commit 1dd420fb09
3 changed files with 64 additions and 9 deletions

View File

@@ -1036,7 +1036,7 @@ public struct Tab
public string RNOIdentEdit;
public string RNOIdent;
//public string IdentEditWid;
//public string IdentWid;
public string IdentWid;
//public string RNOIdentEditWid;
//public string RNOIdentWid;
public string Justify; // from tbstyle - None, CENTER, LEFT, RIGHT
@@ -5330,10 +5330,11 @@ namespace fmtxml
private string StepPartTabIdentEdit(Step stp) { return stp.TabData.IdentEdit; }
private string StepPartTabIdent(Step stp) { return stp.TabData.Ident; }
private string StepPartTabIdentAltPrint(Step stp) { return stp.TabData.IdentAltPrint; }
private string StepPartTabRNOIdentEdit(Step stp) { return stp.TabData.RNOIdentEdit; }
private string StepPartTabRNOIdent(Step stp) { return stp.TabData.RNOIdent; }
//private string StepPartTabIdentEditWid(Step stp) { return stp.TabData.IdentEditWid; }
//private string StepPartTabIdentWid(Step stp) { return stp.TabData.IdentWid; }
private string StepPartTabIdentWid(Step stp) { return stp.TabData.IdentWid; }
//private string StepPartTabRNOIdentEditWid(Step stp) { return stp.TabData.RNOIdentEditWid; }
//private string StepPartTabRNOIdentWid(Step stp) { return stp.TabData.RNOIdentWid; }
private string StepPartTabJustify(Step stp) { return stp.TabData.Justify; }
@@ -5547,10 +5548,11 @@ namespace fmtxml
//RHM/KBR added this - not sure: if (mstp.TabData.IdentEdit == sstp.TabData.IdentEdit) subFmt.StepData[i].TabData.IdentEdit = null;
if (CheckInheritedStr(new StepPartStr(StepPartTabIdentEdit), step, dicParents)) step.TabData.IdentEdit = null;
if (CheckInheritedStr(new StepPartStr(StepPartTabIdent), step, dicParents)) step.TabData.Ident = null;
if (CheckInheritedStr(new StepPartStr(StepPartTabIdentAltPrint), step, dicParents)) step.TabData.IdentAltPrint = null;
if (CheckInheritedStr(new StepPartStr(StepPartTabRNOIdentEdit), step, dicParents)) step.TabData.RNOIdentEdit = null;
if (CheckInheritedStr(new StepPartStr(StepPartTabRNOIdent), step, dicParents)) step.TabData.RNOIdent = null;
//if (CheckInheritedStr(new StepPartStr(StepPartTabIdentEditWid), step, dicParents)) step.TabData.IdentEditWid = NullString;
//if (CheckInheritedStr(new StepPartStr(StepPartTabIdentWid), step, dicParents)) step.TabData.IdentWid = NullString;
if (CheckInheritedStr(new StepPartStr(StepPartTabIdentWid), step, dicParents)) step.TabData.IdentWid = NullString;
//if (CheckInheritedStr(new StepPartStr(StepPartTabRNOIdentEditWid), step, dicParents)) step.TabData.RNOIdentEditWid = NullString;
//if (CheckInheritedStr(new StepPartStr(StepPartTabRNOIdentWid), step, dicParents)) step.TabData.RNOIdentWid = NullString;
if (CheckInheritedStr(new StepPartStr(StepPartTabJustify), step, dicParents)) step.TabData.Justify = null;