Commit for development environment setup

This commit is contained in:
2023-06-19 16:12:33 -04:00
parent be72063a3c
commit bbce2ad0a6
2209 changed files with 1171775 additions and 625 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1482
PROMS/fmtxml/FmtToXml.cs.bak Normal file

File diff suppressed because it is too large Load Diff

597
PROMS/fmtxml/Form1.cs.bak Normal file
View File

@@ -0,0 +1,597 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
namespace fmtxml
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button btnCvtPagDoc;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Button btnCvtGenmac;
private System.Windows.Forms.Button btnCvtXmlToSVG;
//private C1.C1Pdf.C1PdfDocument c1PdfDocument1;
private Button btnCvtFormat;
private Button btnMergeFmtPagDoc;
private Label lblPathFmt;
private Button btnBrowseFmt;
private TextBox tbFmtPath;
private TextBox tbGenmacPath;
private Button btnBrowseGenmac;
private Label lblPathGenmac;
private Label lblResult;
private TextBox tbResultPath;
private Button btnBrowseResult;
private StatusStrip statusStrip1;
private ToolStripStatusLabel tsslStatus;
private Button btnRtfToSvg;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
tbFmtPath.Text = @"c:\16bit\ve-proms\format";
tbGenmacPath.Text = @"C:\16bit\promsnt\genmac";
tbResultPath.Text = @"c:\development\";
//
// TODO: Add any constructor code after InitializeComponent call
//
}
public string MyStatus
{
get { return tsslStatus.Text; }
set { tsslStatus.Text = value; Application.DoEvents(); }
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btnCvtPagDoc = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.btnExit = new System.Windows.Forms.Button();
this.listBox1 = new System.Windows.Forms.ListBox();
this.btnCvtGenmac = new System.Windows.Forms.Button();
this.btnCvtXmlToSVG = new System.Windows.Forms.Button();
this.btnCvtFormat = new System.Windows.Forms.Button();
this.btnMergeFmtPagDoc = new System.Windows.Forms.Button();
this.lblPathFmt = new System.Windows.Forms.Label();
this.btnBrowseFmt = new System.Windows.Forms.Button();
this.tbFmtPath = new System.Windows.Forms.TextBox();
this.tbGenmacPath = new System.Windows.Forms.TextBox();
this.btnBrowseGenmac = new System.Windows.Forms.Button();
this.lblPathGenmac = new System.Windows.Forms.Label();
this.lblResult = new System.Windows.Forms.Label();
this.tbResultPath = new System.Windows.Forms.TextBox();
this.btnBrowseResult = new System.Windows.Forms.Button();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.btnRtfToSvg = new System.Windows.Forms.Button();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// btnCvtPagDoc
//
this.btnCvtPagDoc.Location = new System.Drawing.Point(217, 63);
this.btnCvtPagDoc.Name = "btnCvtPagDoc";
this.btnCvtPagDoc.Size = new System.Drawing.Size(201, 51);
this.btnCvtPagDoc.TabIndex = 0;
this.btnCvtPagDoc.Text = "Convert Page and Doc Styles in format directory (Step 2)";
this.btnCvtPagDoc.Click += new System.EventHandler(this.btnCvtPagDoc_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(12, 237);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(200, 18);
this.label1.TabIndex = 1;
this.label1.Text = "Converted:";
//
// btnExit
//
this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnExit.Location = new System.Drawing.Point(560, 224);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(63, 28);
this.btnExit.TabIndex = 2;
this.btnExit.Text = "Exit";
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// listBox1
//
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.ItemHeight = 16;
this.listBox1.Location = new System.Drawing.Point(10, 258);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(613, 212);
this.listBox1.TabIndex = 3;
//
// btnCvtGenmac
//
this.btnCvtGenmac.Enabled = false;
this.btnCvtGenmac.Location = new System.Drawing.Point(10, 172);
this.btnCvtGenmac.Name = "btnCvtGenmac";
this.btnCvtGenmac.Size = new System.Drawing.Size(183, 46);
this.btnCvtGenmac.TabIndex = 4;
this.btnCvtGenmac.Text = "Convert genmac files to XML (Genmac Step 1)";
this.btnCvtGenmac.Click += new System.EventHandler(this.btnCvtGenmac_Click);
//
// btnCvtXmlToSVG
//
this.btnCvtXmlToSVG.Enabled = false;
this.btnCvtXmlToSVG.Location = new System.Drawing.Point(199, 170);
this.btnCvtXmlToSVG.Name = "btnCvtXmlToSVG";
this.btnCvtXmlToSVG.Size = new System.Drawing.Size(183, 50);
this.btnCvtXmlToSVG.TabIndex = 5;
this.btnCvtXmlToSVG.Text = "Convert Genmac_XML to SVG (Genmac Step 2)";
this.btnCvtXmlToSVG.Click += new System.EventHandler(this.btnCvtXmlToSVG_Click);
//
// btnCvtFormat
//
this.btnCvtFormat.Location = new System.Drawing.Point(10, 63);
this.btnCvtFormat.Name = "btnCvtFormat";
this.btnCvtFormat.Size = new System.Drawing.Size(201, 51);
this.btnCvtFormat.TabIndex = 8;
this.btnCvtFormat.Text = "Convert Format in format directory (Step 1)";
this.btnCvtFormat.UseVisualStyleBackColor = true;
this.btnCvtFormat.Click += new System.EventHandler(this.btnCvtFormat_Click);
//
// btnMergeFmtPagDoc
//
this.btnMergeFmtPagDoc.Location = new System.Drawing.Point(424, 63);
this.btnMergeFmtPagDoc.Name = "btnMergeFmtPagDoc";
this.btnMergeFmtPagDoc.Size = new System.Drawing.Size(201, 51);
this.btnMergeFmtPagDoc.TabIndex = 9;
this.btnMergeFmtPagDoc.Text = "Integrate Fmt, Doc & Pag to single xml (Step 3)";
this.btnMergeFmtPagDoc.UseVisualStyleBackColor = true;
this.btnMergeFmtPagDoc.Click += new System.EventHandler(this.btnMergeFmtPagDoc_Click);
//
// lblPathFmt
//
this.lblPathFmt.AutoSize = true;
this.lblPathFmt.Location = new System.Drawing.Point(7, 42);
this.lblPathFmt.Name = "lblPathFmt";
this.lblPathFmt.Size = new System.Drawing.Size(139, 17);
this.lblPathFmt.TabIndex = 10;
this.lblPathFmt.Text = "Path To Format Files";
//
// btnBrowseFmt
//
this.btnBrowseFmt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnBrowseFmt.Location = new System.Drawing.Point(476, 36);
this.btnBrowseFmt.Name = "btnBrowseFmt";
this.btnBrowseFmt.Size = new System.Drawing.Size(153, 23);
this.btnBrowseFmt.TabIndex = 11;
this.btnBrowseFmt.Text = "Browse (Format)";
this.btnBrowseFmt.UseVisualStyleBackColor = true;
this.btnBrowseFmt.Click += new System.EventHandler(this.btnBrowseFmt_Click);
//
// tbFmtPath
//
this.tbFmtPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbFmtPath.Location = new System.Drawing.Point(155, 37);
this.tbFmtPath.Name = "tbFmtPath";
this.tbFmtPath.Size = new System.Drawing.Size(303, 22);
this.tbFmtPath.TabIndex = 12;
//
// tbGenmacPath
//
this.tbGenmacPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbGenmacPath.Enabled = false;
this.tbGenmacPath.Location = new System.Drawing.Point(155, 144);
this.tbGenmacPath.Name = "tbGenmacPath";
this.tbGenmacPath.Size = new System.Drawing.Size(303, 22);
this.tbGenmacPath.TabIndex = 15;
//
// btnBrowseGenmac
//
this.btnBrowseGenmac.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnBrowseGenmac.Enabled = false;
this.btnBrowseGenmac.Location = new System.Drawing.Point(476, 143);
this.btnBrowseGenmac.Name = "btnBrowseGenmac";
this.btnBrowseGenmac.Size = new System.Drawing.Size(153, 23);
this.btnBrowseGenmac.TabIndex = 14;
this.btnBrowseGenmac.Text = "Browse (Genmac)";
this.btnBrowseGenmac.UseVisualStyleBackColor = true;
this.btnBrowseGenmac.Click += new System.EventHandler(this.btnBrowseGenmac_Click);
//
// lblPathGenmac
//
this.lblPathGenmac.AutoSize = true;
this.lblPathGenmac.Enabled = false;
this.lblPathGenmac.Location = new System.Drawing.Point(7, 149);
this.lblPathGenmac.Name = "lblPathGenmac";
this.lblPathGenmac.Size = new System.Drawing.Size(148, 17);
this.lblPathGenmac.TabIndex = 13;
this.lblPathGenmac.Text = "Path To Genmac Files";
//
// lblResult
//
this.lblResult.AutoSize = true;
this.lblResult.Location = new System.Drawing.Point(16, 10);
this.lblResult.Name = "lblResult";
this.lblResult.Size = new System.Drawing.Size(163, 17);
this.lblResult.TabIndex = 16;
this.lblResult.Text = "Path To Result Directory";
//
// tbResultPath
//
this.tbResultPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbResultPath.Location = new System.Drawing.Point(185, 8);
this.tbResultPath.Name = "tbResultPath";
this.tbResultPath.Size = new System.Drawing.Size(273, 22);
this.tbResultPath.TabIndex = 17;
//
// btnBrowseResult
//
this.btnBrowseResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnBrowseResult.Location = new System.Drawing.Point(476, 3);
this.btnBrowseResult.Name = "btnBrowseResult";
this.btnBrowseResult.Size = new System.Drawing.Size(153, 24);
this.btnBrowseResult.TabIndex = 18;
this.btnBrowseResult.Text = "Browse (Result)";
this.btnBrowseResult.UseVisualStyleBackColor = true;
this.btnBrowseResult.Click += new System.EventHandler(this.btnBrowseResult_Click);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsslStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 545);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(631, 25);
this.statusStrip1.TabIndex = 19;
this.statusStrip1.Text = "statusStrip1";
//
// tsslStatus
//
this.tsslStatus.Name = "tsslStatus";
this.tsslStatus.Size = new System.Drawing.Size(50, 20);
this.tsslStatus.Text = "Ready";
//
// btnRtfToSvg
//
this.btnRtfToSvg.Location = new System.Drawing.Point(424, 167);
this.btnRtfToSvg.Name = "btnRtfToSvg";
this.btnRtfToSvg.Size = new System.Drawing.Size(182, 51);
this.btnRtfToSvg.TabIndex = 20;
this.btnRtfToSvg.Text = "Convert Genmac RTF to SVG (GenMac One Step)";
this.btnRtfToSvg.Click += new System.EventHandler(this.btnRtfToSvg_Click);
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(631, 570);
this.Controls.Add(this.btnRtfToSvg);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.btnBrowseResult);
this.Controls.Add(this.tbResultPath);
this.Controls.Add(this.lblResult);
this.Controls.Add(this.tbGenmacPath);
this.Controls.Add(this.btnBrowseGenmac);
this.Controls.Add(this.lblPathGenmac);
this.Controls.Add(this.tbFmtPath);
this.Controls.Add(this.btnBrowseFmt);
this.Controls.Add(this.lblPathFmt);
this.Controls.Add(this.btnMergeFmtPagDoc);
this.Controls.Add(this.btnCvtFormat);
this.Controls.Add(this.btnCvtXmlToSVG);
this.Controls.Add(this.btnCvtGenmac);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnCvtPagDoc);
this.Name = "Form1";
this.Text = "Form1";
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
private static string[] _ExcludeList = "ANO,ATA,ATLAS,LPL,MYA,NAE,NAI,NAS,PAC,RBN,SCE,SRS,VP,WPF,YAE".Split(",".ToCharArray());
public static bool Excluded(FileInfo fi)
{
foreach (string prefix in _ExcludeList)
if (fi.Name.ToUpper().StartsWith(prefix)) return true;
return false;
}
private void btnCvtPagDoc_Click(object sender, System.EventArgs e)
{
CleanupDestinationFolder("*p.xml");
CleanupDestinationFolder("*d.xml");
// get all of the files in the e:\ve-proms\format directory.
DirectoryInfo di = new DirectoryInfo(tbFmtPath.Text); // "C:\\16bit\\ve-proms\\format");
FileInfo[] fis = di.GetFiles("*.pag");
ClearListBox();
foreach (FileInfo fi in fis)
{
if (!Excluded(fi))
{
string fn = fi.Name.Substring(0, fi.Name.Length - 4);
AddFileToListBox(fi);
FmtToXml fx = new FmtToXml(fn, tbFmtPath.Text);
}
}
fis = di.GetFiles("*.z*");
foreach (FileInfo fi in fis)
{
if (!Excluded(fi))
{
AddFileToListBox(fi);
FmtToXml fx = new FmtToXml(fi.Name, tbFmtPath.Text);
}
}
MessageBox.Show("DONE Converting Page and Document Styles to XML");
}
private void AddFileToListBox(FileInfo fi)
{
this.listBox1.Items.Add(fi.Name);
this.listBox1.SelectedIndex = this.listBox1.Items.Count - 1;
MyStatus = "Processing " + fi.Name;
Application.DoEvents();
}
private void ClearListBox()
{
listBox1.Items.Clear();
}
private void btnExit_Click(object sender, System.EventArgs e)
{
Application.Exit();
}
private void btnCvtGenmac_Click(object sender, System.EventArgs e)
{
// before doing the genmac change, use cpp -DRTF file after genmac.h
// has been emptied out on files in \promsnt\genmac. This creates
// precompiled files only, i.e. gets rid of some of the junk in the files.
// This conversion is done 1 time. After 32-bit print is done, the xml
// files will be used rather than the genmac.
DirectoryInfo di = new DirectoryInfo(tbGenmacPath.Text + @"\preproc"); // "C:\\16bit\\promsnt\\genmac\\preproc");
FileInfo[] fis = di.GetFiles("*.i");
ClearListBox();
foreach (FileInfo fi in fis)
{
// results go to e:\\proms.net\\genmac.xml\\convert
if (!Excluded(fi))
{
AddFileToListBox(fi);
GenToXml gn = new GenToXml(fi.Name, tbGenmacPath.Text, tbResultPath.Text);
}
}
MessageBox.Show("DONE Converting genmacs to XML - Results are in " + tbResultPath.Text + @"\genmacall\convert");
}
private void btnCvtXmlToSVG_Click(object sender, System.EventArgs e)
{
// delete current svg's
DirectoryInfo disvg = new DirectoryInfo(tbResultPath.Text + @"\genmacall"); //(@"C:\development\proms.net\genmac.xml");
FileInfo[] fissvg = disvg.GetFiles("*.svg");
foreach (FileInfo fi in fissvg)fi.Delete();
DirectoryInfo di = new DirectoryInfo(tbResultPath.Text + @"\genmacall\convert");
FileInfo[] fis = di.GetFiles("*.xml");
ClearListBox();
foreach (FileInfo fi in fis)
{
// results go to e:\proms.net\genmac.xml
AddFileToListBox(fi);
GenXmlToSvg gn = new GenXmlToSvg(fi.Name, tbResultPath.Text);
}
MessageBox.Show("DONE Converting genmacs.xmls to drawing svg - Results are in " + tbResultPath.Text + @"\genmacall");
}
private void btnCvtFormat_Click(object sender, EventArgs e)
{
CleanupDestinationFolder("*f.xml");
DateTime tStart = DateTime.Now;
// first convert base format - for now use genfmt.
MyStatus = "Processing Base";
FmtFileToXml gx = new FmtFileToXml(null, "BASE", "GEN", tbFmtPath.Text); // Create BASE from GEN format
// get all of the format files in the e:\ve-proms\format directory.
DirectoryInfo di = new DirectoryInfo(tbFmtPath.Text); // "C:\\16bit\\ve-proms\\format");
//DirectoryInfo di = new DirectoryInfo("E:\\proms.net\\exe\\fmtxml");
// This excludes Background format files *.BFM which use a different structure
FileInfo[] fis = di.GetFiles("*.fmt");
ClearListBox();
foreach (FileInfo fi in fis)
{
if (!Excluded(fi))
{
string fn = fi.Name.Substring(0, fi.Name.Length - 4);
if (fn.ToLower() != "base")
{
AddFileToListBox(fi);
FmtFileToXml fx = new FmtFileToXml(gx, fn, fn, tbFmtPath.Text);
}
}
}
MyStatus = string.Format("DONE Converting Formats to XML {0:F3} seconds", TimeSpan.FromTicks(DateTime.Now.Ticks - tStart.Ticks).TotalSeconds);
MessageBox.Show("DONE Converting Formats to XML");
}
private void CleanupDestinationFolder(string pattern)
{
DirectoryInfo di = new DirectoryInfo("fmt_xml");
if (di.Exists == false)
di.Create();
FileInfo[] fis = di.GetFiles(pattern);
foreach (FileInfo fi in fis) fi.Delete();
}
private void btnMergeFmtPagDoc_Click(object sender, EventArgs e)
{
ClearResults(tbResultPath.Text);
DateTime tStart = DateTime.Now;
MyStatus = "Merging...";
// get all of the generated xml format files in the fmt_xml directory and merge
// the fmt/doc/pag & subformats into one file.
DirectoryInfo di = new DirectoryInfo("fmt_xml");
//testDirectoryInfo di = new DirectoryInfo("E:\\proms.net\\exe\\fmtxml");
FileInfo[] fis = di.GetFiles("*f.xml");
ClearListBox();
foreach (FileInfo fi in fis)
{
// see if all three, format, doc & pag exist - if not, print error,
// if so, process
string docname = "fmt_xml\\" + fi.Name.Substring(0, fi.Name.Length - 5) + "p.xml";
string pagname = "fmt_xml\\" + fi.Name.Substring(0, fi.Name.Length - 5) + "d.xml";
if (File.Exists(docname) && File.Exists(pagname))
{
AddFileToListBox(fi);
EntireFormat ef = new EntireFormat("fmt_xml\\" + fi.Name, tbResultPath.Text);
}
else
Console.WriteLine("For {0}, page or document file does not exist.", fi.Name);
}
MyStatus = string.Format("DONE Merging Formats {0:F3} seconds", TimeSpan.FromTicks(DateTime.Now.Ticks - tStart.Ticks).TotalSeconds);
MessageBox.Show("DONE Merging Formats - Results are in " + tbResultPath.Text + @"fmtall'");
}
private void ClearResults(string path)
{
DirectoryInfo di = new DirectoryInfo(path);
if (di.Exists == false) return;
di = di.GetDirectories("fmtall")[0];
FileInfo[] fis = di.GetFiles("*.xml");
foreach (FileInfo fi in fis)
fi.Delete();
}
private void btnBrowseFmt_Click(object sender, EventArgs e)
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.SelectedPath = tbFmtPath.Text;
if (fbd.ShowDialog() == DialogResult.OK)
if (Directory.Exists(fbd.SelectedPath)) tbFmtPath.Text = fbd.SelectedPath;
}
private void btnBrowseGenmac_Click(object sender, EventArgs e)
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.SelectedPath = tbFmtPath.Text;
if (fbd.ShowDialog() == DialogResult.OK)
{
if (Directory.Exists(fbd.SelectedPath)) tbGenmacPath.Text = fbd.SelectedPath;
}
}
private void btnBrowseResult_Click(object sender, EventArgs e)
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.SelectedPath = tbResultPath.Text;
if (fbd.ShowDialog() == DialogResult.OK)
{
if (Directory.Exists(fbd.SelectedPath)) tbResultPath.Text = fbd.SelectedPath;
}
}
private void btnRtfToSvg_Click(object sender, EventArgs e)
{
// delete current svg's
DirectoryInfo disvg = new DirectoryInfo(tbResultPath.Text + @"\genmacall"); //(@"C:\development\proms.net\genmac.xml");
FileInfo[] fissvg = disvg.GetFiles("*.svg");
foreach (FileInfo fi in fissvg) fi.Delete();
DirectoryInfo di = new DirectoryInfo(tbFmtPath.Text);
FileInfo[] fis = di.GetFiles("*.rtf");
ClearListBox();
foreach (FileInfo fi in fis)
{
if (!Excluded(fi))
{
// results go to e:\proms.net\genmac.xml
AddFileToListBox(fi);
RtfToSvg myConvert = new RtfToSvg(fi);
if (myConvert.IsGenMac)
myConvert.Save(tbResultPath.Text + @"genmacall\" + fi.Name.ToLower().Replace(".rtf", ".svg"));
}
}
MessageBox.Show("DONE converting GenMac RTF files to drawing svg - Results are in " + tbResultPath.Text + @"genmacall");
}
// old code:
//private void button5_Click(object sender, System.EventArgs e)
//{
// DirectoryInfo di = new DirectoryInfo("C:\\16bit\\ve-proms.net\\genmac.xml");
// FileInfo[] fis = di.GetFiles("*.xml");
// listBox1.Items.Clear();
// foreach (FileInfo fi in fis)
// {
// this.listBox1.Items.Add(fi.Name);
// //XmlToPdf pdf = new XmlToPdf("C:\\16bit\\ve-proms.net\\genmac.xml",fi.Name);
// }
// MessageBox.Show("DONE generating PDF files from XML");
//}
//private void button6_Click(object sender, System.EventArgs e)
//{
// DirectoryInfo di = new DirectoryInfo("C:\\16bit\\proms.net\\genmac.xml");
// FileInfo[] fis = di.GetFiles("*.svg");
// listBox1.Items.Clear();
// foreach (FileInfo fi in fis)
// {
// this.listBox1.Items.Add(fi.Name);
// //SvgToPdf pdf = new SvgToPdf("C:\\16bit\\proms.net\\genmac.xml", fi.Name);
// }
// MessageBox.Show("DONE generating PDF files from SVG");
//}
}
}

