diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 27732d78..d4676111 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -521,6 +521,15 @@ namespace VEPROMS.CSLA.Library return _PDFPageSize == null ? _PDFPageSize = new PDFPageSize(SelectSingleNode("PDFPageSize")) : _PDFPageSize; } } + //C2021-005 Format file grouping containing a list of possible font sizes (used only for table text) + private FontSizes _FontSizes; + public FontSizes FontSizes + { + get + { + return _FontSizes == null ? _FontSizes = new FontSizes(SelectSingleNode("FontSizes")) : _FontSizes; + } + } private SymbolList _SymbolList; public SymbolList SymbolList { @@ -844,6 +853,22 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region FontSizes + // C2021-005 the list of possible font sizes are set in the format files + [TypeConverter(typeof(ExpandableObjectConverter))] + public class FontSizes : vlnFormatItem + { + public FontSizes(XmlNode xmlNode) : base(xmlNode) { } + private LazyLoad _TableFontSizes; + public string TableFontSizes + { + get + { + return LazyLoad(ref _TableFontSizes, "@TableFontSizes"); // C2021-005 list of possible font sizes for table text + } + } + } + #endregion #region Symbols [TypeConverter(typeof(ExpandableObjectConverter))] public class Symbol : vlnFormatItem