This commit is contained in:
Kathy Ruffing 2012-05-24 14:55:47 +00:00
parent 3e73bdb664
commit 483a41aa32

View File

@ -718,7 +718,7 @@ public struct StepSectionLayout
public Int16 HLSWidthOVRD; public Int16 HLSWidthOVRD;
public Int16 SubPaginationWght; public Int16 SubPaginationWght;
public Int16 TextTitleAdjustment; public Int16 TextTitleAdjustment;
public string TableCenterPos; // string array with ints. public string TableCenterPos; // string array with floats.
public string LowerLimitDivisor; // pagination - should it be in print? - 16bit: quoted float public string LowerLimitDivisor; // pagination - should it be in print? - 16bit: quoted float
public string NonLinkedStepNumber; public string NonLinkedStepNumber;
public string NonLinkedCautNoteNumber; public string NonLinkedCautNoteNumber;
@ -2587,9 +2587,11 @@ namespace fmtxml
} }
fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle = LoadVE_Font(); fmtdata.SectData.StepSectionData.StpSectLayData.VertStyle = LoadVE_Font();
sbyte[] tmpbyte3 = new sbyte[3]; for (int i = 0; i < 3; i++)
for (int i = 0; i < 3; i++) tmpbyte3[i] = brFmt.ReadSByte(); {
tmpstr = string.Format("{0}, {1}, {2}", tmpbyte3[0], tmpbyte3[1], tmpbyte3[2]); tmpfloat[i] = ColToPoints(brFmt.ReadSByte(), _PlantDefaultFontStyle);
}
tmpstr = string.Format("{0},{1},{2}", tmpfloat[0], tmpfloat[1], tmpfloat[2]);
fmtdata.SectData.StepSectionData.StpSectLayData.TableCenterPos = tmpstr; fmtdata.SectData.StepSectionData.StpSectLayData.TableCenterPos = tmpstr;
for (int i = 0; i < MAXSEQ; i++) fmtdata.SectData.StepSectionData.SequentialTabFormat[i].Index = i; for (int i = 0; i < MAXSEQ; i++) fmtdata.SectData.StepSectionData.SequentialTabFormat[i].Index = i;
LeftJustify[] lftjust = new LeftJustify[MAXSEQ]; LeftJustify[] lftjust = new LeftJustify[MAXSEQ];