View File

@@ -0,0 +1,69 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{68A28293-001C-4726-AA1A-7783E0FA6439}</ProjectGuid>
<OutputType>WinExe</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>Format, Genmac To XML, SVG</AssemblyName>
<RootNamespace>Format__Genmac_To_XML__SVG</RootNamespace>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>.\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="c1.c1pdf, Version=1.1.20052.40, Culture=neutral, PublicKeyToken=bc8d9c59cf1b601f" />
<Reference Include="C1.Common, Version=1.0.20031.116, Culture=neutral, PublicKeyToken=e272bb32d11b1948" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="EntireFormat.cs" />
<Compile Include="FmtFileToXml.cs" />
<Compile Include="FmtToXml.cs" />
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="GenToXml.cs" />
<Compile Include="GenXmlToSvg.cs" />
<Compile Include="SvgToPdf.cs" />
<Compile Include="XmlToPdf.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Volian.Utils.Library\CvtFont\CvtFont.csproj">
<Project>{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}</Project>
<Name>CvtFont</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
</Project>

View File

@@ -0,0 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Format To XML", "Format To XML.csproj", "{68A28293-001C-4726-AA1A-7783E0FA6439}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CvtFont", "..\Volian.Utils.Library\CvtFont\CvtFont.csproj", "{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}"
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccProjectUniqueName0 = ..\\Volian.Utils.Library\\CvtFont\\CvtFont.csproj
SccProjectName0 = \u0022$/PROMS/Volian.Utils.Library/CvtFont\u0022,\u0020TRDAAAAA
SccLocalPath0 = ..\\Volian.Utils.Library\\CvtFont
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName1 = Format\u0020To\u0020XML.csproj
SccProjectName1 = \u0022$/PROMS/fmtxml\u0022,\u0020URDAAAAA
SccLocalPath1 = .
SccProvider1 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{68A28293-001C-4726-AA1A-7783E0FA6439}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{68A28293-001C-4726-AA1A-7783E0FA6439}.Debug|Any CPU.Build.0 = Debug|Any CPU
{68A28293-001C-4726-AA1A-7783E0FA6439}.Release|Any CPU.ActiveCfg = Release|Any CPU
{68A28293-001C-4726-AA1A-7783E0FA6439}.Release|Any CPU.Build.0 = Release|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View 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)
{
}
}
}

View File

