Format changes for Callaway Backgrounds and Ginna Backgrounds

Added ChildIndent for use with Callaway Backgounds
Fixed line spacing and positioning
This commit is contained in:
2013-12-06 19:50:43 +00:00
parent 7b9a359d06
commit 7f396c2285
4 changed files with 122 additions and 19 deletions

View File

@@ -933,6 +933,7 @@ public struct Step
public string NumberHighLevel; // NumberHighLevelRNO
public string OffsetTab;
public string AdjHighLevelTab; // Added for FNP - high level RNO
public string ChildIndent; // Added for Callaway Backgrounds
public string LeftJustifyBorderless; // LJBorderlessTable
public string StepNumIfOnlyOne; // NoStepNumIfOnlyOneStep
public string LJTabs;
@@ -3360,6 +3361,8 @@ namespace fmtxml
lastIndex = match.Index + match.Length;
}
sb.Append(str.Substring(lastIndex));
if (!str.Substring(lastIndex).EndsWith("\n"))
sb.Append("\n");
return sb.ToString();
}
@@ -5354,6 +5357,7 @@ namespace fmtxml
private string StepPartNumberHighLevel(Step stp) { return stp.NumberHighLevel; }
private string StepPartOffsetTab(Step stp) { return stp.OffsetTab; }
private string StepPartAdjHighLevelTab(Step stp) { return stp.AdjHighLevelTab; }
private string StepPartChildIndent(Step stp) { return stp.ChildIndent; }
private string StepPartLeftJustifyBorderless(Step stp) { return stp.LeftJustifyBorderless; }
private string StepPartStepNumIfOnlyOne(Step stp) { return stp.StepNumIfOnlyOne; }
private string StepPartLJTabs(Step stp) { return stp.LJTabs; }
@@ -5604,6 +5608,7 @@ namespace fmtxml
if (CheckInheritedStr(new StepPartStr(StepPartNumberHighLevel), step, dicParents)) step.NumberHighLevel = null;
if (CheckInheritedStr(new StepPartStr(StepPartOffsetTab), step, dicParents)) step.OffsetTab = null;
if (CheckInheritedStr(new StepPartStr(StepPartAdjHighLevelTab), step, dicParents)) step.AdjHighLevelTab = null;
if (CheckInheritedStr(new StepPartStr(StepPartChildIndent), step, dicParents)) step.ChildIndent = null;
if (CheckInheritedStr(new StepPartStr(StepPartLeftJustifyBorderless), step, dicParents)) step.LeftJustifyBorderless = null;
if (CheckInheritedStr(new StepPartStr(StepPartStepNumIfOnlyOne), step, dicParents)) step.StepNumIfOnlyOne = null;
if (CheckInheritedStr(new StepPartStr(StepPartLJTabs), step, dicParents)) step.LJTabs = null;