BGE: Handle {} around ro values
BGE: Added an x-Location of end message for a section Use x-location of end message for a section; tab format for sequential tabs at 4th level; hls tab spaces; indent in transition format 9 BGE: Use x-location of end message for a section BGE: support for top continue messages that contain tab for continued step resolve {Step Text} token in transition; modify code that processes transition format to use collection matches rather than search for ‘{‘ support AllUnits ro flag support ‘{‘ and ‘}’ around ro value top continue message with tab; location of top continue message in both AER/RNO columns for dual column; support indent in transition format during print support two top continue messages (aer/rno) that can have different text; fix bug in splitting procedure title text if it contains hard spaces
This commit is contained in:
@@ -90,6 +90,7 @@ public struct DocStyle
|
||||
public bool CBNoOverrideSpace; // Added for farley pagination of bottomcontinue message
|
||||
public VE_Font ContStyle; // Style of continue messages
|
||||
public short EndFlag; // Does end statement exist for this type
|
||||
public float EndMargin; // Added for BGE - need to position the end message (differs for single vs dual column)
|
||||
public VE_Font EndStyle; // Style of end message at end of page
|
||||
public string ContTop; // Message at top of page
|
||||
public string ContBottom; // Message at bottom of page
|
||||
@@ -1073,6 +1074,7 @@ namespace fmtxml
|
||||
{
|
||||
dc.EndString = null;
|
||||
dc.EndFlag = 0;
|
||||
dc.EndMargin = 0;
|
||||
}
|
||||
if (offst[3] != 0) dc.FinalMsg = DoReplaceTokens(GetAsciiStringUntilNull(brFmt));
|
||||
else dc.FinalMsg = null;
|
||||
|
@@ -15,7 +15,14 @@ namespace fmtxml
|
||||
fmtdata.SectData.SectionHeader.Level0Big = "True";
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColS = 30;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.ColRTable = "0,192,126";
|
||||
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].TabFormat = "{seq})";
|
||||
fmtdata.SectData.StepSectionData.SequentialTabFormat[4].PrintTabFormat = "{seq})";
|
||||
fmtdata.TransData.UseSpecificTransitionModifier = "true";
|
||||
fmtdata.StepData[2].TabData.Ident = " {numeric}. ";
|
||||
fmtdata.StepData[2].TabData.IdentEdit = " {numeric}. ";
|
||||
fmtdata.StepData[2].TabData.RNOIdent = " . ";
|
||||
fmtdata.StepData[2].TabData.RNOIdentEdit = " . ";
|
||||
|
||||
fmtdata.StepData[6].SeparateBox = "True";
|
||||
//fmtdata.StepData[6].MatchUpRNO = "False";
|
||||
fmtdata.StepData[7].SeparateBox = "True";
|
||||
@@ -26,6 +33,7 @@ namespace fmtxml
|
||||
fmtdata.TransData.TransTypeData[4].TransFormat = @"{Sect Num}, \ul {Sect Title}\ulnone , Step {First Step}";
|
||||
fmtdata.TransData.TransTypeData[5].TransFormat = @"{Proc Num}, \ul {Proc Title}\ulnone , {Sect Num}, \ul {Sect Title}\ulnone , Step {First Step}";
|
||||
fmtdata.TransData.TransTypeData[6].TransFormat = @"{Sect Num}, \ul {Sect Title}\ulnone , Step {First Step}{Page Num}";
|
||||
fmtdata.TransData.TransTypeData[9].TransFormat = @"{Proc Num} {IND}\ul {Proc Title}\ulnone ";
|
||||
fmtdata.TransData.TransTypeData[10].TransFormat = @"{First Step}, \ul {Step Text}\ulnone {Page Num}";
|
||||
}
|
||||
private void AddBGEEOPOverridefmt(ref FormatData fmtdata)
|
||||
@@ -84,9 +92,11 @@ namespace fmtxml
|
||||
dcstyles.DcStyles[0].TopMargin = 96;
|
||||
dcstyles.DcStyles[1].PageLength = 600;
|
||||
dcstyles.DcStyles[1].PageWidth = 552;
|
||||
dcstyles.DcStyles[1].EndMargin = 206;
|
||||
dcstyles.DcStyles[2].CBMargin = 96;
|
||||
dcstyles.DcStyles[2].CBMarginR = 335;
|
||||
dcstyles.DcStyles[2].CBLoc = 1;
|
||||
dcstyles.DcStyles[2].EndMargin = 75;
|
||||
dcstyles.DcStyles[2].PageWidth = 552;
|
||||
dcstyles.DcStyles[2].CenterLineX = 240;
|
||||
dcstyles.DcStyles[2].CenterLineYTop = 647;
|
||||
|
@@ -239,6 +239,11 @@
|
||||
<xsl:value-of select="../EndFlag"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="../EndMargin != 'empty'">
|
||||
<xsl:attribute name="Margin">
|
||||
<xsl:value-of select="../EndMargin"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:attribute name="Message">
|
||||
<xsl:value-of select="../EndString"/>
|
||||
</xsl:attribute>
|
||||
|
Reference in New Issue
Block a user