@@ -0,0 +1,78 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{830C64FF-60EF-4771-8073-D25BF2F2E3AE}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PrettyPrint</RootNamespace>
<AssemblyName>PrettyPrint</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="frmPrettyPrint.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmPrettyPrint.Designer.cs">
<DependentUpon>frmPrettyPrint.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmPrettyPrint.resx">
<SubType>Designer</SubType>
<DependentUpon>frmPrettyPrint.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace PrettyPrint
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmPrettyPrint());
}
}
}

View File

@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PrettyPrint")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PrettyPrint")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("fa8c01a2-0c39-405f-b733-1b38af0c590c")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4216
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PrettyPrint.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PrettyPrint.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4216
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PrettyPrint.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@@ -0,0 +1,208 @@
namespace PrettyPrint
{
partial class frmPrettyPrint
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tbInputFileName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.tsslStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.tspbStatus = new System.Windows.Forms.ToolStripProgressBar();
this.btnBrowse = new System.Windows.Forms.Button();
this.ofd = new System.Windows.Forms.OpenFileDialog();
this.sfd = new System.Windows.Forms.SaveFileDialog();
this.fbd = new System.Windows.Forms.FolderBrowserDialog();
this.btnPretty = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.tbOutputFileName = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tbFolder = new System.Windows.Forms.TextBox();
this.btnFolderBrowse = new System.Windows.Forms.Button();
this.btnFolderPretty = new System.Windows.Forms.Button();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// tbInputFileName
//
this.tbInputFileName.Location = new System.Drawing.Point(76, 29);
this.tbInputFileName.Name = "tbInputFileName";
this.tbInputFileName.Size = new System.Drawing.Size(434, 20);
this.tbInputFileName.TabIndex = 0;
this.tbInputFileName.Text = "C:\\Development\\fmtall\\AEP_00all.xml";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 31);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(50, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Input File";
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tspbStatus,
this.tsslStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 282);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(657, 22);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// tsslStatus
//
this.tsslStatus.Name = "tsslStatus";
this.tsslStatus.Size = new System.Drawing.Size(39, 17);
this.tsslStatus.Text = "Ready";
//
// tspbStatus
//
this.tspbStatus.Name = "tspbStatus";
this.tspbStatus.Size = new System.Drawing.Size(100, 16);
this.tspbStatus.Visible = false;
//
// btnBrowse
//
this.btnBrowse.Location = new System.Drawing.Point(516, 27);
this.btnBrowse.Name = "btnBrowse";
this.btnBrowse.Size = new System.Drawing.Size(59, 23);
this.btnBrowse.TabIndex = 3;
this.btnBrowse.Text = "Browse...";
this.btnBrowse.UseVisualStyleBackColor = true;
//
// btnPretty
//
this.btnPretty.Location = new System.Drawing.Point(516, 53);
this.btnPretty.Name = "btnPretty";
this.btnPretty.Size = new System.Drawing.Size(59, 23);
this.btnPretty.TabIndex = 4;
this.btnPretty.Text = "Pretty";
this.btnPretty.UseVisualStyleBackColor = true;
this.btnPretty.Click += new System.EventHandler(this.btnPretty_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 57);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(58, 13);
this.label2.TabIndex = 6;
this.label2.Text = "Output File";
//
// tbOutputFileName
//
this.tbOutputFileName.Location = new System.Drawing.Point(76, 55);
this.tbOutputFileName.Name = "tbOutputFileName";
this.tbOutputFileName.Size = new System.Drawing.Size(434, 20);
this.tbOutputFileName.TabIndex = 5;
this.tbOutputFileName.Text = "C:\\Development\\fmtall\\AEP_00all_out.xml";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 169);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(36, 13);
this.label3.TabIndex = 8;
this.label3.Text = "Folder";
//
// tbFolder
//
this.tbFolder.Location = new System.Drawing.Point(76, 167);
this.tbFolder.Name = "tbFolder";
this.tbFolder.Size = new System.Drawing.Size(434, 20);
this.tbFolder.TabIndex = 7;
this.tbFolder.Text = "C:\\Development\\fmtall";
//
// btnFolderBrowse
//
this.btnFolderBrowse.Location = new System.Drawing.Point(516, 165);
this.btnFolderBrowse.Name = "btnFolderBrowse";
this.btnFolderBrowse.Size = new System.Drawing.Size(59, 23);
this.btnFolderBrowse.TabIndex = 9;
this.btnFolderBrowse.Text = "Browse...";
this.btnFolderBrowse.UseVisualStyleBackColor = true;
this.btnFolderBrowse.Click += new System.EventHandler(this.btnFolderBrowse_Click);
//
// btnFolderPretty
//
this.btnFolderPretty.Location = new System.Drawing.Point(581, 164);
this.btnFolderPretty.Name = "btnFolderPretty";
this.btnFolderPretty.Size = new System.Drawing.Size(59, 23);
this.btnFolderPretty.TabIndex = 10;
this.btnFolderPretty.Text = "Pretty";
this.btnFolderPretty.UseVisualStyleBackColor = true;
this.btnFolderPretty.Click += new System.EventHandler(this.btnFolderPretty_Click);
//
// frmPrettyPrint
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(657, 304);
this.Controls.Add(this.btnFolderPretty);
this.Controls.Add(this.btnFolderBrowse);
this.Controls.Add(this.label3);
this.Controls.Add(this.tbFolder);
this.Controls.Add(this.label2);
this.Controls.Add(this.tbOutputFileName);
this.Controls.Add(this.btnPretty);
this.Controls.Add(this.btnBrowse);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.label1);
this.Controls.Add(this.tbInputFileName);
this.Name = "frmPrettyPrint";
this.Text = "PrettyPrint";
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox tbInputFileName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel tsslStatus;
private System.Windows.Forms.ToolStripProgressBar tspbStatus;
private System.Windows.Forms.Button btnBrowse;
private System.Windows.Forms.OpenFileDialog ofd;
private System.Windows.Forms.SaveFileDialog sfd;
private System.Windows.Forms.FolderBrowserDialog fbd;
private System.Windows.Forms.Button btnPretty;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tbOutputFileName;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tbFolder;
private System.Windows.Forms.Button btnFolderBrowse;
private System.Windows.Forms.Button btnFolderPretty;
}
}

View File

@@ -0,0 +1,96 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.IO;
namespace PrettyPrint
{
public partial class frmPrettyPrint : Form
{
public string MyStatus
{
get { return tsslStatus.Text; }
set { tsslStatus.Text = value; Application.DoEvents(); }
}
public frmPrettyPrint()
{
InitializeComponent();
}
private void btnPretty_Click(object sender, EventArgs e)
{
FileInfo fi = new FileInfo(tbOutputFileName.Text);
using(FileStream fs = fi.Create())
{
using (StreamWriter sw = new StreamWriter(fs))
{
XmlDocument doc = new XmlDocument();
//get your document
doc.Load(tbInputFileName.Text);
//create reader and writer
XmlNodeReader xmlReader = new XmlNodeReader(doc);
XmlTextWriter xmlWriter = new XmlTextWriter(sw);
//set formatting options
xmlWriter.Formatting = Formatting.Indented;
xmlWriter.Indentation = 1;
xmlWriter.IndentChar = '\t';
//write the document formatted
xmlWriter.WriteNode(xmlReader, true);
xmlWriter.Close();
xmlReader.Close();
sw.Close();
}
fs.Close();
}
}
private void btnFolderBrowse_Click(object sender, EventArgs e)
{
fbd.SelectedPath = tbFolder.Text;
if (fbd.ShowDialog() == DialogResult.OK)
tbFolder.Text = fbd.SelectedPath;
}
private void btnFolderPretty_Click(object sender, EventArgs e)
{
DirectoryInfo di = new DirectoryInfo(tbFolder.Text);
FileInfo [] files = di.GetFiles("*.xml");
tspbStatus.Maximum = files.Length;
tspbStatus.Visible = true;
tspbStatus.Value = 0;
foreach(FileInfo fi in files)
{
tspbStatus.Value ++;
MyStatus = string.Format("Processing {0}", fi.Name);
FixXML(fi);
}
tspbStatus.Visible = false;
MyStatus = "Ready";
}
private void FixXML(FileInfo fi)
{
DateTime lastModified = fi.LastWriteTime;
XmlDocument doc = new XmlDocument();
//get your document
doc.Load(fi.FullName);
using (FileStream fs = fi.Create())
{
//create reader and writer
XmlNodeReader xmlReader = new XmlNodeReader(doc);
XmlTextWriter xmlWriter = new XmlTextWriter(fs, Encoding.Unicode);
//set formatting options
xmlWriter.Formatting = Formatting.Indented;
xmlWriter.Indentation = 1;
xmlWriter.IndentChar = '\t';
//write the document formatted
xmlWriter.WriteNode(xmlReader, true);
xmlWriter.Close();
xmlReader.Close();
fs.Close();
}
fi.LastWriteTime = lastModified;
}
}
}

View File

@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ofd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>133, 17</value>
</metadata>
<metadata name="sfd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>273, 17</value>
</metadata>
<metadata name="fbd.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>409, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="fmtxml" GeneratedClassName="Settings1">
<Profiles />
<Settings>
<Setting Name="ResultsFolder" Type="System.String" Scope="User">
<Value Profile="(Default)">c:\development\</Value>
</Setting>
<Setting Name="FormatFolder" Type="System.String" Scope="User">
<Value Profile="(Default)">c:\16bit\ve-proms\format</Value>
</Setting>
<Setting Name="GenmacFolder" Type="System.String" Scope="User">
<Value Profile="(Default)">C:\16bit\promsnt\genmac</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@@ -0,0 +1,16 @@
<Step Name='Table'>
<Menu Action='Contingency' Available='true' Item='With Border'/>
</Step>
<Step Name='AERTable'>
<Menu Action='Normal/Standard' Available='true' MenuItem='AER Table with Border'/>
<Menu Action='Contingency' Available='false'/>
</Step>
<Step Name='Caution'>
<Menu Action='Normal/Standard' Available='true' Item='Standard Caution'>
<Alternate Type='Note'/>
<Alternate Type='High-Level Step'/>
</Menu>
</Step>
<Step Name='RNO'>
<Menu Action='Contingency' Available='false' Reason='Contingency steps cannot change type'/>
</Step>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace XSL_Transform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain());
}
}
}

View File

