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

@@ -9,10 +9,17 @@ namespace fmtxml
{
private void AddMCGfmt(ref FormatData fmtdata) // McGuire
{
fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = 33;
// Base
fmtdata.StepData[0].StepLayoutData.STExtraSpace = "0";
// High
fmtdata.StepData[2].StepLayoutData.STExtraSpace = "12";
// caution separator
fmtdata.StepData[6].StepLayoutData.STBoxindex = "1";
//fmtdata.StepData[6].StepLayoutData.STBoxindex = "1";
fmtdata.StepData[6].TabData.Bullet.Separate = "True";
fmtdata.StepData[6].TabData.Bullet.Font = new VE_Font();
fmtdata.StepData[6].TabData.Bullet.Font.FontFamily = "Arial";
@@ -21,7 +28,7 @@ namespace fmtxml
fmtdata.StepData[6].TabData.Bullet.Font.CPI = "12";
// note location/tab
fmtdata.StepData[7].StepLayoutData.STBoxindex = "1";
//fmtdata.StepData[7].StepLayoutData.STBoxindex = "1";
fmtdata.StepData[7].TabData.Ident = "NOTE: ";
fmtdata.StepData[7].TabData.Bullet.Separate = "True";
fmtdata.StepData[7].TabData.Bullet.Font = new VE_Font();
@@ -33,14 +40,35 @@ namespace fmtxml
// RNOType
fmtdata.StepData[40].Font.FontFamily = "Arial";
fmtdata.StepData[40].Font.FontSize = "11";
fmtdata.StepData[40].StepLayoutData.STExtraSpace = "0";
// note location (create a box to locate it)
fmtdata.BoxData[1].Index = 1;
fmtdata.BoxData[1].Start = 6;
fmtdata.BoxData[1].End = 240;
fmtdata.BoxData[1].TxtStart = 12;
fmtdata.BoxData[1].TxtWidth = 450;
fmtdata.BoxData[1].BXULC = " ";
//fmtdata.BoxData[1].Index = 1;
//fmtdata.BoxData[1].Start = 6;
//fmtdata.BoxData[1].End = 240;
//fmtdata.BoxData[1].TxtStart = 12;
//fmtdata.BoxData[1].TxtWidth = 450;
//fmtdata.BoxData[1].BXULC = " ";
//Disable extra Cautions and notes
// Caution 1
fmtdata.StepData[20].Inactive = "True";
// Caution 2
fmtdata.StepData[21].Inactive = "True";
// Caution 3
fmtdata.StepData[27].Inactive = "True";
// Caution 4
fmtdata.StepData[29].Inactive = "True";
// Note 1
fmtdata.StepData[22].Inactive = "True";
// Note 2
fmtdata.StepData[23].Inactive = "True";
// Note 3
fmtdata.StepData[26].Inactive = "True";
// Note 4
fmtdata.StepData[28].Inactive = "True";
// Note 5
fmtdata.StepData[32].Inactive = "True";
}
}
public partial class FmtToXml