69 lines
2.5 KiB
C#
69 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Xml;
|
|
|
|
namespace fmtxml
|
|
{
|
|
public partial class FmtFileToXml
|
|
{
|
|
private void AddVCSDEVfmt(ref FormatData fmtdata)
|
|
{
|
|
}
|
|
|
|
private void AddSUMfmt(ref FormatData fmtdata)
|
|
{
|
|
fmtdata.ProcData.CheckOffData.RelXLocation = 5;
|
|
fmtdata.SectData.StepSectionData.StpSectLayData.SingleColumnRNOIndent = 30;
|
|
fmtdata.SectData.StepSectionData.StpSectLayData.DoSTExtraAtTop = "False";
|
|
fmtdata.SectData.StepSectionData.StpSectLayData.RNOWidthSameAsHighParent = true;
|
|
fmtdata.SectData.StepSectionData.StpSectEditData.ColRScreen = "0,0,0";
|
|
fmtdata.StepData[2].StepLayoutData.STExtraSpace = "12";
|
|
fmtdata.StepData[3].TabData.RNOIdent = " {numeric}";
|
|
fmtdata.StepData[3].TabData.RNOExcludeMacros = true;
|
|
fmtdata.StepData[3].TabData.MacroTabAdjust = -6;
|
|
fmtdata.StepData[8].StepLayoutData.STBoxindex = null;
|
|
fmtdata.StepData[40].SpaceDouble = "True";
|
|
fmtdata.StepData[40].StepLayoutData.STExtraSpace = "0";
|
|
|
|
}
|
|
|
|
}
|
|
public partial class FmtToXml
|
|
{
|
|
private void AddVCSDEVfmt(ref PageStyles pgstyles)
|
|
{
|
|
}
|
|
private void AddSUMfmt(ref PageStyles pgstyles)
|
|
{
|
|
pgstyles.PgStyles[4].Items[1].Style.FontSize = "14";
|
|
pgstyles.PgStyles[4].Items[2].Style.FontSize = "14";
|
|
}
|
|
private void AddVCSDEVDOC(ref DocStyles dcstyles)
|
|
{
|
|
}
|
|
private void AddSUMDOC(ref DocStyles dcstyles)
|
|
{
|
|
dcstyles.DcStyles[0].CenterLineX = 261.9F;
|
|
dcstyles.DcStyles[0].CenterLineYTop = 642.2F;
|
|
dcstyles.DcStyles[0].CenterLineYBottom = 49.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].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].FooterLen = 0;
|
|
dcstyles.DcStyles[3].PageWidth = 612.96F;
|
|
dcstyles.DcStyles[4].PageWidth = 612.96F;
|
|
dcstyles.DcStyles[5].PageWidth = 612.96F;
|
|
dcstyles.DcStyles[7].LandscapePageList = true;
|
|
}
|
|
}
|
|
public partial class RtfToSvg
|
|
{
|
|
}
|
|
}
|