@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XSL Transform")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Volian Enterprises, Inc.")]
[assembly: AssemblyProduct("XSL Transform")]
[assembly: AssemblyCopyright("Copyright © Volian Enterprises, Inc. 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7e95cb06-46be-49c6-81e1-92302d9017e4")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XSL_Transform.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("XSL_Transform.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XSL_Transform.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,82 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{74593BA8-2F88-4FF2-89A6-9FBD358231D7}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XSL_Transform</RootNamespace>
<AssemblyName>XSL Transform</AssemblyName>
<ApplicationIcon>ARW05RT.ICO</ApplicationIcon>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="frmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMain.Designer.cs">
<DependentUpon>frmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmMain.resx">
<SubType>Designer</SubType>
<DependentUpon>frmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="ARW05RT.ICO" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XSL Transform", "XSL Transform.csproj", "{74593BA8-2F88-4FF2-89A6-9FBD358231D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,591 @@
namespace XSL_Transform
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TabPage tpSX;
System.Windows.Forms.TabPage tpRS;
System.Windows.Forms.TabPage tpSR;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
this.tbSX = new System.Windows.Forms.TextBox();
this.wbRS = new System.Windows.Forms.WebBrowser();
this.tbSR = new System.Windows.Forms.TextBox();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.tcSource = new System.Windows.Forms.TabControl();
this.tpSS = new System.Windows.Forms.TabPage();
this.tbSS = new System.Windows.Forms.TextBox();
this.tcResults = new System.Windows.Forms.TabControl();
this.tpRX = new System.Windows.Forms.TabPage();
this.wbRX = new System.Windows.Forms.WebBrowser();
this.tpRR = new System.Windows.Forms.TabPage();
this.wbRR = new System.Windows.Forms.WebBrowser();
this.tpXslHelp = new System.Windows.Forms.TabPage();
this.wbXSLHelp = new System.Windows.Forms.WebBrowser();
this.tpXPathHelp = new System.Windows.Forms.TabPage();
this.wbXPathHelp = new System.Windows.Forms.WebBrowser();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.xMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.miOpenXML = new System.Windows.Forms.ToolStripMenuItem();
this.miSaveXML = new System.Windows.Forms.ToolStripMenuItem();
this.miSaveAsXML = new System.Windows.Forms.ToolStripMenuItem();
this.xSLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.miOpenXSL = new System.Windows.Forms.ToolStripMenuItem();
this.miSaveXSL = new System.Windows.Forms.ToolStripMenuItem();
this.miSaveAsXSL = new System.Windows.Forms.ToolStripMenuItem();
this.resultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.miTransform = new System.Windows.Forms.ToolStripMenuItem();
this.miQuery = new System.Windows.Forms.ToolStripMenuItem();
this.miSaveAsResults = new System.Windows.Forms.ToolStripMenuItem();
this.miQuit = new System.Windows.Forms.ToolStripMenuItem();
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.specialToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ofdxml = new System.Windows.Forms.OpenFileDialog();
this.sfdxml = new System.Windows.Forms.SaveFileDialog();
this.ofdxsl = new System.Windows.Forms.OpenFileDialog();
this.sfdxsl = new System.Windows.Forms.SaveFileDialog();
this.sfdResults = new System.Windows.Forms.SaveFileDialog();
this.ofdResults = new System.Windows.Forms.OpenFileDialog();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.RowLbl = new System.Windows.Forms.ToolStripStatusLabel();
this.ColLbl = new System.Windows.Forms.ToolStripStatusLabel();
this.miRefreshXML = new System.Windows.Forms.ToolStripMenuItem();
this.miRefreshXSL = new System.Windows.Forms.ToolStripMenuItem();
tpSX = new System.Windows.Forms.TabPage();
tpRS = new System.Windows.Forms.TabPage();
tpSR = new System.Windows.Forms.TabPage();
tpSX.SuspendLayout();
tpRS.SuspendLayout();
tpSR.SuspendLayout();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.tcSource.SuspendLayout();
this.tpSS.SuspendLayout();
this.tcResults.SuspendLayout();
this.tpRX.SuspendLayout();
this.tpRR.SuspendLayout();
this.tpXslHelp.SuspendLayout();
this.tpXPathHelp.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// tpSX
//
tpSX.Controls.Add(this.tbSX);
tpSX.Location = new System.Drawing.Point(4, 22);
tpSX.Name = "tpSX";
tpSX.Padding = new System.Windows.Forms.Padding(3);
tpSX.Size = new System.Drawing.Size(426, 463);
tpSX.TabIndex = 0;
tpSX.Text = "XML";
tpSX.UseVisualStyleBackColor = true;
//
// tbSX
//
this.tbSX.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSX.Location = new System.Drawing.Point(3, 3);
this.tbSX.Multiline = true;
this.tbSX.Name = "tbSX";
this.tbSX.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbSX.Size = new System.Drawing.Size(420, 457);
this.tbSX.TabIndex = 0;
this.tbSX.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbSX_MouseUp);
this.tbSX.TextChanged += new System.EventHandler(this.tbTextChanged);
//
// tpRS
//
tpRS.Controls.Add(this.wbRS);
tpRS.Location = new System.Drawing.Point(4, 22);
tpRS.Name = "tpRS";
tpRS.Padding = new System.Windows.Forms.Padding(3);
tpRS.Size = new System.Drawing.Size(419, 463);
tpRS.TabIndex = 1;
tpRS.Text = "XSL";
tpRS.UseVisualStyleBackColor = true;
//
// wbRS
//
this.wbRS.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbRS.Location = new System.Drawing.Point(3, 3);
this.wbRS.MinimumSize = new System.Drawing.Size(20, 20);
this.wbRS.Name = "wbRS";
this.wbRS.Size = new System.Drawing.Size(413, 457);
this.wbRS.TabIndex = 1;
//
// tpSR
//
tpSR.Controls.Add(this.tbSR);
tpSR.Location = new System.Drawing.Point(4, 22);
tpSR.Name = "tpSR";
tpSR.Size = new System.Drawing.Size(426, 463);
tpSR.TabIndex = 2;
tpSR.Text = "Results";
tpSR.UseVisualStyleBackColor = true;
//
// tbSR
//
this.tbSR.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSR.Location = new System.Drawing.Point(0, 0);
this.tbSR.Multiline = true;
this.tbSR.Name = "tbSR";
this.tbSR.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbSR.Size = new System.Drawing.Size(426, 463);
this.tbSR.TabIndex = 1;
this.tbSR.TextChanged += new System.EventHandler(this.tbTextChanged);
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 24);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.tcSource);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.tcResults);
this.splitContainer1.Size = new System.Drawing.Size(865, 489);
this.splitContainer1.SplitterDistance = 434;
this.splitContainer1.TabIndex = 0;
//
// tcSource
//
this.tcSource.Controls.Add(tpSX);
this.tcSource.Controls.Add(this.tpSS);
this.tcSource.Controls.Add(tpSR);
this.tcSource.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcSource.Location = new System.Drawing.Point(0, 0);
this.tcSource.Name = "tcSource";
this.tcSource.SelectedIndex = 0;
this.tcSource.Size = new System.Drawing.Size(434, 489);
this.tcSource.TabIndex = 0;
//
// tpSS
//
this.tpSS.Controls.Add(this.tbSS);
this.tpSS.Location = new System.Drawing.Point(4, 22);
this.tpSS.Name = "tpSS";
this.tpSS.Padding = new System.Windows.Forms.Padding(3);
this.tpSS.Size = new System.Drawing.Size(426, 463);
this.tpSS.TabIndex = 1;
this.tpSS.Text = "XSL";
this.tpSS.UseVisualStyleBackColor = true;
//
// tbSS
//
this.tbSS.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSS.Location = new System.Drawing.Point(3, 3);
this.tbSS.Multiline = true;
this.tbSS.Name = "tbSS";
this.tbSS.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tbSS.Size = new System.Drawing.Size(420, 457);
this.tbSS.TabIndex = 1;
this.tbSS.TextChanged += new System.EventHandler(this.tbTextChanged);
//
// tcResults
//
this.tcResults.Controls.Add(this.tpRX);
this.tcResults.Controls.Add(tpRS);
this.tcResults.Controls.Add(this.tpRR);
this.tcResults.Controls.Add(this.tpXslHelp);
this.tcResults.Controls.Add(this.tpXPathHelp);
this.tcResults.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcResults.Location = new System.Drawing.Point(0, 0);
this.tcResults.Name = "tcResults";
this.tcResults.SelectedIndex = 0;
this.tcResults.Size = new System.Drawing.Size(427, 489);
this.tcResults.TabIndex = 1;
this.tcResults.SelectedIndexChanged += new System.EventHandler(this.tcResults_SelectedIndexChanged);
//
// tpRX
//
this.tpRX.Controls.Add(this.wbRX);
this.tpRX.Location = new System.Drawing.Point(4, 22);
this.tpRX.Name = "tpRX";
this.tpRX.Padding = new System.Windows.Forms.Padding(3);
this.tpRX.Size = new System.Drawing.Size(419, 463);
this.tpRX.TabIndex = 0;
this.tpRX.Text = "XML";
this.tpRX.UseVisualStyleBackColor = true;
//
// wbRX
//
this.wbRX.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbRX.Location = new System.Drawing.Point(3, 3);
this.wbRX.MinimumSize = new System.Drawing.Size(20, 20);
this.wbRX.Name = "wbRX";
this.wbRX.Size = new System.Drawing.Size(413, 457);
this.wbRX.TabIndex = 0;
//
// tpRR
//
this.tpRR.Controls.Add(this.wbRR);
this.tpRR.Location = new System.Drawing.Point(4, 22);
this.tpRR.Name = "tpRR";
this.tpRR.Size = new System.Drawing.Size(419, 463);
this.tpRR.TabIndex = 2;
this.tpRR.Text = "Results";
this.tpRR.UseVisualStyleBackColor = true;
//
// wbRR
//
this.wbRR.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbRR.Location = new System.Drawing.Point(0, 0);
this.wbRR.MinimumSize = new System.Drawing.Size(20, 20);
this.wbRR.Name = "wbRR";
this.wbRR.Size = new System.Drawing.Size(419, 463);
this.wbRR.TabIndex = 1;
//
// tpXslHelp
//
this.tpXslHelp.Controls.Add(this.wbXSLHelp);
this.tpXslHelp.Location = new System.Drawing.Point(4, 22);
this.tpXslHelp.Name = "tpXslHelp";
this.tpXslHelp.Size = new System.Drawing.Size(419, 463);
this.tpXslHelp.TabIndex = 3;
this.tpXslHelp.Text = "XSL Help";
this.tpXslHelp.UseVisualStyleBackColor = true;
//
// wbXSLHelp
//
this.wbXSLHelp.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbXSLHelp.Location = new System.Drawing.Point(0, 0);
this.wbXSLHelp.MinimumSize = new System.Drawing.Size(20, 20);
this.wbXSLHelp.Name = "wbXSLHelp";
this.wbXSLHelp.Size = new System.Drawing.Size(419, 463);
this.wbXSLHelp.TabIndex = 3;
//
// tpXPathHelp
//
this.tpXPathHelp.Controls.Add(this.wbXPathHelp);
this.tpXPathHelp.Location = new System.Drawing.Point(4, 22);
this.tpXPathHelp.Name = "tpXPathHelp";
this.tpXPathHelp.Size = new System.Drawing.Size(419, 463);
this.tpXPathHelp.TabIndex = 4;
this.tpXPathHelp.Text = "XPath Help";
this.tpXPathHelp.UseVisualStyleBackColor = true;
//
// wbXPathHelp
//
this.wbXPathHelp.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbXPathHelp.Location = new System.Drawing.Point(0, 0);
this.wbXPathHelp.MinimumSize = new System.Drawing.Size(20, 20);
this.wbXPathHelp.Name = "wbXPathHelp";
this.wbXPathHelp.Size = new System.Drawing.Size(419, 463);
this.wbXPathHelp.TabIndex = 2;
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.xMLToolStripMenuItem,
this.xSLToolStripMenuItem,
this.resultToolStripMenuItem,
this.miQuit,
this.searchToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(865, 24);
this.menuStrip1.TabIndex = 1;
this.menuStrip1.Text = "menuStrip1";
//
// xMLToolStripMenuItem
//
this.xMLToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.miOpenXML,
this.miSaveXML,
this.miSaveAsXML,
this.miRefreshXML});
this.xMLToolStripMenuItem.Name = "xMLToolStripMenuItem";
this.xMLToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
this.xMLToolStripMenuItem.Text = "XML";
//
// miOpenXML
//
this.miOpenXML.Name = "miOpenXML";
this.miOpenXML.Size = new System.Drawing.Size(152, 22);
this.miOpenXML.Tag = "0";
this.miOpenXML.Text = "Open";
this.miOpenXML.Click += new System.EventHandler(this.miOpen_Click);
//
// miSaveXML
//
this.miSaveXML.Name = "miSaveXML";
this.miSaveXML.Size = new System.Drawing.Size(152, 22);
this.miSaveXML.Tag = "0";
this.miSaveXML.Text = "Save";
this.miSaveXML.Click += new System.EventHandler(this.miSave_Click);
//
// miSaveAsXML
//
this.miSaveAsXML.Name = "miSaveAsXML";
this.miSaveAsXML.Size = new System.Drawing.Size(152, 22);
this.miSaveAsXML.Tag = "0";
this.miSaveAsXML.Text = "Save As";
this.miSaveAsXML.Click += new System.EventHandler(this.miSaveAs_Click);
//
// xSLToolStripMenuItem
//
this.xSLToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.miOpenXSL,
this.miSaveXSL,
this.miSaveAsXSL,
this.miRefreshXSL});
this.xSLToolStripMenuItem.Name = "xSLToolStripMenuItem";
this.xSLToolStripMenuItem.Size = new System.Drawing.Size(36, 20);
this.xSLToolStripMenuItem.Text = "XSL";
//
// miOpenXSL
//
this.miOpenXSL.Name = "miOpenXSL";
this.miOpenXSL.Size = new System.Drawing.Size(152, 22);
this.miOpenXSL.Tag = "1";
this.miOpenXSL.Text = "Open";
this.miOpenXSL.Click += new System.EventHandler(this.miOpen_Click);
//
// miSaveXSL
//
this.miSaveXSL.Name = "miSaveXSL";
this.miSaveXSL.Size = new System.Drawing.Size(152, 22);
this.miSaveXSL.Tag = "1";
this.miSaveXSL.Text = "Save";
this.miSaveXSL.Click += new System.EventHandler(this.miSave_Click);
//
// miSaveAsXSL
//
this.miSaveAsXSL.Name = "miSaveAsXSL";
this.miSaveAsXSL.Size = new System.Drawing.Size(152, 22);
this.miSaveAsXSL.Tag = "1";
this.miSaveAsXSL.Text = "Save As";
this.miSaveAsXSL.Click += new System.EventHandler(this.miSaveAs_Click);
//
// resultToolStripMenuItem
//
this.resultToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.miTransform,
this.miQuery,
this.miSaveAsResults});
this.resultToolStripMenuItem.Name = "resultToolStripMenuItem";
this.resultToolStripMenuItem.Size = new System.Drawing.Size(49, 20);
this.resultToolStripMenuItem.Text = "Result";
//
// miTransform
//
this.miTransform.Name = "miTransform";
this.miTransform.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
this.miTransform.Size = new System.Drawing.Size(172, 22);
this.miTransform.Text = "Transform";
this.miTransform.Click += new System.EventHandler(this.miTransform_Click);
//
// miQuery
//
this.miQuery.Name = "miQuery";
this.miQuery.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
this.miQuery.Size = new System.Drawing.Size(172, 22);
this.miQuery.Text = "Query";
this.miQuery.Click += new System.EventHandler(this.miQuery_Click);
//
// miSaveAsResults
//
this.miSaveAsResults.Name = "miSaveAsResults";
this.miSaveAsResults.Size = new System.Drawing.Size(172, 22);
this.miSaveAsResults.Tag = "2";
this.miSaveAsResults.Text = "Save";
this.miSaveAsResults.Click += new System.EventHandler(this.miSaveAs_Click);
//
// miQuit
//
this.miQuit.Name = "miQuit";
this.miQuit.Size = new System.Drawing.Size(39, 20);
this.miQuit.Text = "&Quit";
this.miQuit.Click += new System.EventHandler(this.miQuit_Click);
//
// searchToolStripMenuItem
//
this.searchToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.specialToolStripMenuItem});
this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
this.searchToolStripMenuItem.Size = new System.Drawing.Size(52, 20);
this.searchToolStripMenuItem.Text = "Search";
//
// specialToolStripMenuItem
//
this.specialToolStripMenuItem.Name = "specialToolStripMenuItem";
this.specialToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
this.specialToolStripMenuItem.Text = "Special Characters";
this.specialToolStripMenuItem.Click += new System.EventHandler(this.specialToolStripMenuItem_Click);
//
// ofdxml
//
this.ofdxml.FileOk += new System.ComponentModel.CancelEventHandler(this.OpenFileOk);
//
// sfdxml
//
this.sfdxml.FileOk += new System.ComponentModel.CancelEventHandler(this.SaveFileOk);
//
// ofdxsl
//
this.ofdxsl.FileOk += new System.ComponentModel.CancelEventHandler(this.OpenFileOk);
//
// sfdxsl
//
this.sfdxsl.FileOk += new System.ComponentModel.CancelEventHandler(this.SaveFileOk);
//
// sfdResults
//
this.sfdResults.FileOk += new System.ComponentModel.CancelEventHandler(this.SaveFileOk);
//
// ofdResults
//
this.ofdResults.FileOk += new System.ComponentModel.CancelEventHandler(this.OpenFileOk);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.RowLbl,
this.ColLbl});
this.statusStrip1.Location = new System.Drawing.Point(0, 513);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(865, 22);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// RowLbl
//
this.RowLbl.Name = "RowLbl";
this.RowLbl.Size = new System.Drawing.Size(41, 17);
this.RowLbl.Text = "Row: 0";
//
// ColLbl
//
this.ColLbl.Name = "ColLbl";
this.ColLbl.Size = new System.Drawing.Size(55, 17);
this.ColLbl.Text = "Column: 0";
//
// miRefreshXML
//
this.miRefreshXML.Name = "miRefreshXML";
this.miRefreshXML.Size = new System.Drawing.Size(152, 22);
this.miRefreshXML.Tag = "0";
this.miRefreshXML.Text = "Refresh";
this.miRefreshXML.Click += new System.EventHandler(this.miRefresh_Click);
//
// miRefreshXSL
//
this.miRefreshXSL.Name = "miRefreshXSL";
this.miRefreshXSL.Size = new System.Drawing.Size(152, 22);
this.miRefreshXSL.Tag = "1";
this.miRefreshXSL.Text = "Refresh";
this.miRefreshXSL.Click += new System.EventHandler(this.miRefresh_Click);
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(865, 535);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.menuStrip1);
this.Controls.Add(this.statusStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmMain";
this.Text = "XML Query and Transform Tool";
tpSX.ResumeLayout(false);
tpSX.PerformLayout();
tpRS.ResumeLayout(false);
tpSR.ResumeLayout(false);
tpSR.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.tcSource.ResumeLayout(false);
this.tpSS.ResumeLayout(false);
this.tpSS.PerformLayout();
this.tcResults.ResumeLayout(false);
this.tpRX.ResumeLayout(false);
this.tpRR.ResumeLayout(false);
this.tpXslHelp.ResumeLayout(false);
this.tpXPathHelp.ResumeLayout(false);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.TabControl tcSource;
private System.Windows.Forms.TabPage tpSS;
private System.Windows.Forms.TabControl tcResults;
private System.Windows.Forms.TabPage tpRX;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem xMLToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem miOpenXML;
private System.Windows.Forms.ToolStripMenuItem miSaveXML;
private System.Windows.Forms.ToolStripMenuItem miSaveAsXML;
private System.Windows.Forms.ToolStripMenuItem xSLToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem miOpenXSL;
private System.Windows.Forms.ToolStripMenuItem miSaveXSL;
private System.Windows.Forms.ToolStripMenuItem miSaveAsXSL;
private System.Windows.Forms.ToolStripMenuItem resultToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem miTransform;
private System.Windows.Forms.ToolStripMenuItem miQuery;
private System.Windows.Forms.ToolStripMenuItem miSaveAsResults;
private System.Windows.Forms.ToolStripMenuItem miQuit;
private System.Windows.Forms.OpenFileDialog ofdxml;
private System.Windows.Forms.SaveFileDialog sfdxml;
private System.Windows.Forms.OpenFileDialog ofdxsl;
private System.Windows.Forms.SaveFileDialog sfdxsl;
private System.Windows.Forms.SaveFileDialog sfdResults;
private System.Windows.Forms.TabPage tpRR;
private System.Windows.Forms.TextBox tbSX;
private System.Windows.Forms.TextBox tbSS;
private System.Windows.Forms.TextBox tbSR;
private System.Windows.Forms.WebBrowser wbRX;
private System.Windows.Forms.WebBrowser wbRS;
private System.Windows.Forms.WebBrowser wbRR;
private System.Windows.Forms.OpenFileDialog ofdResults;
private System.Windows.Forms.TabPage tpXslHelp;
private System.Windows.Forms.TabPage tpXPathHelp;
private System.Windows.Forms.WebBrowser wbXSLHelp;
private System.Windows.Forms.WebBrowser wbXPathHelp;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel RowLbl;
private System.Windows.Forms.ToolStripStatusLabel ColLbl;
private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem specialToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem miRefreshXML;
private System.Windows.Forms.ToolStripMenuItem miRefreshXSL;
}
}

