added code to put a copyright notice in each format file

added code to put a copyright notice in each genmac file
This commit is contained in:
John Jenko 2012-10-25 18:48:42 +00:00
parent 29f2d79fed
commit 8284c66da2
2 changed files with 3 additions and 0 deletions

View File

@ -13,7 +13,9 @@ namespace fmtxml
{
MyPath = path;
XmlDocument xmldoc = new XmlDocument();
XmlComment copyright = xmldoc.CreateComment("Proprietary Information - Copyright 2012 - Volian Enterprises, Inc. All rights reserved.");
XmlElement top = xmldoc.CreateElement("PlantFormat");
xmldoc.AppendChild(copyright);
xmldoc.AppendChild(top);
try
{

View File

@ -161,6 +161,7 @@ namespace fmtxml
private static bool AddSvgPrefix(FileInfo file, StringBuilder sb, bool svg)
{
sb.Append("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n");
sb.Append("<!--Proprietary Information - Copyright 2012 - Volian Enterprises, Inc. All rights reserved.-->\r\n");
sb.Append("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8in\" height=\"10in\" viewBox=\"0 0 576 720\">\r\n");
sb.Append(string.Format(" <desc>{0}</desc>\r\n", file.Name.ToLower().Replace(".rtf", "")));
svg = true;