C2018-039: Upgrade – User Control of Format
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4216
|
||||
// Runtime Version:4.0.30319.34209
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -19,7 +19,7 @@ namespace VEPROMS.Properties {
|
||||
// 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
@@ -60,6 +60,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Admin {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Admin", resourceCulture);
|
||||
@@ -67,6 +70,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap EnvelopeHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("EnvelopeHS", resourceCulture);
|
||||
@@ -74,6 +80,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GoToParentFolderHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GoToParentFolderHS", resourceCulture);
|
||||
@@ -81,6 +90,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GotoShortcutsHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GotoShortcutsHS", resourceCulture);
|
||||
@@ -88,6 +100,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GotoTrans {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GotoTrans", resourceCulture);
|
||||
@@ -95,6 +110,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Help_Image {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Help_Image", resourceCulture);
|
||||
@@ -102,6 +120,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap HelpAbout_Image {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("HelpAbout_Image", resourceCulture);
|
||||
@@ -109,6 +130,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap HelpDoc_Image {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("HelpDoc_Image", resourceCulture);
|
||||
@@ -116,6 +140,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap InsertAfter {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("InsertAfter", resourceCulture);
|
||||
@@ -123,6 +150,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ProtectFormHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ProtectFormHS", resourceCulture);
|
||||
@@ -130,6 +160,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ProtectFormHS1 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ProtectFormHS1", resourceCulture);
|
||||
@@ -137,6 +170,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap PushpinStick {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("PushpinStick", resourceCulture);
|
||||
@@ -144,6 +180,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap PushpinUnStick {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("PushpinUnStick", resourceCulture);
|
||||
@@ -151,6 +190,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Red_V_txt_NB_bur_1984 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Red_V_txt_NB_bur_1984", resourceCulture);
|
||||
@@ -158,6 +200,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap RenameFolderHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("RenameFolderHS", resourceCulture);
|
||||
@@ -165,6 +210,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Save {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Save", resourceCulture);
|
||||
@@ -172,6 +220,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap SaveAllHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("SaveAllHS", resourceCulture);
|
||||
@@ -179,6 +230,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap SaveAs {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("SaveAs", resourceCulture);
|
||||
@@ -186,6 +240,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Separator {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Separator", resourceCulture);
|
||||
@@ -193,6 +250,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap UnProtectFormHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("UnProtectFormHS", resourceCulture);
|
||||
@@ -200,6 +260,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon veproms {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("veproms", resourceCulture);
|
||||
@@ -207,6 +270,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ViewThumbnailsHS {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ViewThumbnailsHS", resourceCulture);
|
||||
@@ -214,6 +280,9 @@ namespace VEPROMS.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap VolianWeb_Image {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("VolianWeb_Image", resourceCulture);
|
||||
|
@@ -398,5 +398,17 @@ namespace VEPROMS.Properties {
|
||||
this["VisioPath"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
public int UCFImportOpt {
|
||||
get {
|
||||
return ((int)(this["UCFImportOpt"]));
|
||||
}
|
||||
set {
|
||||
this["UCFImportOpt"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -98,5 +98,8 @@
|
||||
<Setting Name="VisioPath" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="UCFImportOpt" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
190
PROMS/VEPROMS User Interface/UCFDetails.xsl
Normal file
190
PROMS/VEPROMS User Interface/UCFDetails.xsl
Normal file
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family: verdana;
|
||||
font-size: 14px;
|
||||
padding: 2px;
|
||||
}
|
||||
th {
|
||||
font-family: verdana;
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>User Control of Format Details</h1>
|
||||
<h4><xsl:value-of select="FormatConfig/@Name"/> - <xsl:value-of select="FormatConfig/@Description"/></h4>
|
||||
<xsl:for-each select="//FormatData/*">
|
||||
<xsl:apply-templates select="."/>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="//DocStyles">
|
||||
<xsl:apply-templates select="."/>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="Flags">
|
||||
<xsl:if test="*">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Flag</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
<xsl:for-each select="*">
|
||||
<tr>
|
||||
<td bgcolor="honeydew"><xsl:value-of select="name()"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="."/></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="CheckOffHeaderList">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Check Off Heading</th>
|
||||
<th>Active</th>
|
||||
</tr>
|
||||
<xsl:for-each select="CheckOffHeader">
|
||||
<tr>
|
||||
<td bgcolor="honeydew">
|
||||
<xsl:value-of select="@CheckOffHeading"/>
|
||||
</td>
|
||||
<td bgcolor="lemonchiffon" align="right">
|
||||
<xsl:value-of select="Active"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="CheckOffList">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Check Off Type</th>
|
||||
<th>Active</th>
|
||||
</tr>
|
||||
<xsl:for-each select="CheckOff">
|
||||
<tr>
|
||||
<td bgcolor="honeydew"><xsl:value-of select="@MenuItem"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="Active"/></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="CheckOffXOffAdj">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Check Off X Offset Adjust (Inches)</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="lemonchiffon" align="right">
|
||||
<xsl:value-of select="."/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="ReplaceStrData">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Replace Word</th>
|
||||
<th>Replace With</th>
|
||||
<th>State</th>
|
||||
<th>Flag</th>
|
||||
</tr>
|
||||
<xsl:for-each select="ReplaceStr">
|
||||
<tr>
|
||||
<td bgcolor="honeydew"><xsl:value-of select="@ReplaceWord"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="@ReplaceWith"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@State = 1">
|
||||
<xsl:text>Add</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="@State = 2">
|
||||
<xsl:text>Modify</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>Delete</xsl:text>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="@Flag"/></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="StepData">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Step Type</th>
|
||||
<th>Font</th>
|
||||
</tr>
|
||||
<xsl:for-each select="Step">
|
||||
<tr>
|
||||
<td bgcolor="honeydew"><xsl:value-of select="@Type"/></td>
|
||||
<style>
|
||||
td {
|
||||
font-family: <xsl:value-of select="FontDesc/@Family"/>;
|
||||
}
|
||||
</style>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="FontDesc/@Font"/></td>
|
||||
</tr>
|
||||
<style>
|
||||
td {
|
||||
font-family: verdana;
|
||||
font-size: 14px;
|
||||
padding: 2px;
|
||||
}
|
||||
</style>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<p/>
|
||||
</xsl:template>
|
||||
<xsl:decimal-format name="coerce" NaN=" " />
|
||||
<xsl:template match="DocStyles">
|
||||
<table border="1">
|
||||
<tr bgcolor="#9acd32">
|
||||
<th>Document Style</th>
|
||||
<th>Page Length</th>
|
||||
<th>Left Margin</th>
|
||||
</tr>
|
||||
<xsl:for-each select="DocStyle">
|
||||
<tr>
|
||||
<td bgcolor="honeydew"><xsl:value-of select="@Name"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="format-number(Layout/@PageLength div 72,'##.00','coerce')"/></td>
|
||||
<td bgcolor="lemonchiffon" align="right"><xsl:value-of select="format-number(Layout/@LeftMargin div 72,'##.00','coerce')"/></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
16
PROMS/VEPROMS User Interface/UCFSummary.xsl
Normal file
16
PROMS/VEPROMS User Interface/UCFSummary.xsl
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
|
||||
<xsl:template match="/">
|
||||
|
||||
<xsl:for-each select="//FormatData/*|//DocStyles/*">
|
||||
<xsl:if test="*">
|
||||
<xsl:value-of select="name()"/>
|
||||
<xsl:if test="position() != last()">,</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
Reference in New Issue
Block a user