Added TabPtsPerChar to allow fmtxml to set this format variable

Adjust tab width for proportional font  (m.1 was wrapping onto 2 lines)
This commit is contained in:
Kathy Ruffing 2014-05-29 14:26:20 +00:00
parent 2e54123c79
commit 2d726d336a
3 changed files with 3 additions and 0 deletions

View File

@ -754,6 +754,7 @@ public struct StepSectionLayout
public Int16 HLSWidthOVRD;
public Int16 SubPaginationWght;
public Int16 TextTitleAdjustment;
public float TabPtsPerChar; // added for BGE
public string TableCenterPos; // string array with floats.
public string LowerLimitDivisor; // pagination - should it be in print? - 16bit: quoted float
public string NonLinkedStepNumber;
@ -4975,6 +4976,7 @@ namespace fmtxml
if (msctlay.ColT == ssctlay.ColT) subFmt.SectData.StepSectionData.StpSectLayData.ColT = NullInt;
if (msctlay.ColAbs == ssctlay.ColAbs) subFmt.SectData.StepSectionData.StpSectLayData.ColAbs = NullInt;
if (msctlay.WidT == ssctlay.WidT) subFmt.SectData.StepSectionData.StpSectLayData.WidT = NullInt;
if (msctlay.TabPtsPerChar == ssctlay.TabPtsPerChar) subFmt.SectData.StepSectionData.StpSectLayData.TabPtsPerChar = NullInt;
if (msctlay.PMode == ssctlay.PMode) subFmt.SectData.StepSectionData.StpSectLayData.PMode = NullInt;
if (msctlay.MaxRNO == ssctlay.MaxRNO) subFmt.SectData.StepSectionData.StpSectLayData.MaxRNO = NullInt;
if (msctlay.MaxRNOTable == ssctlay.MaxRNOTable) subFmt.SectData.StepSectionData.StpSectLayData.MaxRNOTable = null;

View File

@ -17,6 +17,7 @@ namespace fmtxml
fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,192,126";
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -16;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 442;
fmtdata.SectData.StepSectionData.StpSectLayData.TabPtsPerChar = 6.2f;
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].TabFormat = "{seq})";
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].PrintTabFormat = "{seq})";
fmtdata.TransData.UseSpecificTransitionModifier = "true";

Binary file not shown.