View File

@@ -0,0 +1,289 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml.Xsl;
using System.Xml;
using System.IO;
using System.Text.RegularExpressions;
namespace XSL_Transform
{
public partial class frmMain : Form
{
private bool[] _Dirty = new bool[] { false, false, false };
private string[] _Name = new string[] { "XML", "XSL", "Results" };
private SaveFileDialog[] _Sfd;
private OpenFileDialog[] _Ofd;
private TextBox[] _Tb;
private WebBrowser[] _Wb;
private Dictionary<OpenFileDialog, Tabs> _OpenDict = new Dictionary<OpenFileDialog, Tabs>();
private Dictionary<SaveFileDialog, Tabs> _SaveDict = new Dictionary<SaveFileDialog, Tabs>();
private Dictionary<TextBox, Tabs> _TextBoxDict = new Dictionary<TextBox, Tabs>();
enum Tabs : int
{
XML=0,XSL=1,Results=2
}
public frmMain()
{
InitializeComponent();
_Sfd = new SaveFileDialog[] { sfdxml, sfdxsl, sfdResults };
_Ofd = new OpenFileDialog[] { ofdxml, ofdxsl, ofdResults };
_Tb = new TextBox[] { tbSX, tbSS, tbSR };
_Wb = new WebBrowser[] { wbRX, wbRS, wbRR };
foreach (Tabs tab in Enum.GetValues(typeof(Tabs)))
{
_SaveDict.Add(_Sfd[(int)tab], tab);
_OpenDict.Add(_Ofd[(int)tab], tab);
_TextBoxDict.Add(_Tb[(int)tab], tab);
}
}
void SaveFileOk(object sender, CancelEventArgs e)
{
SaveIt(_SaveDict[(SaveFileDialog)sender]);
}
private void SaveIt(Tabs tab)
{
_Ofd[(int)tab].FileName = _Sfd[(int)tab].FileName;
StreamWriter sw = File.CreateText(_Sfd[(int)tab].FileName);
sw.Write(_Tb[(int)tab].Text);
sw.Close();
_Dirty[(int)tab] = false;
}
void OpenFileOk(object sender, CancelEventArgs e)
{
OpenIt(_OpenDict[(OpenFileDialog) sender]);
}
private void ShowTab(Tabs tabs)
{
if (tcResults.SelectedIndex == (int)tabs)
ShowActiveTab();
else
tcResults.SelectedIndex = (int)tabs;// Activate the Approproate Browser
}
private void OpenIt(Tabs tab)
{
_Sfd[(int)tab].FileName = _Ofd[(int)tab].FileName;
LoadTB(_Tb[(int)tab],_Ofd[(int)tab].FileName);
_Dirty[(int)tab] = false;
tcSource.SelectedIndex = (int)tab;// Activate the Appropriate Tab
ShowTab(tab);
}
private bool SaveChanges(Tabs tab)
{
if (!_Dirty[(int)tab]) return true;
DialogResult dr = MessageBox.Show("Save changes to " + _Name[(int)tab] + " file?", "Save Changes",
MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
if (dr == DialogResult.Cancel) return false;
if (dr == DialogResult.Yes) SaveIt(tab);
return true;
}
private void LoadTB(TextBox tb, string fileName)
{
FileInfo f = new FileInfo(fileName);
StreamReader sr = f.OpenText();
tb.Text = sr.ReadToEnd();
sr.Close();
}
private void miQuit_Click(object sender, EventArgs e)
{
if (SaveChanges()) this.Close();
}
private bool SaveChanges()
{
foreach (Tabs tab in Enum.GetValues(typeof(Tabs)))
if (!SaveChanges(tab)) return false;
return true;
}
private Tabs TabValue(ToolStripDropDownItem mi)
{
return (Tabs)int.Parse(mi.Tag.ToString());
}
private void miOpen_Click(object sender, EventArgs e)
{
Tabs tab = TabValue((ToolStripDropDownItem)sender);
if (SaveChanges(tab))
_Ofd[(int)tab].ShowDialog();
}
private void miRefresh_Click(object sender, EventArgs e)
{
Tabs tab = TabValue((ToolStripDropDownItem)sender);
OpenIt(tab);
}
private void miSaveAs_Click(object sender, EventArgs e)
{
Tabs tab = TabValue((ToolStripDropDownItem)sender);
_Sfd[(int)tab].ShowDialog();
}
private void miSave_Click(object sender, EventArgs e)
{
Tabs tab = TabValue((ToolStripDropDownItem)sender);
if (_Sfd[(int)tab].FileName == string.Empty)
_Sfd[(int)tab].ShowDialog();
else
SaveIt(tab);
}
private string FormatException(Exception ex)
{
return string.Format("{0} - {1}", ex.GetType().Name, ex.Message);
}
private void ShowException(Exception ex)
{
ShowException(ex, null);
}
private void ShowException(Exception ex,string sResults)
{
if (sResults != null)
{
LoadTB(tbSR, sResults);
}
StringBuilder sb = new StringBuilder(FormatException(ex));
sb.Append("\r\n");
for (; ex.InnerException != null; ex = ex.InnerException)
{
sb.Append(FormatException(ex.InnerException));
sb.Append("\r\n");
}
tbSR.SelectionStart = 0;
tbSR.SelectedText=sb.ToString();
}
private void miQuery_Click(object sender, EventArgs e)
{
try
{
XmlDocument xd = new XmlDocument();
xd.LoadXml(tbSX.Text);
XmlNodeList nl = xd.SelectNodes(tbSS.Text);
if (nl.Count > 0)
{
StringBuilder sb= new StringBuilder("<Results>");
foreach (XmlNode nd in nl)
sb.Append(string.Format("\r\n <Result Type='{0}'>{1}</Result>",nd.GetType().Name,nd.OuterXml));
sb.Append("\r\n</Results>");
tbSR.Text = sb.ToString();
}
else
tbSR.Text = "No nodes found matching criteria";
}
catch (Exception ex)
{
ShowException(ex);
}
ShowTab(Tabs.Results);
}
private void miTransform_Click(object sender, EventArgs e)
{
string sXSL = Save(tbSS, "tmpS");
string sXML = Save(tbSX, "tmpX");
string sResults = Application.StartupPath + "\\" + "tmpR.XML";
try
{
XslCompiledTransform xsl = new XslCompiledTransform();
xsl.Load(sXSL);
xsl.Transform(sXML, sResults); // Perform Transform
LoadTB(tbSR, sResults);
}
catch (Exception ex)
{
ShowException(ex,sResults);
}
ShowTab(Tabs.Results);
}
private void ShowActiveTab()
{
Tabs tab = (Tabs)tcResults.SelectedIndex;
_Wb[(int)tab].Navigate(Save(_Tb[(int)tab], _Name[(int)tab]));
}
private void tcResults_SelectedIndexChanged(object sender, EventArgs e)
{
switch (tcResults.SelectedIndex)
{
case 3:
if (wbXSLHelp.Url == null)
wbXSLHelp.Navigate("http://www.w3schools.com/xsl/default.asp");
break;
case 4:
if (wbXPathHelp.Url == null)
wbXPathHelp.Navigate("http://www.w3schools.com/xpath/");
break;
default:
ShowActiveTab();
break;
}
}
private string Extension(string txt)
{
if (txt.Substring(0, 5) == "<html") return ".html";
try
{
XmlDocument xd = new XmlDocument();
xd.LoadXml(txt);
if (xd.OuterXml == string.Empty) return ".txt";
else return ".xml";
}
catch (Exception)
{
return ".txt";
}
}
private string Save(TextBox tb, string path)
{
if (tb.Text == string.Empty) return "about:blank";
string sPath = Application.StartupPath + "\\" + path + Extension(tb.Text) ;
StreamWriter sw = File.CreateText(sPath);
sw.Write(tb.Text);
sw.Close();
return sPath;
}
private void tbTextChanged(object sender, EventArgs e)
{
_Dirty[(int)_TextBoxDict[(TextBox)sender]] = true;
}
private void tbSX_MouseUp(object sender, MouseEventArgs e)
{
RefreshLabels(tbSX.Text, tbSX.SelectionStart);
}
private void RefreshLabels(string s, int location)
{
int row = 0;
int col = 0;
int ii = 0;
while (ii < location)
{
if (s[ii] == '\r')
{
row++;
col = 0;
}
if (s[ii] != '\n') col++;
ii++;
}
RowLbl.Text = string.Format("Row: {0}", row);
ColLbl.Text = string.Format("Col: {0}", col);
}
private void specialToolStripMenuItem_Click(object sender, EventArgs e)
{
SortedList<int, int> sl = new SortedList<int, int>();
foreach (Match match in Regex.Matches(tbSX.Text,"&#x([0-9]*);"))
{
int num = int.Parse(match.Value.Substring(3).TrimEnd(";".ToCharArray()));
if(num != 9 && num != 10 && num != 13){
if (sl.ContainsKey(num)) sl[num] = sl[num] + 1;
else sl[num] = 1;
}
}
// When all done show the results in a list.
tbSR.Text = "Special Characters";
foreach (int key in sl.Keys)
{
tbSR.Text += string.Format("\r\n{0} Ctrl-{1} - {2}", key, Convert.ToChar('A' - 1 + key), sl[key]);
}
ShowTab(Tabs.Results);
}
}
}

View File

@@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tpSX.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="tpRS.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="tpSR.GenerateMember" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ofdxml.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
</metadata>
<metadata name="sfdxml.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>256, 17</value>
</metadata>
<metadata name="ofdxsl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>340, 17</value>
</metadata>
<metadata name="sfdxsl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>470, 17</value>
</metadata>
<metadata name="sfdResults.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>598, 17</value>
</metadata>
<metadata name="ofdResults.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>700, 17</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>803, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAIAICAQAAAAAADoAgAAJgAAABAQEAAAAAAAKAEAAA4DAAAoAAAAIAAAAEAAAAABAAQAAAAAAIAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAAAACAAIAAgIAAAICAgADAwMAAAAD/AAD/
AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////
//////////////////////////P////4/////D////wP///+A////gD///8AP4AAAA8AAAADAAAAAAAA
AAOAAAAP//8AP//+AP///gP///wP///8P///+P////P/////////////////////////////////////
//8oAAAAEAAAACAAAAABAAQAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAA
AACAAIAAgIAAAICAgADAwMAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA////AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAP//
AAD//wAA/P8AAP4/AAD+DwAAgAMAAAAAAACAAQAA/gcAAP4fAAD8fwAA/f8AAP//AAD//wAA//8AAA==
</value>
</data>
</root>

21
PROMS/fmtxml/app.config Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="fmtxml.Settings1" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<fmtxml.Settings1>
<setting name="ResultsFolder" serializeAs="String">
<value>c:\development\</value>
</setting>
<setting name="FormatFolder" serializeAs="String">
<value>c:\16bit\ve-proms\format</value>
</setting>
<setting name="GenmacFolder" serializeAs="String">
<value>C:\16bit\promsnt\genmac</value>
</setting>
</fmtxml.Settings1>
</userSettings>
</configuration>

View File

@@ -0,0 +1,3 @@
copy c:\development\proms\fmtxml\wst1all.xml c:\development\fmtall\
copy c:\development\proms\fmtxml\wst2all.xml c:\development\fmtall\
pause

View File

@@ -0,0 +1,3 @@
copy c:\development\proms\fmtxml\wst1.xml c:\development\fmtall\
copy c:\development\proms\fmtxml\wst2.xml c:\development\fmtall\
pause

View File

@@ -7,6 +7,12 @@
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>fmtxml</AssemblyName>
<RootNamespace>fmtxml</RootNamespace>
<SccProjectName>"%24/PROMS/fmtxml", URDAAAAA</SccProjectName>
<SccLocalPath>.</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>MSSCCI:Microsoft Visual SourceSafe</SccProvider>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -14,6 +20,7 @@
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -32,17 +39,61 @@
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
<Content Include="ComPeakFlex.svg" />
<Content Include="ComPeakFlexall.xml" />
<Content Include="fnpnmp.svg" />
<Content Include="FNPNMPall.xml" />
<Content Include="hlpfsg.svg" />
<Content Include="HLPFSGall.xml" />
<Content Include="removeempty.xsl" />
<Content Include="TranslateDoc.XSL" />
<Content Include="TranslateFMT.XSL" />
<Content Include="TranslatePAG.XSL" />
<Content Include="removeFmtUseCO.xsl">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TranslateDoc.XSL">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TranslateFMT.XSL">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="TranslatePAG.XSL">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="wst1.svg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="WST1all.xml">
</Content>
<Content Include="wst2.svg">
</Content>
<Content Include="WST2all.xml">
</Content>
<Content Include="wstalr.svg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="WSTALRall.xml">
</Content>
<Content Include="wstbck.svg" />
<Content Include="WSTBCKall.xml" />
<Content Include="wstckl.svg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="WSTCKLall.xml">
</Content>
<Content Include="wstDCS.svg" />
<Content Include="WSTDCSall.xml" />
<Content Include="_UpgradeReport_Files\UpgradeReport.css" />
<Content Include="_UpgradeReport_Files\UpgradeReport.xslt" />
<Content Include="_UpgradeReport_Files\UpgradeReport_Minus.gif" />
<Content Include="_UpgradeReport_Files\UpgradeReport_Plus.gif" />
</ItemGroup>
<ItemGroup>
<Compile Include="AppendPlantSpecific.cs" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="PlantSpecific_Calvert.cs" />
<Compile Include="PlantSpecific_PointBeach.cs" />
<Compile Include="PlantSpecific_ByrBwd.cs" />
<Compile Include="PlantSpecific_Gen.cs" />
<Compile Include="PlantSpecific_Catawba.cs" />
<Compile Include="EntireFormat.cs" />
<Compile Include="FmtFileToXml.cs" />
<Compile Include="FmtToXml.cs" />
@@ -51,6 +102,16 @@
</Compile>
<Compile Include="GenToXml.cs" />
<Compile Include="GenXmlToSvg.cs" />
<Compile Include="PlantSpecific_ComanchePeak.cs" />
<Compile Include="PlantSpecific_McGuire.cs" />
<Compile Include="PlantSpecific_PrairieIsland.cs" />
<Compile Include="PlantSpecific_Robinson.cs" />
<Compile Include="PlantSpecific_SouthTexas.cs" />
<Compile Include="PlantSpecific_Summer.cs" />
<Compile Include="PlantSpecific_WolfCreak.cs" />
<Compile Include="PSI.cs" />
<Compile Include="RtfToSvg.cs" />
<Compile Include="Settings.Designer.cs" />
<Compile Include="SvgToPdf.cs" />
<Compile Include="XmlToPdf.cs" />
</ItemGroup>
@@ -59,10 +120,6 @@
<DependentUpon>Form1.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="licenses.licx" />
</ItemGroup>
<ItemGroup>
<None Include="TranslateFMT.XSL.bak" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Volian.Utils.Library\CvtFont\CvtFont.csproj">
@@ -74,4 +131,8 @@
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

55
PROMS/fmtxml/fmtxml.sln Normal file
View File

@@ -0,0 +1,55 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fmtxml", "fmtxml.csproj", "{66A20362-1B7E-4F9D-BABA-86E29EA60994}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CvtFont", "..\Volian.Utils.Library\CvtFont\CvtFont.csproj", "{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XSL Transform", "XSL Transform\XSL Transform.csproj", "{74593BA8-2F88-4FF2-89A6-9FBD358231D7}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
EndProjectSection
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccProjectUniqueName0 = ..\\Volian.Utils.Library\\CvtFont\\CvtFont.csproj
SccProjectName0 = \u0022$/PROMS/Volian.Utils.Library/CvtFont\u0022,\u0020TRDAAAAA
SccLocalPath0 = ..\\Volian.Utils.Library\\CvtFont
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectUniqueName1 = fmtxml.csproj
SccProjectName1 = \u0022$/PROMS/fmtxml\u0022,\u0020URDAAAAA
SccLocalPath1 = .
SccProvider1 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{66A20362-1B7E-4F9D-BABA-86E29EA60994}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{66A20362-1B7E-4F9D-BABA-86E29EA60994}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66A20362-1B7E-4F9D-BABA-86E29EA60994}.Release|Any CPU.ActiveCfg = Release|Any CPU
{66A20362-1B7E-4F9D-BABA-86E29EA60994}.Release|Any CPU.Build.0 = Release|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{652EB5F6-18DD-4F22-9C0B-62EB46613C4D}.Release|Any CPU.Build.0 = Release|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74593BA8-2F88-4FF2-89A6-9FBD358231D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
PROMS/fmtxml/fnpfsg.svg.bak Normal file

Binary file not shown.

View File

@@ -0,0 +1,215 @@
----------------------------------------
Find 'usemeta' (false by default) - format flag on section
C:\Development\fmtall\BGEALNall.xml(12):
C:\Development\fmtall\BGEEOPall.xml(18):
C:\Development\fmtall\BGEOIall.xml(32):
C:\Development\fmtall\BGESTPall.xml(30):
C:\Development\fmtall\CAL1all.xml':
C:\Development\fmtall\CATall.xml':
C:\Development\fmtall\CATBOXall.xml(17):
C:\Development\fmtall\FNPall.xml(28):
C:\Development\fmtall\GPCAall.xml(17):
C:\Development\fmtall\MCGBOXall.xml(21):
C:\Development\fmtall\RGEBCK_00all.xml(10):
C:\Development\fmtall\WCN1all.xml(25):
C:\Development\fmtall\wst1all.xml(36):
----------------------------------------
'showsectiontitles' (false by default) format flag on sectionlayout
C:\Development\fmtall\BGEALNall.xml(32):
C:\Development\fmtall\BGEEOPall.xml(26):
C:\Development\fmtall\BGEOIall.xml(40):
C:\Development\fmtall\BGESTPall.xml(38):
C:\Development\fmtall\CAL1all.xml(39):
C:\Development\fmtall\CATall.xml(25):
C:\Development\fmtall\CATBOXall.xml(25):
C:\Development\fmtall\FNPall.xml(36):
C:\Development\fmtall\GPCAall.xml(25):
C:\Development\fmtall\IP3_08all.xml(19): (and other subformats)
C:\Development\fmtall\MCGall.xml(29):
C:\Development\fmtall\MCGBOXall.xml(29):
C:\Development\fmtall\NSPARPall.xml(62):
C:\Development\fmtall\NSPFCall.xml(29):
C:\Development\fmtall\NSPIFG2all.xml(27):
C:\Development\fmtall\NSPIFGall.xml(27):
C:\Development\fmtall\NSPPEall.xml(32):
C:\Development\fmtall\RGEBCK_00all.xml(16):
C:\Development\fmtall\TPall.xml(34):
C:\Development\fmtall\WCN1all.xml(39):
C:\Development\fmtall\WCN2all.xml(38):
C:\Development\fmtall\WEP2all.xml(35):
C:\Development\fmtall\WEPSAM2all.xml(25):
C:\Development\fmtall\WEPSAMGall.xml(25):
C:\Development\fmtall\WPSall.xml(31):
C:\Development\fmtall\WPSARPall.xml(59):
C:\Development\fmtall\WPSBCK_00all.xml(61):
C:\Development\fmtall\WPSDOMall.xml(40):
C:\Development\fmtall\WPSOPall.xml(56):
C:\Development\fmtall\wst1all.xml(44):
C:\Development\fmtall\wst2all.xml(28):
C:\Development\fmtall\wstalrall.xml(28):
----------------------------------------
Find 'cancelsection title (true by default) defined on docstyle
C:\Development\fmtall\AEPall.xml(371):
C:\Development\fmtall\AEPAPPRall.xml(227):
C:\Development\fmtall\AEPCHIDall.xml(385):
C:\Development\fmtall\AEPCHID_00all.xml(206):
C:\Development\fmtall\AEPDEVall.xml(234):
C:\Development\fmtall\AEP_00all.xml(206): and other subformats
C:\Development\fmtall\BASEall.xml(505):
C:\Development\fmtall\BGEALNall.xml(371):
C:\Development\fmtall\BGEEOPall.xml(519):
C:\Development\fmtall\BGEEOP_00all.xml(164):
C:\Development\fmtall\BGEOI_00all.xml(314):
C:\Development\fmtall\BGESTPall.xml(590):
C:\Development\fmtall\BGEVLall.xml(328):
C:\Development\fmtall\CAL1all.xml(473):
C:\Development\fmtall\CAL2all.xml(403):
C:\Development\fmtall\CAL2_00all.xml(266):
C:\Development\fmtall\CALBCKall.xml(287):
C:\Development\fmtall\CALOTOall.xml(392):
C:\Development\fmtall\CATADEVall.xml(211):
C:\Development\fmtall\CATall.xml(313):
C:\Development\fmtall\CATBOXall.xml(313):
C:\Development\fmtall\CATDEVall.xml(181):
C:\Development\fmtall\CATEBCKall.xml(237):
C:\Development\fmtall\CPBCK2all.xml(286):
C:\Development\fmtall\CPBCKall.xml(366):
C:\Development\fmtall\CPBCK_00all.xml(188): & other sub
C:\Development\fmtall\CPLAall.xml(258):
C:\Development\fmtall\CPLall.xml(340):
C:\Development\fmtall\CPLRDEVall.xml(173):
C:\Development\fmtall\CPLS2all.xml(333):
C:\Development\fmtall\CPLSall.xml(331):
C:\Development\fmtall\CPLSDEVall.xml(202):
C:\Development\fmtall\CPLSSDDall.xml(319):
C:\Development\fmtall\CPLSSUMall.xml(193):
C:\Development\fmtall\CPL_00all.xml(253): & other sub
C:\Development\fmtall\CWEall.xml(387):
C:\Development\fmtall\CWEDEVall.xml(161):
C:\Development\fmtall\CWERall.xml(371):
C:\Development\fmtall\CWER_00all.xml(199): & other sub
C:\Development\fmtall\EBCKall.xml(231):
C:\Development\fmtall\ELFDEVall.xml(221):
C:\Development\fmtall\ENall.xml(242):
C:\Development\fmtall\ESFDEVall.xml(211):
C:\Development\fmtall\EXCLNall.xml(390):
C:\Development\fmtall\EXCLN_00all.xml(206): & other sub
C:\Development\fmtall\EXEBCKall.xml(270):
C:\Development\fmtall\EXEBCK_00all.xml(163):
C:\Development\fmtall\EXEDEVall.xml(221):
C:\Development\fmtall\FNPall.xml(359):
C:\Development\fmtall\FNPCASall.xml(110):
C:\Development\fmtall\FNPDEVall.xml(303):
C:\Development\fmtall\FNPDEVall.xml(337):
C:\Development\fmtall\FNPEBKall.xml(244):
C:\Development\fmtall\FNP_00all.xml(152): & other sub
C:\Development\fmtall\FPLall.xml(328):
C:\Development\fmtall\FPLBCKall.xml(297):
C:\Development\fmtall\GENall.xml(377):
C:\Development\fmtall\GENDEVall.xml(161):
C:\Development\fmtall\GENPLANall.xml(175):
C:\Development\fmtall\GPCAall.xml(307):
C:\Development\fmtall\GPCall.xml(301):
C:\Development\fmtall\GPCA_00all.xml(179):
C:\Development\fmtall\HLPall.xml(537):
C:\Development\fmtall\HLPDEVall.xml(255):
C:\Development\fmtall\IP2all.xml(254):
C:\Development\fmtall\IP2BCKall.xml(290):
C:\Development\fmtall\IP2DEVall.xml(171):
C:\Development\fmtall\IP2_00all.xml(169): and sub
C:\Development\fmtall\IP3all.xml(192):
C:\Development\fmtall\IP3DEVall.xml(171):
C:\Development\fmtall\IP3DEV_00all.xml(235):
C:\Development\fmtall\IP3_00all.xml(264): & sub
C:\Development\fmtall\MAINGall.xml(154):
C:\Development\fmtall\MCGall.xml(346):
C:\Development\fmtall\MCGBOXall.xml(346):
C:\Development\fmtall\MCGDEVall.xml(181):
C:\Development\fmtall\MCGEBCKall.xml(234):
C:\Development\fmtall\NSPABall.xml(358):
C:\Development\fmtall\NSPAB_00all.xml(206): & sub
C:\Development\fmtall\NSPall.xml(318):
C:\Development\fmtall\NSPARPall.xml(394):
C:\Development\fmtall\NSPARP_00all.xml(271):
C:\Development\fmtall\NSPBCKall.xml(198):
C:\Development\fmtall\NSPDEVall.xml(178):
C:\Development\fmtall\NSPEDEVall.xml(229):
C:\Development\fmtall\NSPFCall.xml(262):
C:\Development\fmtall\NSPIFG2all.xml(289):
C:\Development\fmtall\NSPIFGall.xml(289):
C:\Development\fmtall\NSPIFG_00all.xml(188):
C:\Development\fmtall\NSPPEall.xml(265):
C:\Development\fmtall\NSPSAMall.xml(291):
C:\Development\fmtall\NSPWGall.xml(143):
C:\Development\fmtall\NSP_00all.xml(144):
C:\Development\fmtall\OHLPall.xml(313):
C:\Development\fmtall\OHLPall.xml(360):
C:\Development\fmtall\RGEall.xml(257):
C:\Development\fmtall\RGEBCKall.xml(253):
C:\Development\fmtall\RGEBCK_00all.xml(196):
C:\Development\fmtall\RGEDEVall.xml(177):
C:\Development\fmtall\RGESAM1all.xml(242):
C:\Development\fmtall\RGESAM2all.xml(211):
C:\Development\fmtall\RGESMPEall.xml(176):
C:\Development\fmtall\ROBall.xml(382):
C:\Development\fmtall\ROB_00all.xml(270): & other sub
C:\Development\fmtall\SETDEVall.xml(168):
C:\Development\fmtall\SHEall.xml(413):
C:\Development\fmtall\SHEDEVall.xml(208):
C:\Development\fmtall\SHERVSUall.xml(206):
C:\Development\fmtall\SHESSDall.xml(261):
C:\Development\fmtall\SHESSD_00all.xml(111):
C:\Development\fmtall\TPall.xml(445):
C:\Development\fmtall\TPBCK2all.xml(286):
C:\Development\fmtall\TPBCKall.xml(367):
C:\Development\fmtall\TPBCK_00all.xml(188): & sub
C:\Development\fmtall\TP_00all.xml(173):
C:\Development\fmtall\TUECABNall.xml(351):
C:\Development\fmtall\TUECall.xml(311):
C:\Development\fmtall\TUECDEVall.xml(179):
C:\Development\fmtall\VLNCASall.xml(120):
C:\Development\fmtall\WCN1all.xml(473):
C:\Development\fmtall\WCN1all.xml(504):
C:\Development\fmtall\WCN2all.xml(409):
C:\Development\fmtall\WCNBCKall.xml(309):
C:\Development\fmtall\WCNCKLall.xml(316):
C:\Development\fmtall\WCNCLBall.xml(230):
C:\Development\fmtall\WCNDEVall.xml(198):
C:\Development\fmtall\WCNOFBall.xml(301):
C:\Development\fmtall\WEP2all.xml(529):
C:\Development\fmtall\WEPBCKall.xml(432):
C:\Development\fmtall\WEPENBall.xml(369):
C:\Development\fmtall\WEPENB_00all.xml(181): & other
C:\Development\fmtall\WEPSAM2all.xml(518):
C:\Development\fmtall\WEPSAMGall.xml(375):
C:\Development\fmtall\WPBAall.xml(232):
C:\Development\fmtall\WPBall.xml(237):
C:\Development\fmtall\WPB_20all.xml(340): & sub
C:\Development\fmtall\WPSall.xml(392):
C:\Development\fmtall\WPSARPall.xml(365):
C:\Development\fmtall\WPSARP_00all.xml(244):
C:\Development\fmtall\WPSBCKall.xml(360):
C:\Development\fmtall\WPSBCK_00all.xml(268):
C:\Development\fmtall\WPSDEVall.xml(181):
C:\Development\fmtall\WPSDOMall.xml(321):
C:\Development\fmtall\WPSDOM_00all.xml(421): & sub
C:\Development\fmtall\WPSOPall.xml(450): & sub
C:\Development\fmtall\WPSSAMGall.xml(331):
C:\Development\fmtall\WPS_00all.xml(159): & sub
C:\Development\fmtall\wst1all.xml(604):
C:\Development\fmtall\wst2all.xml(511):
C:\Development\fmtall\wstalrall.xml(415):
C:\Development\fmtall\wstcklall.xml(322):
C:\Development\fmtall\backup\WCN2all.xml(407):
Find 'tietabtolevel' (looks like this just determines a different tabstyle, xoffset & width for tabs/text,
used for metasections, uses section number as part of tab)
C:\Development\fmtall\CAL1all.xml(39):
C:\Development\fmtall\RGEBCK_00all.xml(16):
C:\Development\fmtall\WCN1all.xml(39):
C:\Development\fmtall\wst1all.xml(44):

View File

@@ -0,0 +1,207 @@
----------------------------------------
Find 'usemeta' (false by default) - format flag on section
C:\Development\fmtall\BGEALNall.xml(12):
C:\Development\fmtall\BGEEOPall.xml(18):
C:\Development\fmtall\BGEOIall.xml(32):
C:\Development\fmtall\BGESTPall.xml(30):
C:\Development\fmtall\CAL1all.xml':
C:\Development\fmtall\CATall.xml':
C:\Development\fmtall\CATBOXall.xml(17):
C:\Development\fmtall\FNPall.xml(28):
C:\Development\fmtall\GPCAall.xml(17):
C:\Development\fmtall\MCGBOXall.xml(21):
C:\Development\fmtall\RGEBCK_00all.xml(10):
C:\Development\fmtall\WCN1all.xml(25):
C:\Development\fmtall\wst1all.xml(36):
----------------------------------------
'showsectiontitles' (false by default) format flag on sectionlayout
C:\Development\fmtall\BGEALNall.xml(32):
C:\Development\fmtall\BGEEOPall.xml(26):
C:\Development\fmtall\BGEOIall.xml(40):
C:\Development\fmtall\BGESTPall.xml(38):
C:\Development\fmtall\CAL1all.xml(39):
C:\Development\fmtall\CATall.xml(25):
C:\Development\fmtall\CATBOXall.xml(25):
C:\Development\fmtall\FNPall.xml(36):
C:\Development\fmtall\GPCAall.xml(25):
C:\Development\fmtall\IP3_08all.xml(19): (and other subformats)
C:\Development\fmtall\MCGall.xml(29):
C:\Development\fmtall\MCGBOXall.xml(29):
C:\Development\fmtall\NSPARPall.xml(62):
C:\Development\fmtall\NSPFCall.xml(29):
C:\Development\fmtall\NSPIFG2all.xml(27):
C:\Development\fmtall\NSPIFGall.xml(27):
C:\Development\fmtall\NSPPEall.xml(32):
C:\Development\fmtall\RGEBCK_00all.xml(16):
C:\Development\fmtall\TPall.xml(34):
C:\Development\fmtall\WCN1all.xml(39):
C:\Development\fmtall\WCN2all.xml(38):
C:\Development\fmtall\WEP2all.xml(35):
C:\Development\fmtall\WEPSAM2all.xml(25):
C:\Development\fmtall\WEPSAMGall.xml(25):
C:\Development\fmtall\WPSall.xml(31):
C:\Development\fmtall\WPSARPall.xml(59):
C:\Development\fmtall\WPSBCK_00all.xml(61):
C:\Development\fmtall\WPSDOMall.xml(40):
C:\Development\fmtall\WPSOPall.xml(56):
C:\Development\fmtall\wst1all.xml(44):
C:\Development\fmtall\wst2all.xml(28):
C:\Development\fmtall\wstalrall.xml(28):
----------------------------------------
Find 'cancelsection title (true by default) defined on docstyle
C:\Development\fmtall\AEPall.xml(371):
C:\Development\fmtall\AEPAPPRall.xml(227):
C:\Development\fmtall\AEPCHIDall.xml(385):
C:\Development\fmtall\AEPCHID_00all.xml(206):
C:\Development\fmtall\AEPDEVall.xml(234):
C:\Development\fmtall\AEP_00all.xml(206): and other subformats
C:\Development\fmtall\BASEall.xml(505):
C:\Development\fmtall\BGEALNall.xml(371):
C:\Development\fmtall\BGEEOPall.xml(519):
C:\Development\fmtall\BGEEOP_00all.xml(164):
C:\Development\fmtall\BGEOI_00all.xml(314):
C:\Development\fmtall\BGESTPall.xml(590):
C:\Development\fmtall\BGEVLall.xml(328):
C:\Development\fmtall\CAL1all.xml(473):
C:\Development\fmtall\CAL2all.xml(403):
C:\Development\fmtall\CAL2_00all.xml(266):
C:\Development\fmtall\CALBCKall.xml(287):
C:\Development\fmtall\CALOTOall.xml(392):
C:\Development\fmtall\CATADEVall.xml(211):
C:\Development\fmtall\CATall.xml(313):
C:\Development\fmtall\CATBOXall.xml(313):
C:\Development\fmtall\CATDEVall.xml(181):
C:\Development\fmtall\CATEBCKall.xml(237):
C:\Development\fmtall\CPBCK2all.xml(286):
C:\Development\fmtall\CPBCKall.xml(366):
C:\Development\fmtall\CPBCK_00all.xml(188): & other sub
C:\Development\fmtall\CPLAall.xml(258):
C:\Development\fmtall\CPLall.xml(340):
C:\Development\fmtall\CPLRDEVall.xml(173):
C:\Development\fmtall\CPLS2all.xml(333):
C:\Development\fmtall\CPLSall.xml(331):
C:\Development\fmtall\CPLSDEVall.xml(202):
C:\Development\fmtall\CPLSSDDall.xml(319):
C:\Development\fmtall\CPLSSUMall.xml(193):
C:\Development\fmtall\CPL_00all.xml(253): & other sub
C:\Development\fmtall\CWEall.xml(387):
C:\Development\fmtall\CWEDEVall.xml(161):
C:\Development\fmtall\CWERall.xml(371):
C:\Development\fmtall\CWER_00all.xml(199): & other sub
C:\Development\fmtall\EBCKall.xml(231):
C:\Development\fmtall\ELFDEVall.xml(221):
C:\Development\fmtall\ENall.xml(242):
C:\Development\fmtall\ESFDEVall.xml(211):
C:\Development\fmtall\EXCLNall.xml(390):
C:\Development\fmtall\EXCLN_00all.xml(206): & other sub
C:\Development\fmtall\EXEBCKall.xml(270):
C:\Development\fmtall\EXEBCK_00all.xml(163):
C:\Development\fmtall\EXEDEVall.xml(221):
C:\Development\fmtall\FNPall.xml(359):
C:\Development\fmtall\FNPCASall.xml(110):
C:\Development\fmtall\FNPDEVall.xml(303):
C:\Development\fmtall\FNPDEVall.xml(337):
C:\Development\fmtall\FNPEBKall.xml(244):
C:\Development\fmtall\FNP_00all.xml(152): & other sub
C:\Development\fmtall\FPLall.xml(328):
C:\Development\fmtall\FPLBCKall.xml(297):
C:\Development\fmtall\GENall.xml(377):
C:\Development\fmtall\GENDEVall.xml(161):
C:\Development\fmtall\GENPLANall.xml(175):
C:\Development\fmtall\GPCAall.xml(307):
C:\Development\fmtall\GPCall.xml(301):
C:\Development\fmtall\GPCA_00all.xml(179):
C:\Development\fmtall\HLPall.xml(537):
C:\Development\fmtall\HLPDEVall.xml(255):
C:\Development\fmtall\IP2all.xml(254):
C:\Development\fmtall\IP2BCKall.xml(290):
C:\Development\fmtall\IP2DEVall.xml(171):
C:\Development\fmtall\IP2_00all.xml(169): and sub
C:\Development\fmtall\IP3all.xml(192):
C:\Development\fmtall\IP3DEVall.xml(171):
C:\Development\fmtall\IP3DEV_00all.xml(235):
C:\Development\fmtall\IP3_00all.xml(264): & sub
C:\Development\fmtall\MAINGall.xml(154):
C:\Development\fmtall\MCGall.xml(346):
C:\Development\fmtall\MCGBOXall.xml(346):
C:\Development\fmtall\MCGDEVall.xml(181):
C:\Development\fmtall\MCGEBCKall.xml(234):
C:\Development\fmtall\NSPABall.xml(358):
C:\Development\fmtall\NSPAB_00all.xml(206): & sub
C:\Development\fmtall\NSPall.xml(318):
C:\Development\fmtall\NSPARPall.xml(394):
C:\Development\fmtall\NSPARP_00all.xml(271):
C:\Development\fmtall\NSPBCKall.xml(198):
C:\Development\fmtall\NSPDEVall.xml(178):
C:\Development\fmtall\NSPEDEVall.xml(229):
C:\Development\fmtall\NSPFCall.xml(262):
C:\Development\fmtall\NSPIFG2all.xml(289):
C:\Development\fmtall\NSPIFGall.xml(289):
C:\Development\fmtall\NSPIFG_00all.xml(188):
C:\Development\fmtall\NSPPEall.xml(265):
C:\Development\fmtall\NSPSAMall.xml(291):
C:\Development\fmtall\NSPWGall.xml(143):
C:\Development\fmtall\NSP_00all.xml(144):
C:\Development\fmtall\OHLPall.xml(313):
C:\Development\fmtall\OHLPall.xml(360):
C:\Development\fmtall\RGEall.xml(257):
C:\Development\fmtall\RGEBCKall.xml(253):
C:\Development\fmtall\RGEBCK_00all.xml(196):
C:\Development\fmtall\RGEDEVall.xml(177):
C:\Development\fmtall\RGESAM1all.xml(242):
C:\Development\fmtall\RGESAM2all.xml(211):
C:\Development\fmtall\RGESMPEall.xml(176):
C:\Development\fmtall\ROBall.xml(382):
C:\Development\fmtall\ROB_00all.xml(270): & other sub
C:\Development\fmtall\SETDEVall.xml(168):
C:\Development\fmtall\SHEall.xml(413):
C:\Development\fmtall\SHEDEVall.xml(208):
C:\Development\fmtall\SHERVSUall.xml(206):
C:\Development\fmtall\SHESSDall.xml(261):
C:\Development\fmtall\SHESSD_00all.xml(111):
C:\Development\fmtall\TPall.xml(445):
C:\Development\fmtall\TPBCK2all.xml(286):
C:\Development\fmtall\TPBCKall.xml(367):
C:\Development\fmtall\TPBCK_00all.xml(188): & sub
C:\Development\fmtall\TP_00all.xml(173):
C:\Development\fmtall\TUECABNall.xml(351):
C:\Development\fmtall\TUECall.xml(311):
C:\Development\fmtall\TUECDEVall.xml(179):
C:\Development\fmtall\VLNCASall.xml(120):
C:\Development\fmtall\WCN1all.xml(473):
C:\Development\fmtall\WCN1all.xml(504):
C:\Development\fmtall\WCN2all.xml(409):
C:\Development\fmtall\WCNBCKall.xml(309):
C:\Development\fmtall\WCNCKLall.xml(316):
C:\Development\fmtall\WCNCLBall.xml(230):
C:\Development\fmtall\WCNDEVall.xml(198):
C:\Development\fmtall\WCNOFBall.xml(301):
C:\Development\fmtall\WEP2all.xml(529):
C:\Development\fmtall\WEPBCKall.xml(432):
C:\Development\fmtall\WEPENBall.xml(369):
C:\Development\fmtall\WEPENB_00all.xml(181): & other
C:\Development\fmtall\WEPSAM2all.xml(518):
C:\Development\fmtall\WEPSAMGall.xml(375):
C:\Development\fmtall\WPBAall.xml(232):
C:\Development\fmtall\WPBall.xml(237):
C:\Development\fmtall\WPB_20all.xml(340): & sub
C:\Development\fmtall\WPSall.xml(392):
C:\Development\fmtall\WPSARPall.xml(365):
C:\Development\fmtall\WPSARP_00all.xml(244):
C:\Development\fmtall\WPSBCKall.xml(360):
C:\Development\fmtall\WPSBCK_00all.xml(268):
C:\Development\fmtall\WPSDEVall.xml(181):
C:\Development\fmtall\WPSDOMall.xml(321):
C:\Development\fmtall\WPSDOM_00all.xml(421): & sub
C:\Development\fmtall\WPSOPall.xml(450): & sub
C:\Development\fmtall\WPSSAMGall.xml(331):
C:\Development\fmtall\WPS_00all.xml(159): & sub
C:\Development\fmtall\wst1all.xml(604):
C:\Development\fmtall\wst2all.xml(511):
C:\Development\fmtall\wstalrall.xml(415):
C:\Development\fmtall\wstcklall.xml(322):
C:\Development\fmtall\backup\WCN2all.xml(407):

Binary file not shown.

Binary file not shown.