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:
parent
29f2d79fed
commit
8284c66da2
@ -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
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user