Call to change summer’s genmac
Adjustments for Changebar location, Center line at the bottom
This commit is contained in:
parent
7ba240b23c
commit
6ece6c83ef
@ -3942,6 +3942,9 @@ namespace fmtxml
|
||||
case "EXCLN":
|
||||
AddEXCLN(myDoc);
|
||||
break;
|
||||
case "SUM":
|
||||
AddSUM(myDoc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,7 @@ namespace fmtxml
|
||||
|
||||
private void AddSUMfmt(ref FormatData fmtdata)
|
||||
{
|
||||
fmtdata.ProcData.ChangeBarData.FixedChangeColumn = 91;
|
||||
fmtdata.ProcData.TitleLength = 53;
|
||||
fmtdata.ProcData.CheckOffData.RelXLocation = 5;
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.SingleColumnRNOIndent = 30;
|
||||
@ -144,15 +145,18 @@ namespace fmtxml
|
||||
{
|
||||
dcstyles.DcStyles[0].CenterLineX = 261.9F;
|
||||
dcstyles.DcStyles[0].CenterLineYTop = 642.2F;
|
||||
dcstyles.DcStyles[0].CenterLineYBottom = 49.2F;
|
||||
//dcstyles.DcStyles[0].CenterLineYBottom = 49.2F;
|
||||
dcstyles.DcStyles[0].CenterLineYBottom = 40.2F;
|
||||
dcstyles.DcStyles[0].EndString = " - - - - - - - - - - - - - - - - \n - - - - - - - - - - - - - - | End of %-8s | - - - - - - - - - - - - \n - - - - - - - - - - - - - - - -";
|
||||
dcstyles.DcStyles[1].CenterLineX = 261.9F;
|
||||
dcstyles.DcStyles[1].CenterLineYTop = 678.2F;
|
||||
dcstyles.DcStyles[1].CenterLineYBottom = 49.2F;
|
||||
//dcstyles.DcStyles[1].CenterLineYBottom = 49.2F;
|
||||
dcstyles.DcStyles[1].CenterLineYBottom = 40.2F;
|
||||
dcstyles.DcStyles[1].EndString = " - - - - - - - - - - - - - - - - \n - - - - - - - - - - - - - - | End of %-8s | - - - - - - - - - - - - \n - - - - - - - - - - - - - - - -";
|
||||
dcstyles.DcStyles[2].CenterLineX = 261.9F;
|
||||
dcstyles.DcStyles[2].CenterLineYTop = 678.2F;
|
||||
dcstyles.DcStyles[2].CenterLineYBottom = 49.2F;
|
||||
//dcstyles.DcStyles[2].CenterLineYBottom = 49.2F;
|
||||
dcstyles.DcStyles[2].CenterLineYBottom = 40.2F;
|
||||
dcstyles.DcStyles[2].FooterLen = 0;
|
||||
dcstyles.DcStyles[3].PageWidth = 612.96F;
|
||||
dcstyles.DcStyles[4].PageWidth = 612.96F;
|
||||
@ -224,5 +228,20 @@ namespace fmtxml
|
||||
}
|
||||
public partial class RtfToSvg
|
||||
{
|
||||
private void AddSUM(XmlDocument myDoc)
|
||||
{
|
||||
XmlDocument xdNew = new XmlDocument();
|
||||
// B2
|
||||
xdNew.LoadXml("<svg xmlns=\"http://www.w3.org/2000/svg\"> <g id=\"B2\">" +
|
||||
"<rect x=\"0\" y=\"4.25\" width=\"519.3\" height=\"677.45\" fill=\"none\" stroke=\"black\" stroke-width=\"0.95\" />" +
|
||||
"<line x1=\"0\" y1=\"29.75\" x2=\"519.3\" y2=\"29.75\" stroke=\"black\" stroke-width=\"0.95\" />" +
|
||||
"<text x=\"56.65\" y=\"21.25\" font-family=\"Letter Gothic Tall\" font-size=\"10\">ACTION/EXPECTED{sp}RESPONSE</text>" +
|
||||
"<line x1=\"261.9\" y1=\"4.25\" x2=\"261.9\" y2=\"44.2\" stroke=\"black\" stroke-width=\"0.95\" />" +
|
||||
//<!--line x1="261.9" y1="673.2" x2="261.9" y2="680.85" stroke="black" stroke-width="0.95" /-->
|
||||
//<!--line x1="261.9" y1="677.85" x2="261.9" y2="680.85" stroke="black" stroke-width="0.95" /-->
|
||||
"<text x=\"339.85\" y=\"21.25\" font-family=\"Letter Gothic Tall\" font-size=\"10\">ALTERNATIVE{sp}ACTION</text>" +
|
||||
"</g></svg>");
|
||||
myDoc.DocumentElement.ReplaceChild(myDoc.ImportNode(xdNew.DocumentElement.ChildNodes[0], true), myDoc.DocumentElement.ChildNodes[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user