Added calls to fix subformat and enhanced background formats

Added flag to Underline transition text
Underline transition text in and pagewidth for attachments in WEP, allow for doing section transitions in WPB subformat; remove reference to logos in genmac file
Added underline flag for transition text
This commit is contained in:
2014-03-10 12:43:10 +00:00
parent c386153d06
commit bedb5288a0
4 changed files with 21 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ namespace fmtxml
private void AddWEP2fmt(ref FormatData fmtdata)
{
fmtdata.SectData.StepSectionData.StpSectPrtData.DiffContActBox = "True";
fmtdata.TransData.Underline = "True";
fmtdata.StepData[2].TabData.Ident = "{Section Prefix}{numeric} ";
fmtdata.StepData[3].TabData.Ident = "{!C0}{numeric} ";
}
@@ -37,12 +38,17 @@ namespace fmtxml
fmtdata.StepData[26].TabData.RNOIdent = @"\ul ERG NOTE:\ulnone ";
fmtdata.StepData[27].TabData.RNOIdent = @"\ul ERG CAUTION:\ulnone ";
}
private void AddWPB20fmt(ref FormatData fmtdata)
{
fmtdata.TransData.DoSectionTransitions = "True";
}
}
public partial class FmtToXml
{
private void AddWEP2DOC(ref DocStyles dcstyles)
{
dcstyles.DcStyles[1].PageLength = 654;
dcstyles.DcStyles[6].PageWidth = 564;
}
private void AddWEPENBPage(ref PageStyles pgstyles)
{
@@ -80,6 +86,13 @@ namespace fmtxml
"<ellipse cx=\"18\" cy=\"-3.2\" rx=\"11.1\" ry=\"11.1\" fill=\"none\" stroke=\"black\" stroke-width=\"1.9\" />" +
"</g></svg>");
myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[6]);
myDoc.DocumentElement.RemoveChild(myDoc.DocumentElement.ChildNodes[4]); // remove references to BMP files.
myDoc.DocumentElement.RemoveChild(myDoc.DocumentElement.ChildNodes[4]);
}
private void AddWEPENB(XmlDocument myDoc)
{
myDoc.DocumentElement.RemoveChild(myDoc.DocumentElement.ChildNodes[4]); // remove references to BMP files.
myDoc.DocumentElement.RemoveChild(myDoc.DocumentElement.ChildNodes[4]);
}
}
}