Commit for development environment setup
This commit is contained in:
91
PROMS/fmtxml/PlantSpecific_McGuire.cs.org
Normal file
91
PROMS/fmtxml/PlantSpecific_McGuire.cs.org
Normal file
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
|
||||
namespace fmtxml
|
||||
{
|
||||
public partial class FmtFileToXml
|
||||
{
|
||||
private void AddMCGfmt(ref FormatData fmtdata) // McGuire
|
||||
{
|
||||
fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = -2;
|
||||
|
||||
// caution separator
|
||||
fmtdata.StepData[6].StepLayoutData.STBoxindex = "1";
|
||||
fmtdata.StepData[6].TabData.Bullet.Separate = "True";
|
||||
fmtdata.StepData[6].TabData.Bullet.Font = new VE_Font();
|
||||
fmtdata.StepData[6].TabData.Bullet.Font.FontFamily = "Arial";
|
||||
fmtdata.StepData[6].TabData.Bullet.Font.FontSize = "11";
|
||||
fmtdata.StepData[6].TabData.Bullet.Font.FontStyle = "none";
|
||||
fmtdata.StepData[6].TabData.Bullet.Font.CPI = "12";
|
||||
|
||||
// note location/tab
|
||||
fmtdata.StepData[7].StepLayoutData.STBoxindex = "1";
|
||||
fmtdata.StepData[7].TabData.Ident = "NOTE: ";
|
||||
fmtdata.StepData[7].TabData.Bullet.Separate = "True";
|
||||
fmtdata.StepData[7].TabData.Bullet.Font = new VE_Font();
|
||||
fmtdata.StepData[7].TabData.Bullet.Font.FontFamily = "Arial";
|
||||
fmtdata.StepData[7].TabData.Bullet.Font.FontSize = "11";
|
||||
fmtdata.StepData[7].TabData.Bullet.Font.FontStyle = "none";
|
||||
fmtdata.StepData[7].TabData.Bullet.Font.CPI = "12";
|
||||
|
||||
// RNOType
|
||||
fmtdata.StepData[40].Font.FontFamily = "Arial";
|
||||
fmtdata.StepData[40].Font.FontSize = "11";
|
||||
|
||||
// note location (create a box to locate it)
|
||||
fmtdata.BoxData[1].Index = 1;
|
||||
fmtdata.BoxData[1].Start = 6;
|
||||
fmtdata.BoxData[1].End = 240;
|
||||
fmtdata.BoxData[1].TxtStart = 12;
|
||||
fmtdata.BoxData[1].TxtWidth = 450;
|
||||
fmtdata.BoxData[1].BXULC = " ";
|
||||
}
|
||||
}
|
||||
public partial class FmtToXml
|
||||
{
|
||||
private void AddMCGPage(ref PageStyles pgstyles)
|
||||
{
|
||||
// proc steps
|
||||
pgstyles.PgStyles[0].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[0].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[0].Items[7].Token = "{PAGE} of {OF}";
|
||||
pgstyles.PgStyles[0].Items[10].Token = "Rev. {REV}";
|
||||
// proc steps - no header
|
||||
pgstyles.PgStyles[1].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[1].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[1].Items[7].Token = "{PAGE} of {OF}";
|
||||
pgstyles.PgStyles[1].Items[10].Token = "Rev. {REV}";
|
||||
// enclosures
|
||||
pgstyles.PgStyles[2].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[2].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[2].Items[7].Token = "{PAGE} of {OF}";
|
||||
pgstyles.PgStyles[2].Items[9].Token = "Rev. {REV}";
|
||||
// Attachments
|
||||
pgstyles.PgStyles[4].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[4].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[4].Items[7].Token = "{PAGE} of {OF}";
|
||||
pgstyles.PgStyles[4].Items[9].Token = "Rev. {REV}";
|
||||
// Status Tree
|
||||
pgstyles.PgStyles[5].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[5].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[5].Items[7].Token = "{PAGE} of {OF}";
|
||||
pgstyles.PgStyles[5].Items[9].Token = "Rev. {REV}";
|
||||
// Table of contents
|
||||
pgstyles.PgStyles[6].Items[2].Token = "PAGE NO.";
|
||||
pgstyles.PgStyles[6].Items[5].Style.FontSize = "14";
|
||||
pgstyles.PgStyles[6].Items[6].Token = "{ROMANPAGE}";
|
||||
pgstyles.PgStyles[6].Items[8].Token = "Rev. {REV}";
|
||||
}
|
||||
private void AddMCGDOC(ref DocStyles dcstyles)
|
||||
{
|
||||
}
|
||||
}
|
||||
public partial class RtfToSvg
|
||||
{
|
||||
private void AddMCG(XmlDocument myDoc)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user