From d82a57f7511add6dc86890e22e516bedf29c0698 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 23 Jul 2015 14:38:36 +0000 Subject: [PATCH] Added Greek symbols Commented out code that is not used --- PROMS/Formats/fmtall/BASEall.xml | Bin 74910 -> 77812 bytes .../VEPROMS.CSLA.Library/Extension/FontTab.cs | 122 +++++++++--------- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/PROMS/Formats/fmtall/BASEall.xml b/PROMS/Formats/fmtall/BASEall.xml index a5c24887f3ee08593389aedbc2810b11d8ae719d..666bef4921dae4deb162716a29509815596a6e95 100644 GIT binary patch delta 1207 zcmZ`(O=}ZT6g}h2n8c36+Qbk-z_@TBf}JynF9C=iWOXzBqq=IeXjo=&RkZ zM*Hs08TyfqM}ISW7CrPV+FVPt%f#wxQ80~ z?u_NrXvw&WF!tPq8X--os1u-J8va23-UC=1ER^H(#Nz<{>n6bBlBLd1s$7tAXn3+jNJb zbWHEqiRqL>*WH`6@AdMLf!j;^JW(%3(0ee%MpBhgeQQ@vpgP|n|3wtza&!vgHLPR# SeQnChzd6W$I>=f-bN>JZG1oBw delta 191 zcmexzpJm=jmJLv(4$WRPqD@>j!;yC%2ga{5< zUP=4SJ?tA8fri9PJ|`Lgw321A182fyKgod23pn2~@|QB?F=PWV$m~1@)5!~kEho1L U*G*rb&&bj&A-!Efn(>YZ0A2(+%K!iX diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/FontTab.cs b/PROMS/VEPROMS.CSLA.Library/Extension/FontTab.cs index 10f70fc8..71618376 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/FontTab.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/FontTab.cs @@ -4,66 +4,66 @@ using System.Text; namespace VEPROMS.CSLA.Library { - public static class FontTab - { - private static Dictionary FontIndx = null; - // This dictionary takes a color name and converts it to the rtf string: - private static Dictionary FontRtf = null; - public enum E_Fonts : int - { - None = 0, PrestigeEliteTall = 64, CourierNew = 2, TimesNewRoman = 0, LetterGothic = 66, Arial = 202, VolianDraw = 70, GothicUltra = 63, LetterGothicTall = 67, VolianScript = 71, ArialUnicode = 35 - } - #region FontIndex - /// - /// GetIndex - Use this to get the number of the font in the font table based on the input - /// string. - /// - /// - /// - public static int GetIndex(string font) - { - // if the dictionary hasn't been set yet, - if (FontIndx==null) - { - FontIndx = new Dictionary(); - FontIndx["Prestige Elite Tall"] = 64; - FontIndx["Courier New"] = 2; - FontIndx["Times New Roman"] = 0; - FontIndx["Letter Gothic"] = 66; - FontIndx["Arial"] = 202; - FontIndx["Volian Draw"] = 70; - FontIndx["Gothic Ultra"] = 63; - FontIndx["Letter Gothic Tall"] = 67; - FontIndx["VolianScript"] = 71; - FontIndx["Arial Unicode"] = 35; + //public static class FontTab + //{ + // private static Dictionary FontIndx = null; + // // This dictionary takes a color name and converts it to the rtf string: + // private static Dictionary FontRtf = null; + // public enum E_Fonts : int + // { + // None = 0, PrestigeEliteTall = 64, CourierNew = 2, TimesNewRoman = 0, LetterGothic = 66, Arial = 202, VolianDraw = 70, GothicUltra = 63, LetterGothicTall = 67, VolianScript = 71, ArialUnicode = 35 + // } + // #region FontIndex + // /// + // /// GetIndex - Use this to get the number of the font in the font table based on the input + // /// string. + // /// + // /// + // /// + // public static int GetIndex(string font) + // { + // // if the dictionary hasn't been set yet, + // if (FontIndx==null) + // { + // FontIndx = new Dictionary(); + // FontIndx["Prestige Elite Tall"] = 64; + // FontIndx["Courier New"] = 2; + // FontIndx["Times New Roman"] = 0; + // FontIndx["Letter Gothic"] = 66; + // FontIndx["Arial"] = 202; + // FontIndx["Volian Draw"] = 70; + // FontIndx["Gothic Ultra"] = 63; + // FontIndx["Letter Gothic Tall"] = 67; + // FontIndx["VolianScript"] = 71; + // FontIndx["Arial Unicode"] = 35; - } - return FontIndx[font]; - } - #endregion - #region ColorRtf - /// - /// GetTableString - Use this to get the string to add to font table based on the input - /// string. - /// - public static string GetTableString(string font) - { - if (FontRtf == null) - { - FontRtf = new Dictionary(); - FontRtf["Prestige Elite Tall"] = "{\\f64\\fmodern\\fcharset2\\fprq1 Prestige Elite Tall;}"; - FontRtf["Courier New"] = "{\\f2\\fmodern\\fcharset0\\fprq1 Courier New;}"; - FontRtf["Times New Roman"] = "{\\f0\\froman\\fcharset0\\fprq2 Times New Roman;}"; - FontRtf["Letter Gothic"] = "{\\f66\\fmodern\\fcharset2\\fprq1 Letter Gothic;}"; - FontRtf["Arial"] = "{\\f1\\fswiss\\fcharset0\\fprq2 Arial;}"; - FontRtf["Volian Draw"] = "{\\f70\\fmodern\\fcharset2\\fprq1 VolianDraw;}"; - FontRtf["Gothic Ultra"] = "{\\f63\\fmodern\\fcharset2\\fprq1 Gothic Ultra;}"; - FontRtf["Letter Gothic Tall"] = "{\\f67\\fmodern\\fcharset2\\fprq1 Letter Gothic Tall;}"; - FontRtf["VolianScript"] = "{\\f71\\fswiss\\fcharset2\\fprq2 VolianScript;}"; - FontRtf["Arial Unicode"] = "{\\f35\\fswiss\\fcharset128\\fprq2 Arial Unicode MS;}"; - } - return FontRtf[font]; - } - #endregion - } + // } + // return FontIndx[font]; + // } + // #endregion + // #region ColorRtf + // /// + // /// GetTableString - Use this to get the string to add to font table based on the input + // /// string. + // /// + // public static string GetTableString(string font) + // { + // if (FontRtf == null) + // { + // FontRtf = new Dictionary(); + // FontRtf["Prestige Elite Tall"] = "{\\f64\\fmodern\\fcharset2\\fprq1 Prestige Elite Tall;}"; + // FontRtf["Courier New"] = "{\\f2\\fmodern\\fcharset0\\fprq1 Courier New;}"; + // FontRtf["Times New Roman"] = "{\\f0\\froman\\fcharset0\\fprq2 Times New Roman;}"; + // FontRtf["Letter Gothic"] = "{\\f66\\fmodern\\fcharset2\\fprq1 Letter Gothic;}"; + // FontRtf["Arial"] = "{\\f1\\fswiss\\fcharset0\\fprq2 Arial;}"; + // FontRtf["Volian Draw"] = "{\\f70\\fmodern\\fcharset2\\fprq1 VolianDraw;}"; + // FontRtf["Gothic Ultra"] = "{\\f63\\fmodern\\fcharset2\\fprq1 Gothic Ultra;}"; + // FontRtf["Letter Gothic Tall"] = "{\\f67\\fmodern\\fcharset2\\fprq1 Letter Gothic Tall;}"; + // FontRtf["VolianScript"] = "{\\f71\\fswiss\\fcharset2\\fprq2 VolianScript;}"; + // FontRtf["Arial Unicode"] = "{\\f35\\fswiss\\fcharset128\\fprq2 Arial Unicode MS;}"; + // } + // return FontRtf[font]; + // } + // #endregion + //} }