Added Bottom continue message margin for RNO column
Various format adjustments: single column page length & width; dual column margins for continue message; procedure step subsections page width & centerline definitions; pagelist procedure description location on dual column pages; EOP Num location on cover page; EOP num, rev & page num on proc step subsections page
This commit is contained in:
parent
746db18ec2
commit
a26d292c6a
@ -83,6 +83,7 @@ public struct DocStyle
|
||||
// as part of top continue message.
|
||||
public float CTMargin; // Margin for top message
|
||||
public float CBMargin; // Margin for bottom message
|
||||
public float CBMarginR; // Margin for bottom message RNO column - Added for BGE
|
||||
public short CBLoc; // 0 - place continue string at end of text
|
||||
// 1 - between end of text & bottom of page
|
||||
// 2 - place at bottom of page
|
||||
@ -1046,6 +1047,7 @@ namespace fmtxml
|
||||
dc.ContStyle = new VE_Font(tmpstyle);
|
||||
dc.CTMargin = ColToPoints(dc.CTMargin, tmpstyle);
|
||||
dc.CBMargin = ColToPoints(dc.CBMargin, tmpstyle);
|
||||
dc.CBMarginR = 0;
|
||||
dc.EndFlag = brFmt.ReadInt16();
|
||||
dc.EndStyle = LoadVE_Font();
|
||||
dc.UseCheckOffs = UseCheckOffsIn(fname.Substring(0, fname.Length - 4), dc.oldtonew);
|
||||
|
@ -16,6 +16,10 @@ namespace fmtxml
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColS = 30;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,192,126";
|
||||
fmtdata.TransData.UseSpecificTransitionModifier = "true";
|
||||
fmtdata.StepData[6].SeparateBox = "True";
|
||||
//fmtdata.StepData[6].MatchUpRNO = "False";
|
||||
fmtdata.StepData[7].SeparateBox = "True";
|
||||
//fmtdata.StepData[7].MatchUpRNO = "False";
|
||||
fmtdata.StepData[29].CenterOneLineOnly = "False"; // this is BGE's message type (used as paragraph off section.
|
||||
fmtdata.StepData[29].MatchUpRNO = "False";
|
||||
fmtdata.StepData[29].AlignNullTabWSectHead = "True";
|
||||
@ -78,11 +82,19 @@ namespace fmtxml
|
||||
private void AddBGEEOPDOC(ref DocStyles dcstyles)
|
||||
{
|
||||
dcstyles.DcStyles[0].TopMargin = 96;
|
||||
dcstyles.DcStyles[2].CBMargin = 0;
|
||||
dcstyles.DcStyles[1].PageLength = 600;
|
||||
dcstyles.DcStyles[1].PageWidth = 552;
|
||||
dcstyles.DcStyles[2].CBMargin = 96;
|
||||
dcstyles.DcStyles[2].CBMarginR = 335;
|
||||
dcstyles.DcStyles[2].CBLoc = 1;
|
||||
dcstyles.DcStyles[2].PageWidth = 552;
|
||||
dcstyles.DcStyles[2].CenterLineX = 240;
|
||||
dcstyles.DcStyles[2].CenterLineYTop = 647;
|
||||
dcstyles.DcStyles[2].CenterLineYBottom = 24;
|
||||
dcstyles.DcStyles[3].PageWidth = 552;
|
||||
dcstyles.DcStyles[3].CenterLineX = 240;
|
||||
dcstyles.DcStyles[3].CenterLineYTop = 624;
|
||||
dcstyles.DcStyles[3].CenterLineYBottom = 24;
|
||||
}
|
||||
private void AddBGEEOPPage(ref PageStyles pgstyles)
|
||||
{
|
||||
@ -95,10 +107,12 @@ namespace fmtxml
|
||||
pgstyles.PgStyles[2].Items[2].Col = 480;
|
||||
pgstyles.PgStyles[2].Items[3].Col = 480;
|
||||
pgstyles.PgStyles[2].Items[4].Col = 480;
|
||||
pgstyles.PgStyles[2].Items[6].Col = 120;
|
||||
pgstyles.PgStyles[4].Items[2].Col = 480;
|
||||
pgstyles.PgStyles[4].Items[3].Col = 480;
|
||||
pgstyles.PgStyles[5].Items[2].Col = 480;
|
||||
pgstyles.PgStyles[5].Items[3].Col = 480;
|
||||
pgstyles.PgStyles[6].Items[2].Col = 474;
|
||||
pgstyles.PgStyles[6].Items[3].Col = 474;
|
||||
pgstyles.PgStyles[6].Items[4].Col = 474;
|
||||
pgstyles.PgStyles[7].Items[2].Col = 474;
|
||||
@ -110,6 +124,9 @@ namespace fmtxml
|
||||
pgstyles.PgStyles[9].Items[3].Col = 474;
|
||||
pgstyles.PgStyles[10].Items[2].Col = 474;
|
||||
pgstyles.PgStyles[10].Items[3].Col = 474;
|
||||
pgstyles.PgStyles[11].Items[2].Col = 480;
|
||||
pgstyles.PgStyles[11].Items[3].Col = 480;
|
||||
pgstyles.PgStyles[11].Items[4].Col = 480;
|
||||
pgstyles.PgStyles[13].Items[2].Col = 474;
|
||||
pgstyles.PgStyles[13].Items[3].Col = 474;
|
||||
pgstyles.PgStyles[13].Items[4].Col = 474;
|
||||
|
@ -212,6 +212,11 @@
|
||||
<xsl:value-of select="..//CBMargin"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="..//CBMarginR != 0">
|
||||
<xsl:attribute name="MarginR">
|
||||
<xsl:value-of select="..//CBMarginR"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="..//CBLoc != 'empty'">
|
||||
<xsl:attribute name="Location">
|
||||
<xsl:value-of select="..//CBLoc"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user